I have a problem installing Baserow in Docker on Container Station. I have already tried installation using docker compose and docker run.
My yaml file is:
version: "3.4"
services:
baserows:
container_name: baserow
image: baserow/baserow:1.22.1
environment:
BASEROW_PUBLIC_URL: 'https://mydomain.pl'
ports:
- "9980:80"
volumes:
- baserow_data:/baserow/data
volumes:
baserow_date:
I use a reverse proxy on qnap and I have domain redirection to localhost on port 9980. After opening the page, the following message is displayed: “Server error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.”
Every time when starting the container, there is an error connecting to the Postgres SQL database. Below is the content of the logs:
[STARTUP][2024-01-13 00:09:57] Running setup of embedded baserow database.
[POSTGRES_INIT][2024-01-13 00:09:57] Becoming postgres superuser to run setup SQL commands:
[POSTGRES_INIT][2024-01-13 00:09:57]
[POSTGRES_INIT][2024-01-13 00:09:57] PostgreSQL Database directory appears to contain a database; Skipping initialization
[POSTGRES_INIT][2024-01-13 00:09:57]
[STARTUP][2024-01-13 00:09:57] Starting Baserow using addresses https://baserow.nextdrive.pl, if any are https automatically Caddy will attempt to setup HTTPS automatically.
[STARTUP][2024-01-13 00:09:57] Starting all Baserow processes:
2024-01-13 00:09:57,624 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2024-01-13 00:09:57,624 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2024-01-13 00:09:57,624 INFO Included extra file "/baserow/supervisor/includes/enabled/embedded-postgres.conf" during parsing
2024-01-13 00:09:57,624 INFO Included extra file "/baserow/supervisor/includes/enabled/embedded-postgres.conf" during parsing
2024-01-13 00:09:57,624 INFO Included extra file "/baserow/supervisor/includes/enabled/embedded-redis.conf" during parsing
2024-01-13 00:09:57,624 INFO Included extra file "/baserow/supervisor/includes/enabled/embedded-redis.conf" during parsing
2024-01-13 00:09:57,625 INFO supervisord started with pid 1
2024-01-13 00:09:57,625 INFO supervisord started with pid 1
2024-01-13 00:09:58,627 INFO spawned: 'processes' with pid 164
2024-01-13 00:09:58,627 INFO spawned: 'processes' with pid 164
2024-01-13 00:09:58,629 INFO spawned: 'baserow-watcher' with pid 165
2024-01-13 00:09:58,629 INFO spawned: 'baserow-watcher' with pid 165
2024-01-13 00:09:58,630 INFO spawned: 'caddy' with pid 166
2024-01-13 00:09:58,630 INFO spawned: 'caddy' with pid 166
2024-01-13 00:09:58,631 INFO spawned: 'postgresql' with pid 167
2024-01-13 00:09:58,631 INFO spawned: 'postgresql' with pid 167
2024-01-13 00:09:58,633 INFO spawned: 'redis' with pid 168
2024-01-13 00:09:58,633 INFO spawned: 'redis' with pid 168
2024-01-13 00:09:58,634 INFO spawned: 'backend' with pid 169
2024-01-13 00:09:58,634 INFO spawned: 'backend' with pid 169
2024-01-13 00:09:58,635 INFO spawned: 'celeryworker' with pid 170
2024-01-13 00:09:58,635 INFO spawned: 'celeryworker' with pid 170
2024-01-13 00:09:58,636 INFO spawned: 'exportworker' with pid 171
2024-01-13 00:09:58,636 INFO spawned: 'exportworker' with pid 171
2024-01-13 00:09:58,637 INFO spawned: 'webfrontend' with pid 172
2024-01-13 00:09:58,637 INFO spawned: 'webfrontend' with pid 172
2024-01-13 00:09:58,638 INFO spawned: 'beatworker' with pid 173
2024-01-13 00:09:58,638 INFO spawned: 'beatworker' with pid 173
2024-01-13 00:09:58,639 INFO reaped unknown pid 162 (exit status 0)
2024-01-13 00:09:58,639 INFO reaped unknown pid 162 (exit status 0)
[REDIS][2024-01-13 00:09:58] 168:C 13 Jan 2024 00:09:58.708 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
[REDIS][2024-01-13 00:09:58] 168:C 13 Jan 2024 00:09:58.708 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=168, just started
[REDIS][2024-01-13 00:09:58] 168:C 13 Jan 2024 00:09:58.708 # Configuration loaded
[REDIS][2024-01-13 00:09:58] 168:M 13 Jan 2024 00:09:58.711 * Running mode=standalone, port=6379.
[REDIS][2024-01-13 00:09:58] 168:M 13 Jan 2024 00:09:58.712 # Server initialized
[REDIS][2024-01-13 00:09:58] 168:M 13 Jan 2024 00:09:58.714 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[CADDY][2024-01-13 00:09:58] {"level":"info","ts":1705104598.7260764,"msg":"using provided configuration","config_file":"/baserow/caddy/Caddyfile","config_adapter":""}
[CADDY][2024-01-13 00:09:58] {"level":"warn","ts":1705104598.7288978,"msg":"input is not formatted with 'caddy fmt'","adapter":"caddyfile","file":"/baserow/caddy/Caddyfile","line":2}
[CADDY][2024-01-13 00:09:58] {"level":"info","ts":1705104598.7372944,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhost:2019","[::1]:2019","127.0.0.1:2019"]}
[CADDY][2024-01-13 00:09:58] {"level":"info","ts":1705104598.737706,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000256070"}
[CADDY][2024-01-13 00:09:58] {"level":"info","ts":1705104598.7377188,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
[CADDY][2024-01-13 00:09:58] {"level":"info","ts":1705104598.7384148,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/baserow/data/caddy/data/caddy"}
[CADDY][2024-01-13 00:09:58] {"level":"info","ts":1705104598.7384543,"logger":"tls","msg":"finished cleaning storage units"}
[CADDY][2024-01-13 00:09:58] {"level":"info","ts":1705104598.7387342,"msg":"autosaved config (load with --resume flag)","file":"/baserow/data/caddy/config/caddy/autosave.json"}
[BEAT_WORKER][2024-01-13 00:09:58] OTEL_RESOURCE_ATTRIBUTES=service.namespace=Baserow,service.version=1.22.1,deployment.environment=unknown
[POSTGRES][2024-01-13 00:09:58] 2024-01-13 00:09:58.813 UTC [167] LOG: listening on IPv4 address "127.0.0.1", port 5432
[POSTGRES][2024-01-13 00:09:58] 2024-01-13 00:09:58.813 UTC [167] LOG: could not bind IPv6 address "::1": Cannot assign requested address
[POSTGRES][2024-01-13 00:09:59] 2024-01-13 00:09:58.813 UTC [167] HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
[POSTGRES][2024-01-13 00:09:59] 2024-01-13 00:09:59.159 UTC [167] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
[POSTGRES][2024-01-13 00:09:59] 2024-01-13 00:09:59.526 UTC [377] LOG: database system was interrupted; last known up at 2024-01-12 23:19:50 UTC
[BACKEND][2024-01-13 00:09:59] OTEL_RESOURCE_ATTRIBUTES=service.namespace=Baserow,service.version=1.22.1,deployment.environment=unknown
[BACKEND][2024-01-13 00:09:59] Error: Failed to connect to the postgresql database at localhost
[BACKEND][2024-01-13 00:09:59] Please see the error below for more details:
[BACKEND][2024-01-13 00:09:59] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:09:59]
[POSTGRES][2024-01-13 00:09:59] 2024-01-13 00:09:59.532 UTC [378] baserow@baserow FATAL: the database system is starting up
[BACKEND][2024-01-13 00:09:59] Trying again without any DATABASE_OPTIONS:
[BACKEND][2024-01-13 00:09:59] Error: Failed to connect to the postgresql database at localhost without the
[BACKEND][2024-01-13 00:09:59] Please see the error below for more details:
[BACKEND][2024-01-13 00:09:59] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:09:59]
[POSTGRES][2024-01-13 00:10:00] 2024-01-13 00:09:59.564 UTC [379] baserow@baserow FATAL: the database system is starting up
2024-01-13 00:10:00,472 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-01-13 00:10:00,472 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-01-13 00:10:00,472 INFO success: baserow-watcher entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-01-13 00:10:00,472 INFO success: baserow-watcher entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[POSTGRES][2024-01-13 00:10:00] 2024-01-13 00:10:00.471 UTC [377] LOG: database system was not properly shut down; automatic recovery in progress
[POSTGRES][2024-01-13 00:10:01] 2024-01-13 00:10:00.551 UTC [377] LOG: redo starts at 0/31571D0
[BACKEND][2024-01-13 00:10:01] Waiting for PostgreSQL to become available attempt 0/5 ...
[BACKEND][2024-01-13 00:10:01] Error: Failed to connect to the postgresql database at localhost
[BACKEND][2024-01-13 00:10:01] Please see the error below for more details:
[BACKEND][2024-01-13 00:10:01] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:01]
[POSTGRES][2024-01-13 00:10:01] 2024-01-13 00:10:01.736 UTC [386] baserow@baserow FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:01] Trying again without any DATABASE_OPTIONS:
[BACKEND][2024-01-13 00:10:01] Error: Failed to connect to the postgresql database at localhost without the
[BACKEND][2024-01-13 00:10:01] Please see the error below for more details:
[BACKEND][2024-01-13 00:10:01] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:01]
[POSTGRES][2024-01-13 00:10:02] 2024-01-13 00:10:01.741 UTC [387] baserow@baserow FATAL: the database system is starting up
[POSTGRES][2024-01-13 00:10:02] 2024-01-13 00:10:02.330 UTC [377] LOG: redo done at 0/4863F98
[POSTGRES][2024-01-13 00:10:03] 2024-01-13 00:10:02.330 UTC [377] LOG: last completed transaction was at log time 2024-01-12 23:19:56.117531+00
[BACKEND][2024-01-13 00:10:03] Waiting for PostgreSQL to become available attempt 1/5 ...
[BACKEND][2024-01-13 00:10:03] Error: Failed to connect to the postgresql database at localhost
[BACKEND][2024-01-13 00:10:03] Please see the error below for more details:
[BACKEND][2024-01-13 00:10:03] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:03]
[POSTGRES][2024-01-13 00:10:03] 2024-01-13 00:10:03.826 UTC [390] baserow@baserow FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:03] Trying again without any DATABASE_OPTIONS:
[BACKEND][2024-01-13 00:10:03] Error: Failed to connect to the postgresql database at localhost without the
[BACKEND][2024-01-13 00:10:03] Please see the error below for more details:
[BACKEND][2024-01-13 00:10:03] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:03]
[POSTGRES][2024-01-13 00:10:05] 2024-01-13 00:10:03.829 UTC [391] baserow@baserow FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:05] Waiting for PostgreSQL to become available attempt 2/5 ...
[BACKEND][2024-01-13 00:10:05] Error: Failed to connect to the postgresql database at localhost
[BACKEND][2024-01-13 00:10:05] Please see the error below for more details:
[BACKEND][2024-01-13 00:10:05] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:05]
[POSTGRES][2024-01-13 00:10:05] 2024-01-13 00:10:05.951 UTC [394] baserow@baserow FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:05] Trying again without any DATABASE_OPTIONS:
[BACKEND][2024-01-13 00:10:05] Error: Failed to connect to the postgresql database at localhost without the
[BACKEND][2024-01-13 00:10:05] Please see the error below for more details:
[BACKEND][2024-01-13 00:10:05] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:05]
[EXPORT_WORKER][2024-01-13 00:10:06] OTEL_RESOURCE_ATTRIBUTES=service.namespace=Baserow,service.version=1.22.1,deployment.environment=unknown
[EXPORT_WORKER][2024-01-13 00:10:06]
[EXPORT_WORKER][2024-01-13 00:10:06] -------------- export-worker@c407aa3ef4b0 v5.2.7 (dawn-chorus)
[EXPORT_WORKER][2024-01-13 00:10:06] --- ***** -----
[EXPORT_WORKER][2024-01-13 00:10:06] -- ******* ---- Linux-5.10.60-qnap-x86_64-with-glibc2.31 2024-01-13 00:10:06
[EXPORT_WORKER][2024-01-13 00:10:06] - *** --- * ---
[EXPORT_WORKER][2024-01-13 00:10:06] - ** ---------- [config]
[EXPORT_WORKER][2024-01-13 00:10:06] - ** ---------- .> app: baserow:0x7f324c2b7d00
[EXPORT_WORKER][2024-01-13 00:10:06] - ** ---------- .> transport: redis://:**@localhost:6379/0
[EXPORT_WORKER][2024-01-13 00:10:06] - ** ---------- .> results: disabled://
[EXPORT_WORKER][2024-01-13 00:10:06] - *** --- * --- .> concurrency: 1 (prefork)
[EXPORT_WORKER][2024-01-13 00:10:06] -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
[EXPORT_WORKER][2024-01-13 00:10:06] --- ***** -----
[EXPORT_WORKER][2024-01-13 00:10:06] -------------- [queues]
[EXPORT_WORKER][2024-01-13 00:10:06] .> export exchange=export(direct) key=export
[EXPORT_WORKER][2024-01-13 00:10:06]
[EXPORT_WORKER][2024-01-13 00:10:06]
[EXPORT_WORKER][2024-01-13 00:10:06] [tasks]
[EXPORT_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.export.tasks.clean_up_old_jobs
[EXPORT_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.export.tasks.run_export_job
[EXPORT_WORKER][2024-01-13 00:10:06] . baserow.ws.tasks.broadcast_to_users
[EXPORT_WORKER][2024-01-13 00:10:06] . baserow.ws.tasks.broadcast_to_users_individual_payloads
[EXPORT_WORKER][2024-01-13 00:10:06] . baserow.ws.tasks.force_disconnect_users
[EXPORT_WORKER][2024-01-13 00:10:06] . baserow_enterprise.audit_log.tasks.clean_up_audit_log_entries
[EXPORT_WORKER][2024-01-13 00:10:06] . baserow_enterprise.tasks.unsubscribe_subject_from_tables_currently_subscribed_to_task
[EXPORT_WORKER][2024-01-13 00:10:06] . baserow_premium.license.tasks.license_check
[EXPORT_WORKER][2024-01-13 00:10:06] . baserow_premium.usage.tasks.run_calculate_seats
[EXPORT_WORKER][2024-01-13 00:10:06] . djcelery_email_send_multiple
[CELERY_WORKER][2024-01-13 00:10:06] OTEL_RESOURCE_ATTRIBUTES=service.namespace=Baserow,service.version=1.22.1,deployment.environment=unknown
[CELERY_WORKER][2024-01-13 00:10:06]
[CELERY_WORKER][2024-01-13 00:10:06] -------------- default-worker@c407aa3ef4b0 v5.2.7 (dawn-chorus)
[CELERY_WORKER][2024-01-13 00:10:06] --- ***** -----
[CELERY_WORKER][2024-01-13 00:10:06] -- ******* ---- Linux-5.10.60-qnap-x86_64-with-glibc2.31 2024-01-13 00:10:06
[CELERY_WORKER][2024-01-13 00:10:06] - *** --- * ---
[CELERY_WORKER][2024-01-13 00:10:06] - ** ---------- [config]
[CELERY_WORKER][2024-01-13 00:10:06] - ** ---------- .> app: baserow:0x7f0f4d757d30
[CELERY_WORKER][2024-01-13 00:10:06] - ** ---------- .> transport: redis://:**@localhost:6379/0
[CELERY_WORKER][2024-01-13 00:10:06]
[CELERY_WORKER][2024-01-13 00:10:06] [tasks]
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.export.tasks.clean_up_old_jobs
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.export.tasks.run_export_job
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.fields.tasks.run_periodic_fields_updates
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.rows.tasks.clean_up_row_history_entries
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.search.tasks.async_update_tsvector_columns
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.table.tasks.run_row_count_job
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.table.tasks.setup_created_by_and_last_modified_by_column
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.table.tasks.unsubscribe_user_from_tables_when_removed_from_workspace
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.views.tasks._check_for_pending_view_index_updates
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.views.tasks.update_view_index
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.contrib.database.webhooks.tasks.call_webhook
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.core.action.tasks.cleanup_old_actions
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.core.jobs.tasks.clean_up_jobs
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.core.jobs.tasks.run_async_job
[CELERY_WORKER][2024-01-13 00:10:06] . baserow.core.notifications.tasks.beat_send_instant_notifications_summary_by_email
[EXPORT_WORKER][2024-01-13 00:10:06]
[CELERY_WORKER][2024-01-13 00:10:06]
[EXPORT_WORKER][2024-01-13 00:10:06] [2024-01-13 00:10:06,402: INFO/MainProcess] Connected to redis://:**@localhost:6379/0
[CELERY_WORKER][2024-01-13 00:10:06] [2024-01-13 00:10:06,417: INFO/MainProcess] Connected to redis://:**@localhost:6379/0
[EXPORT_WORKER][2024-01-13 00:10:06] [2024-01-13 00:10:06,419: INFO/MainProcess] mingle: searching for neighbors
[CELERY_WORKER][2024-01-13 00:10:06] [2024-01-13 00:10:06,422: INFO/MainProcess] mingle: searching for neighbors
[EXPORT_WORKER][2024-01-13 00:10:06] [2024-01-13 00:10:06,446: WARNING/ForkPoolWorker-1] Not configuring telemetry due to BASEROW_ENABLE_OTEL not being set.
[CELERY_WORKER][2024-01-13 00:10:06] [2024-01-13 00:10:06,454: WARNING/ForkPoolWorker-1] Not configuring telemetry due to BASEROW_ENABLE_OTEL not being set.
[CELERY_WORKER][2024-01-13 00:10:07] [2024-01-13 00:10:06,461: WARNING/ForkPoolWorker-1] 400|2024-01-13 00:10:06.461|INFO|baserow.core.telemetry.telemetry:setup_logging:72 - Logger setup.
[EXPORT_WORKER][2024-01-13 00:10:07] [2024-01-13 00:10:06,455: WARNING/ForkPoolWorker-1] 399|2024-01-13 00:10:06.455|INFO|baserow.core.telemetry.telemetry:setup_logging:72 - Logger setup.
[CELERY_WORKER][2024-01-13 00:10:07] [2024-01-13 00:10:07,429: INFO/MainProcess] mingle: all alone
[EXPORT_WORKER][2024-01-13 00:10:07] [2024-01-13 00:10:07,440: INFO/MainProcess] mingle: all alone
[POSTGRES][2024-01-13 00:10:08] 2024-01-13 00:10:05.956 UTC [395] baserow@baserow FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:08] Waiting for PostgreSQL to become available attempt 3/5 ...
[BACKEND][2024-01-13 00:10:08] Error: Failed to connect to the postgresql database at localhost
[BACKEND][2024-01-13 00:10:08] Please see the error below for more details:
[BACKEND][2024-01-13 00:10:08] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:08]
[POSTGRES][2024-01-13 00:10:08] 2024-01-13 00:10:08.041 UTC [402] baserow@baserow FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:08] Trying again without any DATABASE_OPTIONS:
[BACKEND][2024-01-13 00:10:08] Error: Failed to connect to the postgresql database at localhost without the
[BACKEND][2024-01-13 00:10:08] Please see the error below for more details:
[BACKEND][2024-01-13 00:10:08] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:08]
[BASEROW-WATCHER][2024-01-13 00:10:09] Waiting for Baserow to become available, this might take 30+ seconds...
[POSTGRES][2024-01-13 00:10:10] 2024-01-13 00:10:08.044 UTC [403] baserow@baserow FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:10] Waiting for PostgreSQL to become available attempt 4/5 ...
[BACKEND][2024-01-13 00:10:10] Error: Failed to connect to the postgresql database at localhost
[BACKEND][2024-01-13 00:10:10] Please see the error below for more details:
[BACKEND][2024-01-13 00:10:10] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:10]
[POSTGRES][2024-01-13 00:10:10] 2024-01-13 00:10:10.117 UTC [411] baserow@baserow FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:10] Trying again without any DATABASE_OPTIONS:
[BACKEND][2024-01-13 00:10:10] Error: Failed to connect to the postgresql database at localhost without the
[BACKEND][2024-01-13 00:10:10] Please see the error below for more details:
[BACKEND][2024-01-13 00:10:10] connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is starting up
[BACKEND][2024-01-13 00:10:10]
[BACKEND][2024-01-13 00:10:12] Waiting for PostgreSQL to become available attempt 5/5 ...
2024-01-13 00:10:12,128 INFO exited: backend (exit status 1; not expected)
2024-01-13 00:10:12,128 INFO exited: backend (exit status 1; not expected)
2024-01-13 00:10:12,128 INFO reaped unknown pid 243 (exit status 0)
2024-01-13 00:10:12,128 INFO reaped unknown pid 243 (exit status 0)
[POSTGRES][2024-01-13 00:10:12] 2024-01-13 00:10:10.120 UTC [412] baserow@baserow FATAL: the database system is starting up
2024-01-13 00:10:13,761 INFO spawned: 'backend' with pid 420
2024-01-13 00:10:13,761 INFO spawned: 'backend' with pid 420
[BACKEND][2024-01-13 00:10:13] OTEL_RESOURCE_ATTRIBUTES=service.namespace=Baserow,service.version=1.22.1,deployment.environment=unknown
[BACKEND][2024-01-13 00:10:13] PostgreSQL is available
[BEAT_WORKER][2024-01-13 00:10:14] Sleeping for 15 before starting beat to prevent startup errors.
[BACKEND][2024-01-13 00:10:16] python /baserow/backend/src/baserow/manage.py locked_migrate
[BACKEND][2024-01-13 00:10:16] 2024-01-13 00:10:16.056 | INFO | baserow.core.management.commands.locked_migrate:acquire_lock:54 - Attempting to lock the postgres advisory lock with id: 123456 You can disable using locked_migrate by default and switch back to the non-locking version by setting BASEROW_DISABLE_LOCKED_MIGRATIONS=true
[BEAT_WORKER][2024-01-13 00:10:16] celery beat v5.2.7 (dawn-chorus) is starting.
[BEAT_WORKER][2024-01-13 00:10:16] __ - ... __ - _
[BEAT_WORKER][2024-01-13 00:10:16] LocalTime -> 2024-01-13 00:10:16
[BEAT_WORKER][2024-01-13 00:10:16] Configuration ->
[BEAT_WORKER][2024-01-13 00:10:16] . broker -> redis://:**@localhost:6379/0
[BEAT_WORKER][2024-01-13 00:10:16] . loader -> celery.loaders.app.AppLoader
[BEAT_WORKER][2024-01-13 00:10:16] . scheduler -> redbeat.schedulers.RedBeatScheduler
[BEAT_WORKER][2024-01-13 00:10:16] . redis -> redis://:**@localhost:6379/0
[BEAT_WORKER][2024-01-13 00:10:16] . lock -> `redbeat::lock` 1.33 minutes (80s)
[BEAT_WORKER][2024-01-13 00:10:16] . logfile -> [stderr]@%INFO
[BEAT_WORKER][2024-01-13 00:10:16] . maxinterval -> 20.00 seconds (20s)
[BACKEND][2024-01-13 00:10:16] 2024-01-13 00:10:16.058 | INFO | baserow.core.management.commands.locked_migrate:acquire_lock:65 - Acquired the lock, proceeding with migration.
[BACKEND][2024-01-13 00:10:16] Operations to perform:
[BACKEND][2024-01-13 00:10:16] Apply all migrations: auth, baserow_enterprise, baserow_premium, contenttypes, core, database, db, sessions
[BACKEND][2024-01-13 00:10:16] Clearing Baserow's internal generated model cache...
[BACKEND][2024-01-13 00:10:16] Done clearing cache.
[BACKEND][2024-01-13 00:10:16] Running migrations:
[BACKEND][2024-01-13 00:10:17] No migrations to apply.
[EXPORT_WORKER][2024-01-13 00:10:17] [2024-01-13 00:10:07,451: INFO/MainProcess] export-worker@c407aa3ef4b0 ready.
[EXPORT_WORKER][2024-01-13 00:10:17] [2024-01-13 00:10:17,428: INFO/MainProcess] Task baserow.core.tasks.sync_templates_task[47321b18-6277-451d-ad91-7d43bd0db174] received
[BACKEND][2024-01-13 00:10:17] Submitting the sync templates task to run asynchronously in celery after the migration...
[BACKEND][2024-01-13 00:10:17] Created 150 operations...
[BASEROW-WATCHER][2024-01-13 00:10:19] Waiting for Baserow to become available, this might take 30+ seconds...
[WEBFRONTEND][2024-01-13 00:10:27] ℹ Listening on: http://localhost:3000/
[WEBFRONTEND][2024-01-13 00:10:27]
[WEBFRONTEND][2024-01-13 00:10:27] ERROR connect ECONNREFUSED 127.0.0.1:8000
[WEBFRONTEND][2024-01-13 00:10:27]
[WEBFRONTEND][2024-01-13 00:10:27] at module.exports.AxiosError.from (node_modules/axios/lib/core/AxiosError.js:80:0)
[WEBFRONTEND][2024-01-13 00:10:27] at RedirectableRequest.handleRequestError (node_modules/axios/lib/adapters/http.js:606:0)
[WEBFRONTEND][2024-01-13 00:10:27] at RedirectableRequest.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:27] at eventHandlers.<computed> (node_modules/follow-redirects/index.js:14:24)
[WEBFRONTEND][2024-01-13 00:10:27] at ClientRequest.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:27] at Socket.socketErrorListener (node:_http_client:501:9)
[WEBFRONTEND][2024-01-13 00:10:27] at Socket.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:27] at emitErrorNT (node:internal/streams/destroy:151:8)
[WEBFRONTEND][2024-01-13 00:10:27] at emitErrorCloseNT (node:internal/streams/destroy:116:3)
[WEBFRONTEND][2024-01-13 00:10:27] at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[WEBFRONTEND][2024-01-13 00:10:28]
[WEBFRONTEND][2024-01-13 00:10:28]
[WEBFRONTEND][2024-01-13 00:10:28] ERROR connect ECONNREFUSED 127.0.0.1:8000
[WEBFRONTEND][2024-01-13 00:10:28]
[WEBFRONTEND][2024-01-13 00:10:28] at module.exports.AxiosError.from (node_modules/axios/lib/core/AxiosError.js:80:0)
2024-01-13 00:10:28,988 INFO success: caddy entered RUNNING state, process has stayed up for > than 30 seconds (startsecs)
2024-01-13 00:10:28,988 INFO success: caddy entered RUNNING state, process has stayed up for > than 30 seconds (startsecs)
2024-01-13 00:10:28,988 INFO success: postgresql entered RUNNING state, process has stayed up for > than 30 seconds (startsecs)
2024-01-13 00:10:28,988 INFO success: postgresql entered RUNNING state, process has stayed up for > than 30 seconds (startsecs)
2024-01-13 00:10:28,989 INFO success: exportworker entered RUNNING state, process has stayed up for > than 30 seconds (startsecs)
2024-01-13 00:10:28,989 INFO success: webfrontend entered RUNNING state, process has stayed up for > than 30 seconds (startsecs)
2024-01-13 00:10:28,989 INFO success: webfrontend entered RUNNING state, process has stayed up for > than 30 seconds (startsecs)
[WEBFRONTEND][2024-01-13 00:10:28] at RedirectableRequest.handleRequestError (node_modules/axios/lib/adapters/http.js:606:0)
[WEBFRONTEND][2024-01-13 00:10:28] at RedirectableRequest.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:28] at eventHandlers.<computed> (node_modules/follow-redirects/index.js:14:24)
[WEBFRONTEND][2024-01-13 00:10:28] at ClientRequest.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:28] at Socket.socketErrorListener (node:_http_client:501:9)
[WEBFRONTEND][2024-01-13 00:10:28] at Socket.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:28] at emitErrorNT (node:internal/streams/destroy:151:8)
[WEBFRONTEND][2024-01-13 00:10:28] at emitErrorCloseNT (node:internal/streams/destroy:116:3)
[WEBFRONTEND][2024-01-13 00:10:28] at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[BASEROW-WATCHER][2024-01-13 00:10:29] Waiting for Baserow to become available, this might take 30+ seconds...
[WEBFRONTEND][2024-01-13 00:10:29]
[WEBFRONTEND][2024-01-13 00:10:29]
[WEBFRONTEND][2024-01-13 00:10:29] ERROR connect ECONNREFUSED 127.0.0.1:8000
[WEBFRONTEND][2024-01-13 00:10:29]
[WEBFRONTEND][2024-01-13 00:10:29] at module.exports.AxiosError.from (node_modules/axios/lib/core/AxiosError.js:80:0)
[WEBFRONTEND][2024-01-13 00:10:29] at RedirectableRequest.handleRequestError (node_modules/axios/lib/adapters/http.js:606:0)
[WEBFRONTEND][2024-01-13 00:10:29] at RedirectableRequest.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:29] at eventHandlers.<computed> (node_modules/follow-redirects/index.js:14:24)
[WEBFRONTEND][2024-01-13 00:10:29] at ClientRequest.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:30]
[WEBFRONTEND][2024-01-13 00:10:30]
[WEBFRONTEND][2024-01-13 00:10:30] ERROR connect ECONNREFUSED 127.0.0.1:8000
[WEBFRONTEND][2024-01-13 00:10:30]
[WEBFRONTEND][2024-01-13 00:10:30] at module.exports.AxiosError.from (node_modules/axios/lib/core/AxiosError.js:80:0)
[WEBFRONTEND][2024-01-13 00:10:30] at RedirectableRequest.handleRequestError (node_modules/axios/lib/adapters/http.js:606:0)
[WEBFRONTEND][2024-01-13 00:10:30] at RedirectableRequest.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:30] at eventHandlers.<computed> (node_modules/follow-redirects/index.js:14:24)
[WEBFRONTEND][2024-01-13 00:10:30] at ClientRequest.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:30] at Socket.socketErrorListener (node:_http_client:501:9)
[WEBFRONTEND][2024-01-13 00:10:30] at Socket.emit (node:events:517:28)
[WEBFRONTEND][2024-01-13 00:10:30] at emitErrorNT (node:internal/streams/destroy:151:8)
[EXPORT_WORKER][2024-01-13 00:10:32] Syncing Baserow templates. Disable by setting BASEROW_TRIGGER_SYNC_TEMPLATES_AFTER_MIGRATION=false.: 0%| | 0/95 [00:00<?, ?it/s]