webarena icon indicating copy to clipboard operation
webarena copied to clipboard

Error installation

Open Hodge931 opened this issue 1 year ago • 4 comments

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?

Hodge931 avatar Jul 20 '24 23:07 Hodge931

same error

junleiz avatar Aug 17 '24 12:08 junleiz

+1

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

  • https://github.com/web-arena-x/webarena/tree/main/environment_docker#environment-reset

frt03 avatar Oct 09 '24 07:10 frt03

same error!

Xinyu-Pang avatar Nov 14 '24 08:11 Xinyu-Pang

Same here. Can confirm that @frt03's suggestion works. After following the environment-reset steps and then doing step 5 I managed to overcome the error.

aristizabal95 avatar Mar 05 '25 16:03 aristizabal95