folioman
folioman copied to clipboard
Failing to start
Starting folioman_cache_1 ... done
Starting folioman_ui_1 ... done
Starting folioman_timedb_1 ... done
Starting folioman_api_1 ... done
Starting folioman_worker_1 ... done
Starting folioman_web_1 ... done
Starting folioman_beat_1 ... done
Attaching to folioman_ui_1, folioman_cache_1, folioman_timedb_1, folioman_api_1, folioman_beat_1, folioman_worker_1, folioman_web_1
api_1 | [WARN wait] Environment variable [WAIT_HOSTS_TIMEOUT] is deprecated. Use [WAIT_TIMEOUT] instead.
api_1 | [WARN wait] Environment variable [WAIT_AFTER_HOSTS] is deprecated. Use [WAIT_AFTER] instead.
api_1 | [INFO wait] --------------------------------------------------------
api_1 | [INFO wait] docker-compose-wait 2.9.0
api_1 | [INFO wait] ---------------------------
api_1 | [DEBUG wait] Starting with configuration:
api_1 | [DEBUG wait] - Hosts to be waiting for: [timedb:5432, cache:6379]
api_1 | [DEBUG wait] - Paths to be waiting for: []
api_1 | [DEBUG wait] - Timeout before failure: 60 seconds
api_1 | [DEBUG wait] - TCP connection timeout before retry: 5 seconds
api_1 | [DEBUG wait] - Sleeping time before checking for hosts/paths availability: 0 seconds
api_1 | [DEBUG wait] - Sleeping time once all hosts/paths are available: 5 seconds
api_1 | [DEBUG wait] - Sleeping time between retries: 1 seconds
api_1 | [DEBUG wait] --------------------------------------------------------
api_1 | [INFO wait] Checking availability of host [timedb:5432]
beat_1 | [WARN wait] Environment variable [WAIT_HOSTS_TIMEOUT] is deprecated. Use [WAIT_TIMEOUT] instead.
beat_1 | [WARN wait] Environment variable [WAIT_AFTER_HOSTS] is deprecated. Use [WAIT_AFTER] instead.
beat_1 | [INFO wait] --------------------------------------------------------
beat_1 | [INFO wait] docker-compose-wait 2.9.0
beat_1 | [INFO wait] ---------------------------
beat_1 | [DEBUG wait] Starting with configuration:
beat_1 | [DEBUG wait] - Hosts to be waiting for: [api:8000]
beat_1 | [DEBUG wait] - Paths to be waiting for: []
beat_1 | [DEBUG wait] - Timeout before failure: 60 seconds
beat_1 | [DEBUG wait] - TCP connection timeout before retry: 5 seconds
beat_1 | [DEBUG wait] - Sleeping time before checking for hosts/paths availability: 0 seconds
beat_1 | [DEBUG wait] - Sleeping time once all hosts/paths are available: 5 seconds
beat_1 | [DEBUG wait] - Sleeping time between retries: 1 seconds
beat_1 | [DEBUG wait] --------------------------------------------------------
beat_1 | [INFO wait] Checking availability of host [api:8000]
beat_1 | [INFO wait] Host [api:8000] not yet available...
cache_1 | 1:C 06 Sep 2021 13:15:29.428 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
cache_1 | 1:C 06 Sep 2021 13:15:29.428 # Redis version=6.2.5, bits=64, commit=00000000, modified=0, pid=1, just started
cache_1 | 1:C 06 Sep 2021 13:15:29.428 # Configuration loaded
cache_1 | 1:M 06 Sep 2021 13:15:29.429 * monotonic clock: POSIX clock_gettime
cache_1 | 1:M 06 Sep 2021 13:15:29.431 * Running mode=standalone, port=6379.
cache_1 | 1:M 06 Sep 2021 13:15:29.431 # Server initialized
cache_1 | 1:M 06 Sep 2021 13:15:29.432 * Ready to accept connections
timedb_1 | The files belonging to this database system will be owned by user "postgres".
timedb_1 | This user must also own the server process.
timedb_1 |
timedb_1 | The database cluster will be initialized with locale "en_US.utf8".
timedb_1 | The default database encoding has accordingly been set to "UTF8".
timedb_1 | The default text search configuration will be set to "english".
timedb_1 |
timedb_1 | Data page checksums are disabled.
timedb_1 |
timedb_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
timedb_1 | creating subdirectories ... ok
timedb_1 | selecting dynamic shared memory implementation ... posix
timedb_1 | selecting default max_connections ... 20
timedb_1 | selecting default shared_buffers ... 400kB
timedb_1 | selecting default time zone ... UTC
timedb_1 | creating configuration files ... ok
timedb_1 | running bootstrap script ... 2021-09-06 13:15:30.121 UTC [53] FATAL: data directory "/var/lib/postgresql/data" has invalid permissions
timedb_1 | 2021-09-06 13:15:30.121 UTC [53] DETAIL: Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).
timedb_1 | child process exited with exit code 1
timedb_1 | initdb: removing contents of data directory "/var/lib/postgresql/data"
web_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
web_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
web_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
web_1 | 10-listen-on-ipv6-by-default.sh: info: IPv6 listen already enabled
web_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
web_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
web_1 | /docker-entrypoint.sh: Configuration complete; ready for start up
worker_1 | [WARN wait] Environment variable [WAIT_HOSTS_TIMEOUT] is deprecated. Use [WAIT_TIMEOUT] instead.
worker_1 | [WARN wait] Environment variable [WAIT_AFTER_HOSTS] is deprecated. Use [WAIT_AFTER] instead.
worker_1 | [INFO wait] --------------------------------------------------------
worker_1 | [INFO wait] docker-compose-wait 2.9.0
worker_1 | [INFO wait] ---------------------------
worker_1 | [DEBUG wait] Starting with configuration:
worker_1 | [DEBUG wait] - Hosts to be waiting for: [api:8000]
worker_1 | [DEBUG wait] - Paths to be waiting for: []
worker_1 | [DEBUG wait] - Timeout before failure: 60 seconds
worker_1 | [DEBUG wait] - TCP connection timeout before retry: 5 seconds
worker_1 | [DEBUG wait] - Sleeping time before checking for hosts/paths availability: 0 seconds
worker_1 | [DEBUG wait] - Sleeping time once all hosts/paths are available: 5 seconds
worker_1 | [DEBUG wait] - Sleeping time between retries: 1 seconds
worker_1 | [DEBUG wait] --------------------------------------------------------
worker_1 | [INFO wait] Checking availability of host [api:8000]
worker_1 | [INFO wait] Host [api:8000] not yet available...
api_1 | [INFO wait] Host [timedb:5432] not yet available...
beat_1 | [INFO wait] Host [api:8000] not yet available...
folioman_timedb_1 exited with code 1
worker_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | The files belonging to this database system will be owned by user "postgres".
timedb_1 | This user must also own the server process.
timedb_1 |
timedb_1 | The database cluster will be initialized with locale "en_US.utf8".
timedb_1 | The default database encoding has accordingly been set to "UTF8".
timedb_1 | The default text search configuration will be set to "english".
timedb_1 |
timedb_1 | Data page checksums are disabled.
timedb_1 |
timedb_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
timedb_1 | creating subdirectories ... ok
timedb_1 | selecting dynamic shared memory implementation ... posix
api_1 | [INFO wait] Host [timedb:5432] not yet available...
timedb_1 | selecting default max_connections ... 20
beat_1 | [INFO wait] Host [api:8000] not yet available...
worker_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | selecting default shared_buffers ... 400kB
timedb_1 | selecting default time zone ... UTC
timedb_1 | creating configuration files ... ok
timedb_1 | running bootstrap script ... 2021-09-06 13:15:33.959 UTC [52] FATAL: data directory "/var/lib/postgresql/data" has invalid permissions
timedb_1 | 2021-09-06 13:15:33.959 UTC [52] DETAIL: Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).
timedb_1 | child process exited with exit code 1
timedb_1 | initdb: removing contents of data directory "/var/lib/postgresql/data"
beat_1 | [INFO wait] Host [api:8000] not yet available...
worker_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | The files belonging to this database system will be owned by user "postgres".
timedb_1 | This user must also own the server process.
timedb_1 |
timedb_1 | The database cluster will be initialized with locale "en_US.utf8".
timedb_1 | The default database encoding has accordingly been set to "UTF8".
timedb_1 | The default text search configuration will be set to "english".
timedb_1 |
timedb_1 | Data page checksums are disabled.
timedb_1 |
timedb_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
timedb_1 | creating subdirectories ... ok
timedb_1 | selecting dynamic shared memory implementation ... posix
timedb_1 | selecting default max_connections ... 20
timedb_1 | selecting default shared_buffers ... 400kB
timedb_1 | selecting default time zone ... UTC
timedb_1 | creating configuration files ... ok
timedb_1 | running bootstrap script ... 2021-09-06 13:15:35.468 UTC [54] FATAL: data directory "/var/lib/postgresql/data" has invalid permissions
timedb_1 | 2021-09-06 13:15:35.468 UTC [54] DETAIL: Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).
timedb_1 | child process exited with exit code 1
timedb_1 | initdb: removing contents of data directory "/var/lib/postgresql/data"
beat_1 | [INFO wait] Host [api:8000] not yet available...
worker_1 | [INFO wait] Host [api:8000] not yet available...
folioman_timedb_1 exited with code 1
beat_1 | [INFO wait] Host [api:8000] not yet available...
worker_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | The files belonging to this database system will be owned by user "postgres".
timedb_1 | This user must also own the server process.
timedb_1 |
timedb_1 | The database cluster will be initialized with locale "en_US.utf8".
timedb_1 | The default database encoding has accordingly been set to "UTF8".
timedb_1 | The default text search configuration will be set to "english".
timedb_1 |
timedb_1 | Data page checksums are disabled.
timedb_1 |
timedb_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
timedb_1 | creating subdirectories ... ok
timedb_1 | selecting dynamic shared memory implementation ... posix
timedb_1 | selecting default max_connections ... 20
timedb_1 | selecting default shared_buffers ... 400kB
beat_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | selecting default time zone ... UTC
worker_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | creating configuration files ... ok
timedb_1 | running bootstrap script ... 2021-09-06 13:15:37.774 UTC [52] FATAL: data directory "/var/lib/postgresql/data" has invalid permissions
timedb_1 | 2021-09-06 13:15:37.774 UTC [52] DETAIL: Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).
timedb_1 | child process exited with exit code 1
timedb_1 | initdb: removing contents of data directory "/var/lib/postgresql/data"
folioman_timedb_1 exited with code 1
beat_1 | [INFO wait] Host [api:8000] not yet available...
worker_1 | [INFO wait] Host [api:8000] not yet available...
beat_1 | [INFO wait] Host [api:8000] not yet available...
worker_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | The files belonging to this database system will be owned by user "postgres".
timedb_1 | This user must also own the server process.
timedb_1 |
timedb_1 | The database cluster will be initialized with locale "en_US.utf8".
timedb_1 | The default database encoding has accordingly been set to "UTF8".
timedb_1 | The default text search configuration will be set to "english".
timedb_1 |
timedb_1 | Data page checksums are disabled.
timedb_1 |
timedb_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
timedb_1 | creating subdirectories ... ok
timedb_1 | selecting dynamic shared memory implementation ... posix
timedb_1 | selecting default max_connections ... 20
timedb_1 | selecting default shared_buffers ... 400kB
timedb_1 | selecting default time zone ... UTC
timedb_1 | creating configuration files ... ok
timedb_1 | running bootstrap script ... 2021-09-06 13:15:40.438 UTC [52] FATAL: data directory "/var/lib/postgresql/data" has invalid permissions
timedb_1 | 2021-09-06 13:15:40.438 UTC [52] DETAIL: Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).
timedb_1 | child process exited with exit code 1
timedb_1 | initdb: removing contents of data directory "/var/lib/postgresql/data"
beat_1 | [INFO wait] Host [api:8000] not yet available...
folioman_timedb_1 exited with code 1
worker_1 | [INFO wait] Host [api:8000] not yet available...
beat_1 | [INFO wait] Host [api:8000] not yet available...
worker_1 | [INFO wait] Host [api:8000] not yet available...
beat_1 | [INFO wait] Host [api:8000] not yet available...
worker_1 | [INFO wait] Host [api:8000] not yet available...
beat_1 | [INFO wait] Host [api:8000] not yet available...
worker_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | The files belonging to this database system will be owned by user "postgres".
timedb_1 | This user must also own the server process.
timedb_1 |
timedb_1 | The database cluster will be initialized with locale "en_US.utf8".
timedb_1 | The default database encoding has accordingly been set to "UTF8".
timedb_1 | The default text search configuration will be set to "english".
timedb_1 |
timedb_1 | Data page checksums are disabled.
timedb_1 |
timedb_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
api_1 | [INFO wait] Host [timedb:5432] not yet available...
beat_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | creating subdirectories ... ok
timedb_1 | selecting dynamic shared memory implementation ... posix
worker_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | selecting default max_connections ... 20
timedb_1 | selecting default shared_buffers ... 400kB
timedb_1 | selecting default time zone ... UTC
Gracefully stopping... (press Ctrl+C again to force)
Keep saying 502 bad gateway
Is it stuck here? Can you please try waiting for a while?
timedb_1 | creating subdirectories ... ok
timedb_1 | selecting dynamic shared memory implementation ... posix
worker_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | selecting default max_connections ... 20
timedb_1 | selecting default shared_buffers ... 400kB
timedb_1 | selecting default time zone ... UTC
Gracefully stopping... (press Ctrl+C again to force)
shows that the db service hasn't fully started up.
Yeah i waited for 20 mins the error keeps repeating
timedb_1 | The files belonging to this database system will be owned by user "postgres".
timedb_1 | This user must also own the server process.
timedb_1 |
timedb_1 | The database cluster will be initialized with locale "en_US.utf8".
timedb_1 | The default database encoding has accordingly been set to "UTF8".
timedb_1 | The default text search configuration will be set to "english".
timedb_1 |
timedb_1 | Data page checksums are disabled.
timedb_1 |
timedb_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
timedb_1 | creating subdirectories ... ok
timedb_1 | selecting dynamic shared memory implementation ... posix
timedb_1 | selecting default max_connections ... 20
timedb_1 | selecting default shared_buffers ... 400kB
worker_1 | [INFO wait] Host [api:8000] not yet available...
timedb_1 | selecting default time zone ... UTC
timedb_1 | creating configuration files ... ok
timedb_1 | running bootstrap script ... 2021-09-07 08:58:54.204 UTC [52] FATAL: data directory "/var/lib/postgresql/data" has invalid permissions
timedb_1 | 2021-09-07 08:58:54.204 UTC [52] DETAIL: Permissions should be u=rwx (0700) or u=rwx,g=rx (0750).
timedb_1 | child process exited with exit code 1
timedb_1 | initdb: removing contents of data directory "/var/lib/postgresql/data"
folioman_timedb_1 exited with code 1
data directory "/var/lib/postgresql/data" has invalid permissions
Looks like a permission issue with the folder docker/db/postgres
. Is this happening on a fresh install?
I'll look into it in more detail this week.
Yes its a fresh install
Anything on this ?
Sorry, could not spend much time on this due to other commitments.
I'll upload a fix (with some other updates) by the first week of Feb.
Sorry, could not spend much time on this due to other commitments.
I'll upload a fix (with some other updates) by the first week of Feb.
@codereverser , can you try once this week. if time permits.