Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installation #160

Open
Hodge931 opened this issue Jul 20, 2024 · 3 comments
Open

Error installation #160

Hodge931 opened this issue Jul 20, 2024 · 3 comments

Comments

@Hodge931
Copy link

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
Copy link

leoozy commented Aug 17, 2024

same error

@frt03
Copy link

frt03 commented Oct 9, 2024

+1

【Update】
A possible solution is to run commands for environment-reset and then re-run step 5 again.

@Xinyu-Pang
Copy link

same error!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants