Error installation
Opened this issue · 3 comments
Hodge931 commented
Running 'docker exec gitlab gitlab-ctl reconfigure` gives the following error
ffi-libarchive could not be loaded, libarchive is probably not installed on system, archive_file will not be available
[2024-07-20T23:15:27+00:00] INFO: Started Cinc Zero at chefzero://localhost:1 with repository at /opt/gitlab/embedded (One version per cookbook)
Cinc Client, version 17.10.0
Patents: https://www.chef.io/patents
Infra Phase starting
...
Running handlers:
[2024-07-20T23:17:33+00:00] ERROR: Running exception handlers
Running handlers complete
[2024-07-20T23:17:33+00:00] ERROR: Exception handlers complete
There was an error running gitlab-ctl reconfigure:
database_objects[postgresql] (postgresql::standalone line 29) had an error: RuntimeError: postgresql_user[gitlab] (postgresql::standalone line 21) had an error: RuntimeError: execute[create gitlab postgresql user] (postgresql::standalone line 13) had an error: RuntimeError: Exhausted service checks and database is still not available
Infra Phase failed. 0 resources updated in 02 minutes 06 seconds
[2024-07-20T23:17:33+00:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/cinc-stacktrace.out
[2024-07-20T23:17:33+00:00] FATAL: ---------------------------------------------------------------------------------------
[2024-07-20T23:17:33+00:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
[2024-07-20T23:17:33+00:00] FATAL: ---------------------------------------------------------------------------------------
[2024-07-20T23:17:33+00:00] FATAL: RuntimeError: database_objects[postgresql] (postgresql::standalone line 29) had an error: RuntimeError: postgresql_user[gitlab] (postgresql::standalone line 21) had an error: RuntimeError: execute[create gitlab postgresql user] (postgresql::standalone line 13) had an error: RuntimeError: Exhausted service checks and database is still not available
I am following the instructions and creating a t3a.xlarge instance. How should I solve this problem?
leoozy commented
same error
frt03 commented
+1
【Update】
A possible solution is to run commands for environment-reset
and then re-run step 5
again.
Xinyu-Pang commented
same error!