Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user@server:~/docker/sqlpage$ ./sqlpage.bin -h
- [2023-12-01T10:38:46.271Z DEBUG sqlpage] No .env file found, using only environment variables and configuration files
- [2023-12-01T10:38:46.272Z DEBUG sqlpage] Starting with the following configuration: AppConfig { database_url: "postgres://user:[email protected]:5432/db", max_database_pool_connections: None, database_connection_idle_timeout_seconds: None, database_connection_max_lifetime_seconds: None, sqlite_extensions: [], listen_on: 192.168.1.1:8080, port: None, database_connection_retries: 6, database_connection_acquire_timeout_seconds: 10.0, web_root: "/home/server/docker/sqlpage", allow_exec: false, max_uploaded_file_size: 5242880, https_domain: None, https_certificate_email: None, https_certificate_cache_dir: "/home/server/docker/sqlpage/sqlpage/https", https_acme_directory_url: "https://acme-v02.api.letsencrypt.org/directory" }
- [2023-12-01T10:38:46.272Z DEBUG sqlpage::webserver::database::connect] Connecting to a Postgres database on postgres://user:[email protected]:5432/db
- [2023-12-01T10:38:46.272Z INFO sqlpage::webserver::database::connect] Connecting to database: postgres://user:[email protected]:5432/db
- [2023-12-01T10:38:46.272Z DEBUG sqlpage::webserver::database::connect] Not creating a custom SQL database connection handler because "/home/server/docker/sqlpage/sqlpage/on_connect.sql" does not exist
- [2023-12-01T10:38:46.287Z DEBUG sqlpage::webserver::database::connect] Initialized database pool: Pool {
- size: 1,
- num_idle: 1,
- is_closed: false,
- options: PoolOptions {
- max_connections: 50,
- min_connections: 0,
- connect_timeout: 10s,
- max_lifetime: Some(
- 3600s,
- ),
- idle_timeout: Some(
- 1800s,
- ),
- test_before_acquire: true,
- },
- }
- [2023-12-01T10:38:46.297Z DEBUG sqlpage::filesystem] Using local filesystem only, could not initialize on-database filesystem. You can host sql files directly in your database by creating the following table: CREATE TABLE sqlpage_files(path VARCHAR(255) NOT NULL PRIMARY KEY, contents TEXT, last_modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP);
- The error while trying to use the database file system is: Failed to prepare SQL statement:
- SELECT last_modified >= $1 from sqlpage_files WHERE path = $2 LIMIT 1
- ⬆️
- line 1, character 33: error returned from database: relation "sqlpage_files" does not exist: relation "sqlpage_files" does not exist
- [2023-12-01T10:38:46.297Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("shell"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 3, column: 16 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: component 2: ,
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("SQLpage"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 4, column: 15 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: title 2: ,
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("/"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 5, column: 9 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: link 2: ,
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("en"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 6, column: 10 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: lang 2: ,
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("Welcome to SQLPage"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 7, column: 26 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: description 2: ;
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT 'shell' AS component, 'SQLpage' AS title, '/' AS link, 'en' AS lang, 'Welcome to SQLPage' AS description optimized to {"component": String("shell"), "title": String("SQLpage"), "link": String("/"), "lang": String("en"), "description": String("Welcome to SQLPage")}
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("hero"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 10, column: 15 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: component 2: ,
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("It works !"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 11, column: 18 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: title 2: ,
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("If you can see this, then SQLPage v"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: StringConcat, location: Location { line: 12, column: 43 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: || 1: sqlpage 2: .
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 40
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Function(Function { name: ObjectName([Ident { value: "sqlpage", quote_style: None }, Ident { value: "version", quote_style: None }]), args: [], filter: None, null_treatment: None, over: None, distinct: false, special: false, order_by: [] })
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: StringConcat, location: Location { line: 13, column: 23 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: || 1: ' is running correctly on your server. Congratulations! ' 2: as
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 40
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: StringConcat, location: Location { line: 13, column: 23 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: || 1: ' is running correctly on your server. Congratulations! ' 2: as
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 40
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString(" is running correctly on your server. Congratulations! "))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 14, column: 63 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: description 2: ;
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 14, column: 63 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: description 2: ;
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlpage::webserver::database::sql] Handling builtin function: version
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("text"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 18, column: 15 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: component 2: ,
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("Get started"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 19, column: 19 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: title 2: ;
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT 'text' AS component, 'Get started' AS title optimized to {"component": String("text"), "title": String("Get started")}
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("In order to get started, visit "))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 23, column: 42 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: contents 2: ;
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT 'In order to get started, visit ' AS contents optimized to {"contents": String("In order to get started, visit ")}
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("SQLPage's website"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 24, column: 29 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: contents 2: ,
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("https://sql.ophir.dev/your-first-sql-website/"))
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 25, column: 53 } }
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] 0: as 1: link 2: ,
- [2023-12-01T10:38:46.298Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Value(Boolean(true))
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 26, column: 10 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: italics 2: ;
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT 'SQLPage''s website' AS contents, 'https://sql.ophir.dev/your-first-sql-website/' AS link, true AS italics optimized to {"contents": String("SQLPage's website"), "link": String("https://sql.ophir.dev/your-first-sql-website/"), "italics": Bool(true)}
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString(". You can replace this page's contents by creating a file named "))
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 27, column: 76 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: contents 2: ;
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT '. You can replace this page''s contents by creating a file named ' AS contents optimized to {"contents": String(". You can replace this page's contents by creating a file named ")}
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("index.sql"))
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 28, column: 20 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: contents 2: ,
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Value(Number("1", false))
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 28, column: 35 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: code 2: ;
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT 'index.sql' AS contents, 1 AS code optimized to {"contents": String("index.sql"), "code": Number(1)}
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString(" in the folder where sqlpage is running (current working directory: "))
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 29, column: 79 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: contents 2: ;
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT ' in the folder where sqlpage is running (current working directory: ' AS contents optimized to {"contents": String(" in the folder where sqlpage is running (current working directory: ")}
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Function(Function { name: ObjectName([Ident { value: "sqlpage", quote_style: None }, Ident { value: "current_working_directory", quote_style: None }]), args: [], filter: None, null_treatment: None, over: None, distinct: false, special: false, order_by: [] })
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 30, column: 44 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: contents 2: ,
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Value(Number("1", false))
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 30, column: 59 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: code 2: ;
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlpage::webserver::database::sql] Handling builtin function: current_working_directory
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString(")."))
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 31, column: 13 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: contents 2: ;
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT ').' AS contents optimized to {"contents": String(").")}
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("You can customize your server's [configuration](https://github.com/lovasoa/SQLpage/blob/main/configuration.md)\nby creating a file in `"))
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: StringConcat, location: Location { line: 33, column: 26 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: || 1: sqlpage 2: .
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 40
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Function(Function { name: ObjectName([Ident { value: "sqlpage", quote_style: None }, Ident { value: "current_working_directory", quote_style: None }]), args: [], filter: None, null_treatment: None, over: None, distinct: false, special: false, order_by: [] })
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: StringConcat, location: Location { line: 33, column: 65 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: || 1: '/sqlpage/sqlpage.json`.' 2: as
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 40
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: StringConcat, location: Location { line: 33, column: 65 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: || 1: '/sqlpage/sqlpage.json`.' 2: as
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 40
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("/sqlpage/sqlpage.json`."))
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 33, column: 94 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: contents_md 2: ;
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 33, column: 94 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: contents_md 2: ;
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlpage::webserver::database::sql] Handling builtin function: current_working_directory
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("\nAlternatively, you can create a table called `sqlpage_files` in your database with the following columns: `path`, `contents`, and `last_modified`."))
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 36, column: 149 } }
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] 0: as 1: contents_md 2: ;
- [2023-12-01T10:38:46.299Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:46.299Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT '
- Alternatively, you can create a table called `sqlpage_files` in your database with the following columns: `path`, `contents`, and `last_modified`.' AS contents_md optimized to {"contents_md": String("\nAlternatively, you can create a table called `sqlpage_files` in your database with the following columns: `path`, `contents`, and `last_modified`.")}
- [2023-12-01T10:38:46.299Z DEBUG sqlpage::webserver::database::migrations] Applying migrations from '/home/server/docker/sqlpage/sqlpage/migrations'
- [2023-12-01T10:38:46.300Z INFO sqlpage::webserver::database::migrations] Found 1 migrations:
- [2023-12-01T10:38:46.300Z INFO sqlpage::webserver::database::migrations] [0001] create users table
- [2023-12-01T10:38:46.301Z INFO sqlx::postgres::notice] relation "_sqlx_migrations" already exists, skipping
- [2023-12-01T10:38:46.303Z DEBUG sqlpage] Starting server on 192.168.1.1:8080
- [2023-12-01T10:38:46.303Z INFO actix_server::builder] starting 4 workers
- [2023-12-01T10:38:46.303Z INFO actix_server::server] Actix runtime found; starting in Actix runtime
- [2023-12-01T10:38:46.306Z INFO sqlpage] Server started successfully.
- SQLPage is now running on http://192.168.1.1:8080/
- You can write your website's code in .sql files in /home/server/docker/sqlpage.
- [2023-12-01T10:38:52.710Z DEBUG sqlpage::webserver::http] Processing SQL request: "alert.sql"
- [2023-12-01T10:38:52.710Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.710Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("list"))
- [2023-12-01T10:38:52.710Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "AS", quote_style: None, keyword: AS }), location: Location { line: 1, column: 15 } }
- [2023-12-01T10:38:52.710Z DEBUG sqlparser::parser] 0: AS 1: component 2: ,
- [2023-12-01T10:38:52.710Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.710Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("SQLPage"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "AS", quote_style: None, keyword: AS }), location: Location { line: 1, column: 39 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: AS 1: title 2: ;
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT 'list' AS component, 'SQLPage' AS title optimized to {"component": String("list"), "title": String("SQLPage")}
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("N1"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "AS", quote_style: None, keyword: AS }), location: Location { line: 3, column: 13 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: AS 1: title 2: ;
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT 'N1' AS title optimized to {"title": String("N1")}
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("alert"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 6, column: 26 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: as 1: component 2: ,
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("Error"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 7, column: 26 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: as 1: title 2: ,
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("Your cart is full."))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 8, column: 26 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: as 1: description 2: ,
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("alert-circle"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 9, column: 26 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: as 1: icon 2: ,
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("red"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 10, column: 26 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: as 1: color 2: ;
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT 'alert' AS component, 'Error' AS title, 'Your cart is full.' AS description, 'alert-circle' AS icon, 'red' AS color optimized to {"component": String("alert"), "title": String("Error"), "description": String("Your cart is full."), "icon": String("alert-circle"), "color": String("red")}
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("alert"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "AS", quote_style: None, keyword: AS }), location: Location { line: 13, column: 13 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: AS 1: component 2: ,
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("Missing value update"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "AS", quote_style: None, keyword: AS }), location: Location { line: 14, column: 28 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: AS 1: title 2: ,
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "mac", quote_style: None })
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: DoubleColon, location: Location { line: 15, column: 8 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: :: 1: TEXT 2: ||
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 50
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: StringConcat, location: Location { line: 15, column: 15 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: || 1: ' older than 2 minutes' 2: AS
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 40
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString(" older than 2 minutes"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "AS", quote_style: None, keyword: AS }), location: Location { line: 15, column: 42 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: AS 1: description 2: ,
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "AS", quote_style: None, keyword: AS }), location: Location { line: 15, column: 42 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: AS 1: description 2: ,
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("alert-circle"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "AS", quote_style: None, keyword: AS }), location: Location { line: 16, column: 20 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: AS 1: icon 2: ,
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("red"))
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "AS", quote_style: None, keyword: AS }), location: Location { line: 17, column: 11 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: AS 1: color 2: FROM
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "mac", quote_style: None })
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "HAVING", quote_style: None, keyword: HAVING }), location: Location { line: 22, column: 1 } }
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] 0: HAVING 1: MAX 2: (
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.711Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "created_at", quote_style: None })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: RParen, location: Location { line: 23, column: 19 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: ) 1: < 2: NOW
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Function(Function { name: ObjectName([Ident { value: "MAX", quote_style: None }]), args: [Unnamed(Expr(Identifier(Ident { value: "created_at", quote_style: None })))], filter: None, null_treatment: None, over: None, distinct: false, special: false, order_by: [] })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Lt, location: Location { line: 23, column: 21 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: < 1: NOW 2: (
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 20
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Function(Function { name: ObjectName([Ident { value: "NOW", quote_style: None }]), args: [], filter: None, null_treatment: None, over: None, distinct: false, special: false, order_by: [] })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Minus, location: Location { line: 23, column: 29 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: - 1: INTERVAL 2: '2 minutes'
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 30
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: SemiColon, location: Location { line: 23, column: 51 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: ; 1: select 2: 'table'
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Interval(Interval { value: Value(SingleQuotedString("2 minutes")), leading_field: None, leading_precision: None, last_field: None, fractional_seconds_precision: None })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: SemiColon, location: Location { line: 23, column: 51 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: ; 1: select 2: 'table'
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: SemiColon, location: Location { line: 23, column: 51 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: ; 1: select 2: 'table'
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: SemiColon, location: Location { line: 23, column: 51 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: ; 1: select 2: 'table'
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("table"))
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 26, column: 16 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: as 1: component 2: ,
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Value(Boolean(true))
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 26, column: 35 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: as 1: search 2: ,
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Value(Boolean(true))
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "as", quote_style: None, keyword: AS }), location: Location { line: 26, column: 51 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: as 1: sort 2: ;
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlpage::webserver::database::sql] Optimised a static simple select to avoid a trivial database query: SELECT 'table' AS component, true AS search, true AS sort optimized to {"component": String("table"), "search": Bool(true), "sort": Bool(true)}
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "mac", quote_style: None })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Comma, location: Location { line: 28, column: 8 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: , 1: active1 2: ,
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "active1", quote_style: None })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Comma, location: Location { line: 29, column: 12 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: , 1: active2 2: ,
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "active2", quote_style: None })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Comma, location: Location { line: 30, column: 12 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: , 1: maxgraf 2: ,
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "maxgraf", quote_style: None })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Comma, location: Location { line: 31, column: 12 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: , 1: reactive1 2: ,
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "reactive1", quote_style: None })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Comma, location: Location { line: 32, column: 14 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: , 1: reactive2 2: ,
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "reactive2", quote_style: None })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Comma, location: Location { line: 33, column: 14 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: , 1: TO_CHAR 2: (
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "created_at", quote_style: None })
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: DoubleColon, location: Location { line: 34, column: 23 } }
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] 0: :: 1: timestamp 2: ,
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] next precedence: 50
- [2023-12-01T10:38:52.712Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Comma, location: Location { line: 34, column: 34 } }
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] 0: , 1: 'DD-MM-YYYY HH24:MI:SS' 2: )
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] prefix: Value(SingleQuotedString("DD-MM-YYYY HH24:MI:SS"))
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: RParen, location: Location { line: 34, column: 59 } }
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] 0: ) 1: AS 2: time
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] prefix: Function(Function { name: ObjectName([Ident { value: "TO_CHAR", quote_style: None }]), args: [Unnamed(Expr(Cast { expr: Identifier(Ident { value: "created_at", quote_style: None }), data_type: Timestamp(None, None), format: None })), Unnamed(Expr(Value(SingleQuotedString("DD-MM-YYYY HH24:MI:SS"))))], filter: None, null_treatment: None, over: None, distinct: false, special: false, order_by: [] })
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "AS", quote_style: None, keyword: AS }), location: Location { line: 34, column: 61 } }
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] 0: AS 1: time 2: FROM
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] prefix: Identifier(Ident { value: "id", quote_style: None })
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: Word(Word { value: "DESC", quote_style: None, keyword: DESC }), location: Location { line: 38, column: 8 } }
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] 0: DESC 1: LIMIT 2: 2
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] parsing expr
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] prefix: Value(Number("2", false))
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] get_next_precedence() TokenWithLocation { token: SemiColon, location: Location { line: 39, column: 8 } }
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] 0: ; 1: EOF 2: EOF
- [2023-12-01T10:38:52.713Z DEBUG sqlparser::parser] next precedence: 0
- [2023-12-01T10:38:52.713Z DEBUG sqlpage::webserver::http_request_info] Not parsing POST data from request without known content type
- [2023-12-01T10:38:52.713Z DEBUG sqlpage::webserver::http] Received a request with the following parameters: RequestInfo { path: "/alert.sql", get_variables: {}, post_variables: {}, uploaded_files: {}, headers: {"host": Single("192.168.1.1:8080"), "user-agent": Single("Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"), "pragma": Single("no-cache"), "cache-control": Single("no-cache"), "upgrade-insecure-requests": Single("1"), "accept-encoding": Single("gzip, deflate"), "accept-language": Single("en-US,en;q=0.5"), "accept": Single("text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"), "connection": Single("keep-alive")}, client_ip: Some(10.210.1.8), cookies: {}, basic_auth: None, app_state: AppState }
- [2023-12-01T10:38:52.713Z DEBUG sqlpage::render] Handling header row: {"component":"list","title":"SQLPage"}
- [2023-12-01T10:38:52.713Z DEBUG sqlpage::render] Creating the shell component for the page
- [2023-12-01T10:38:52.713Z DEBUG sqlpage::render] Rendering the shell with properties: null
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering value: Path(Relative(([Named("language")], "language")))
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering helper: "default", params: [PathAndJson { relative_path: Some("font_size"), value: Missing }, PathAndJson { relative_path: None, value: Constant(Number(18)) }], hash: {}
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering helper: "default", params: [PathAndJson { relative_path: Some("title"), value: Missing }, PathAndJson { relative_path: None, value: Constant(String("SQLPage")) }], hash: {}
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering helper: "static_path", params: [PathAndJson { relative_path: None, value: Constant(String("sqlpage.css")) }], hash: {}
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering helper: "each", params: [PathAndJson { relative_path: None, value: Derived(Array []) }], hash: {}
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("font"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering helper: "static_path", params: [PathAndJson { relative_path: None, value: Constant(String("sqlpage.js")) }], hash: {}
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering helper: "each", params: [PathAndJson { relative_path: None, value: Derived(Array []) }], hash: {}
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering value: Path(Relative(([Named("description")], "description")))
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("norobot"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.713Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("refresh"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("theme"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("title"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("title"), value: Context(String("SQLPage"), ["title"]) }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering value: Path(Relative(([Named("title")], "title")))
- [2023-12-01T10:38:52.714Z DEBUG sqlpage::render] <- Processing database row: {"title":"N1"}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("link"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("active"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("color"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("icon"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering value: Path(Relative(([Named("title")], "title")))
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering value: Path(Relative(([Named("description")], "description")))
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("description_md"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("link"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG sqlpage::render] <- Processing database row: {"component":"alert","title":"Error","description":"Your cart is full.","icon":"alert-circle","color":"red"}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "default", params: [PathAndJson { relative_path: Some("color"), value: Context(String("red"), ["color"]) }, PathAndJson { relative_path: None, value: Constant(String("info")) }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("dismissible"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.714Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("important"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.715Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("icon"), value: Context(String("alert-circle"), ["icon"]) }], hash: {}
- [2023-12-01T10:38:52.715Z DEBUG handlebars::render] Rendering helper: "icon_img", params: [PathAndJson { relative_path: Some("icon"), value: Context(String("alert-circle"), ["icon"]) }], hash: {}
- [2023-12-01T10:38:52.715Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("title"), value: Context(String("Error"), ["title"]) }], hash: {}
- [2023-12-01T10:38:52.715Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("important"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.715Z DEBUG handlebars::render] Rendering value: Path(Relative(([Named("title")], "title")))
- [2023-12-01T10:38:52.715Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("description"), value: Context(String("Your cart is full."), ["description"]) }], hash: {}
- [2023-12-01T10:38:52.715Z DEBUG handlebars::render] Rendering value: Path(Relative(([Named("description")], "description")))
- [2023-12-01T10:38:52.715Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("description_md"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.715Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("link"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.715Z DEBUG sqlpage::webserver::database::execute_queries] Acquired a database connection
- [2023-12-01T10:38:52.717Z DEBUG sqlpage::webserver::database::execute_queries] Finished query with result: AnyQueryResult { rows_affected: 0, last_insert_id: None }
- [2023-12-01T10:38:52.717Z DEBUG sqlpage::render] -> Query 1 finished
- [2023-12-01T10:38:52.717Z DEBUG sqlpage::render] <- Processing database row: {"component":"table","search":true,"sort":true}
- [2023-12-01T10:38:52.717Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("dismissible"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.717Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.717Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("search"), value: Context(Bool(true), ["search"]) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG sqlpage::render] <- Processing database row: {"mac":1010000094598,"active1":8560182,"active2":17109032,"maxgraf":0,"reactive1":1780083,"reactive2":2240656,"time":"01-12-2023 11:36:22"}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "each", params: [PathAndJson { relative_path: Some("this"), value: Derived(Object {"mac": Number(1010000094598), "active1": Number(8560182), "active2": Number(17109032), "maxgraf": Number(0), "reactive1": Number(1780083), "reactive2": Number(2240656), "time": String("01-12-2023 11:36:22")}) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("../../sort"), value: Context(Bool(true), ["sort"]) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("../../sort"), value: Context(Bool(true), ["sort"]) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("../../sort"), value: Context(Bool(true), ["sort"]) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("../../sort"), value: Context(Bool(true), ["sort"]) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("../../sort"), value: Context(Bool(true), ["sort"]) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("../../sort"), value: Context(Bool(true), ["sort"]) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("../../sort"), value: Context(Bool(true), ["sort"]) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "delay", params: [], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Relative(([Named("_sqlpage_css_class")], "_sqlpage_css_class")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("_sqlpage_color"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "each", params: [PathAndJson { relative_path: Some("this"), value: Derived(Object {"mac": Number(1010000094598), "active1": Number(8560182), "active2": Number(17109032), "maxgraf": Number(0), "reactive1": Number(1780083), "reactive2": Number(2240656), "time": String("01-12-2023 11:36:22")}) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.718Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG sqlpage::render] <- Processing database row: {"mac":1000700365430,"active1":284904,"active2":262490,"maxgraf":0,"reactive1":52488,"reactive2":46937,"time":"01-12-2023 11:36:20"}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([Named("_sqlpage_css_class")], "_sqlpage_css_class")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("_sqlpage_color"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "each", params: [PathAndJson { relative_path: Some("this"), value: Derived(Object {"mac": Number(1000700365430), "active1": Number(284904), "active2": Number(262490), "maxgraf": Number(0), "reactive1": Number(52488), "reactive2": Number(46937), "time": String("01-12-2023 11:36:20")}) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.719Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(true)) }], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering value: Path(Local((0, "key", "@key")))
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: None, value: Derived(Bool(false)) }], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering value: Path(Relative(([], "this")))
- [2023-12-01T10:38:52.720Z DEBUG sqlpage::webserver::database::execute_queries] Finished query with result: AnyQueryResult { rows_affected: 2, last_insert_id: None }
- [2023-12-01T10:38:52.720Z DEBUG sqlpage::render] -> Query 2 finished
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "flush_delayed", params: [], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "if", params: [PathAndJson { relative_path: Some("footer"), value: Missing }], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG handlebars::render] Rendering helper: "buildinfo", params: [PathAndJson { relative_path: None, value: Constant(String("CARGO_PKG_VERSION")) }], hash: {}
- [2023-12-01T10:38:52.720Z DEBUG sqlpage::webserver::http] Successfully finished rendering the page
- [2023-12-01T10:38:52.720Z INFO actix_web::middleware::logger] 10.210.1.8 "GET /alert.sql HTTP/1.1" 200 3960 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0" 0.010218
- [2023-12-01T10:38:52.737Z INFO actix_web::middleware::logger] 10.210.1.8 "GET /sqlpage.c0217f77774797c7.css HTTP/1.1" 200 102510 "http://192.168.1.1:8080/alert.sql" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0" 0.000251
- [2023-12-01T10:38:52.738Z INFO actix_web::middleware::logger] 10.210.1.8 "GET /sqlpage.bdf62dc5ea395378.js HTTP/1.1" 200 55133 "http://192.168.1.1:8080/alert.sql" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0" 0.000262
- [2023-12-01T10:38:52.762Z INFO actix_web::middleware::logger] 10.210.1.8 "GET /tabler-icons.9fce6d4d8d57d9e6.svg HTTP/1.1" 200 340154 "http://192.168.1.1:8080/alert.sql" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0" 0.008890
- [2023-12-01T10:38:52.985Z DEBUG sqlpage::webserver::http] Serving file: "/favicon.ico"
- [2023-12-01T10:38:52.986Z INFO actix_web::middleware::logger] 10.210.1.8 "GET /favicon.ico HTTP/1.1" 200 136214 "http://192.168.1.1:8080/alert.sql" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0" 0.000536
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement