yrzr / gitlab-ce-arm64v8-docker

Build aarch64 docker image for gitlab-ce
https://hub.docker.com/r/yrzr/gitlab-ce-arm64v8
30 stars 6 forks source link

After restart the docker, gitlab-ce postgres & redis connection issue occurs #4

Closed johnnashautomation closed 1 week ago

johnnashautomation commented 3 months ago

Once I install everything works smootly but after I restart to docker it can not connect to database anymore and I keep in the loop for restarting gitlab-ce

OS macstudio m2 max I don't have dns configuration or firewall settings to block docker

I have checked postgres is up and runing

PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-04-22 11:48:58.018 -05 [1] LOG:  starting PostgreSQL 13.6 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit
LOG:  listening on IPv4 address "0.0.0.0", port 5432
LOG:  listening on IPv6 address "::", port 5432
LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
LOG:  database system was shut down at 2024-04-22 11:48:17 -05
LOG:  database system is ready to accept connections

docker-compose I use

  gitlab:
    image: 'yrzr/gitlab-ce-arm64v8:latest'
    restart: unless-stopped
    hostname: 'gitlab.local'
    container_name: gitlab-ce
    privileged: true
    depends_on:
      - postgresql
    links:
      - postgresql:postgresql
    environment:
      GITLAB_OMNIBUS_CONFIG: |
        external_url 'http://gitlab.local';
        postgresql['enable'] = true;
        gitlab_rails['db_adapter'] = 'postgresql';
        gitlab_rails['db_encoding'] = 'utf8';
        gitlab_rails['db_host'] = 'postgresql';
        gitlab_rails['db_port'] = '5432';
        gitlab_rails['db_username'] = 'gitlab';
        gitlab_rails['db_password'] = 'gitlab';
        gitlab_rails['db_database'] = 'gitlabhq_production';
    ports:
      - "8929:80"
      - "8443:443"
      - "8022:22"
    volumes:
      - ./gitlab-ce-conf:/etc/gitlab
      - ./gitlab-ce-logs:/var/log/gitlab
      - ./gitlab-ce-data:/var/opt/gitlab
    networks:
      - mynetwork
  postgresql:
    restart: unless-stopped
    image: postgres:13.6-alpine
    container_name: gitlab-postgres
    environment:
      - POSTGRES_USER=gitlab
      - POSTGRES_PASSWORD=gitlab
      - POSTGRES_DB=gitlabhq_production
      - TZ=America/Bogota
      - PGDATA=/data
    volumes:
      - ./gitlab-db-data:/data
    ports:
      - "5432:5432"
    networks:
      - mynetwork

After restart docker and restart compose file again and check the docker-ce gitlab-ctl status shows

root@gitlab:/# gitlab-ctl status
run: alertmanager: (pid 340) 85s; run: log: (pid 334) 85s
run: gitaly: (pid 347) 85s; run: log: (pid 337) 85s
run: gitlab-exporter: (pid 353) 85s; run: log: (pid 333) 85s
down: gitlab-kas: 1s, normally up, want up; run: log: (pid 324) 85s
down: gitlab-workhorse: 1s, normally up, want up; run: log: (pid 329) 85s
run: logrotate: (pid 344) 85s; run: log: (pid 328) 85s
run: nginx: (pid 338) 85s; run: log: (pid 313) 85s
run: postgres-exporter: (pid 351) 85s; run: log: (pid 325) 85s
down: postgresql: 1s, normally up, want up; run: log: (pid 330) 85s
run: prometheus: (pid 339) 85s; run: log: (pid 327) 85s
run: puma: (pid 2208) 12s; run: log: (pid 326) 85s
down: redis: 1s, normally up, want up; run: log: (pid 314) 85s
run: redis-exporter: (pid 348) 85s; run: log: (pid 332) 85s
run: sidekiq: (pid 2474) 1s; run: log: (pid 331) 85s
run: sshd: (pid 66) 90s; run: log: (pid 65) 90s

Then I restart the gitlab-ctl but no luck

root@gitlab:/# gitlab-ctl restart gitlab-kas gitlab-workhorse postgresql redis
timeout: down: gitlab-kas: 0s, normally up, want up
root@gitlab:/# gitlab-ctl status
run: alertmanager: (pid 340) 151s; run: log: (pid 334) 151s
run: gitaly: (pid 347) 151s; run: log: (pid 337) 151s
run: gitlab-exporter: (pid 353) 151s; run: log: (pid 333) 151s
down: gitlab-kas: 0s, normally up, want up; run: log: (pid 324) 151s
down: gitlab-workhorse: 0s, normally up, want up; run: log: (pid 329) 151s
run: logrotate: (pid 344) 151s; run: log: (pid 328) 151s
run: nginx: (pid 338) 151s; run: log: (pid 313) 151s
run: postgres-exporter: (pid 351) 151s; run: log: (pid 325) 151s
down: postgresql: 0s, normally up, want up; run: log: (pid 330) 151s
run: prometheus: (pid 339) 151s; run: log: (pid 327) 151s
run: puma: (pid 3996) 5s; run: log: (pid 326) 151s
down: redis: 0s, normally up, want up; run: log: (pid 314) 151s
run: redis-exporter: (pid 348) 151s; run: log: (pid 332) 151s
run: sidekiq: (pid 4118) 0s; run: log: (pid 331) 151s
run: sshd: (pid 66) 156s; run: log: (pid 65) 156s

Logs in gitlab-ce container

==> /var/log/gitlab/postgresql/current <==
2024-04-22_17:14:08.73421 LOG:  starting PostgreSQL 14.11 on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, 64-bit
2024-04-22_17:14:08.73466 LOG:  could not bind Unix address "/var/opt/gitlab/postgresql/.s.PGSQL.5432": Operation not supported
2024-04-22_17:14:08.73473 WARNING:  could not create Unix-domain socket in directory "/var/opt/gitlab/postgresql"
2024-04-22_17:14:08.73480 FATAL:  could not create any Unix-domain sockets
2024-04-22_17:14:08.73550 LOG:  database system is shut down
==> /var/log/gitlab/gitlab-workhorse/current <==
2024-04-22T17:14:09Z INF build_time=20240327.093505 msg=Starting version=v16.10.1
2024-04-22T17:14:09Z fatal error=remove /var/opt/gitlab/gitlab-workhorse/sockets/socket: operation not supported msg=shutting down
==> /var/log/gitlab/sidekiq/current <==
2024-04-22T17:14:09.195Z A worker terminated, shutting down the cluster | severity=INFO
==> /var/log/gitlab/redis/current <==
2024-04-22_17:14:08.99538 36295:C 22 Apr 2024 17:14:08.995 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2024-04-22_17:14:08.99546 36295:C 22 Apr 2024 17:14:08.995 # Redis version=7.0.15, bits=64, commit=f35f36a2, modified=1, pid=36295, just started
2024-04-22_17:14:08.99553 36295:C 22 Apr 2024 17:14:08.995 # Configuration loaded
2024-04-22_17:14:08.99560 36295:M 22 Apr 2024 17:14:08.995 * monotonic clock: POSIX clock_gettime
2024-04-22_17:14:08.99574 36295:M 22 Apr 2024 17:14:08.995 # Failed opening Unix socket: bind: Operation not supported
==> /var/log/gitlab/gitlab-kas/current <==
2024-04-22_17:14:09.02092 {"level":"info","time":"2024-04-22T17:14:09.020Z","msg":"Running KAS gitlab-kas/v16.10.1/8892127a"}
2024-04-22_17:14:09.02158 Program aborted: redis client: dial unix /var/opt/gitlab/redis/redis.socket: connect: operation not supported
==> /var/log/gitlab/postgresql/current <==
2024-04-22_17:14:09.75128 LOG:  starting PostgreSQL 14.11 on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, 64-bit
2024-04-22_17:14:09.75173 LOG:  could not bind Unix address "/var/opt/gitlab/postgresql/.s.PGSQL.5432": Operation not supported
2024-04-22_17:14:09.75179 WARNING:  could not create Unix-domain socket in directory "/var/opt/gitlab/postgresql"
2024-04-22_17:14:09.75186 FATAL:  could not create any Unix-domain sockets
2024-04-22_17:14:09.75265 LOG:  database system is shut down
==> /var/log/gitlab/gitlab-workhorse/current <==
2024-04-22T17:14:10Z INF build_time=20240327.093505 msg=Starting version=v16.10.1
2024-04-22T17:14:10Z fatal error=remove /var/opt/gitlab/gitlab-workhorse/sockets/socket: operation not supported msg=shutting down
==> /var/log/gitlab/puma/current <==
2024-04-22_17:14:10.00772 bundler: failed to load command: puma (/opt/gitlab/embedded/bin/puma)
2024-04-22_17:14:10.00827 /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/puma-6.4.0/lib/puma/binder.rb:186:in `realdirpath': Operation not supported @ realpath_rec - /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket (Errno::ENOTSUP)
2024-04-22_17:14:10.00838   from /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/puma-6.4.0/lib/puma/binder.rb:186:in `block in parse'
2024-04-22_17:14:10.00845   from /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/puma-6.4.0/lib/puma/binder.rb:146:in `each'
2024-04-22_17:14:10.00852   from /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/puma-6.4.0/lib/puma/binder.rb:146:in `parse'
2024-04-22_17:14:10.00858   from /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/puma-6.4.0/lib/puma/runner.rb:168:in `load_and_bind'
2024-04-22_17:14:10.00866   from /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/puma-6.4.0/lib/puma/cluster.rb:359:in `run'
2024-04-22_17:14:10.00872   from /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/puma-6.4.0/lib/puma/launcher.rb:194:in `run'
2024-04-22_17:14:10.00878   from /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/puma-6.4.0/lib/puma/cli.rb:75:in `run'
2024-04-22_17:14:10.00885   from /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/puma-6.4.0/bin/puma:10:in `<top (required)>'
2024-04-22_17:14:10.00890   from /opt/gitlab/embedded/bin/puma:25:in `load'
2024-04-22_17:14:10.00897   from /opt/gitlab/embedded/bin/puma:25:in `<top (required)>'
2024-04-22_17:14:10.00906   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/cli/exec.rb:58:in `load'
2024-04-22_17:14:10.00912   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/cli/exec.rb:58:in `kernel_load'
2024-04-22_17:14:10.00918   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/cli/exec.rb:23:in `run'
2024-04-22_17:14:10.00924   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/cli.rb:451:in `exec'
2024-04-22_17:14:10.00930   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
2024-04-22_17:14:10.00935   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
2024-04-22_17:14:10.00942   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
2024-04-22_17:14:10.00948   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/cli.rb:34:in `dispatch'
2024-04-22_17:14:10.00954   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
2024-04-22_17:14:10.00960   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/cli.rb:28:in `start'
2024-04-22_17:14:10.00966   from /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:28:in `block in <top (required)>'
2024-04-22_17:14:10.00972   from /opt/gitlab/embedded/lib/ruby/site_ruby/3.1.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
2024-04-22_17:14:10.00978   from /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:20:in `<top (required)>'
2024-04-22_17:14:10.00984   from /opt/gitlab/embedded/bin/bundle:25:in `load'
2024-04-22_17:14:10.00990   from /opt/gitlab/embedded/bin/bundle:25:in `<main>'
==> /var/log/gitlab/redis/current <==
2024-04-22_17:14:09.99871 36320:C 22 Apr 2024 17:14:09.998 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2024-04-22_17:14:09.99881 36320:C 22 Apr 2024 17:14:09.998 # Redis version=7.0.15, bits=64, commit=f35f36a2, modified=1, pid=36320, just started
2024-04-22_17:14:09.99890 36320:C 22 Apr 2024 17:14:09.998 # Configuration loaded
2024-04-22_17:14:09.99898 36320:M 22 Apr 2024 17:14:09.998 * monotonic clock: POSIX clock_gettime
2024-04-22_17:14:09.99915 36320:M 22 Apr 2024 17:14:09.999 # Failed opening Unix socket: bind: Operation not supported
==> /var/log/gitlab/gitlab-kas/current <==
2024-04-22_17:14:10.02786 {"level":"info","time":"2024-04-22T17:14:10.027Z","msg":"Running KAS gitlab-kas/v16.10.1/8892127a"}
2024-04-22_17:14:10.02892 Program aborted: redis client: dial unix /var/opt/gitlab/redis/redis.socket: connect: operation not supported
==> /var/log/gitlab/gitlab-rails/production_json.log <==
{"method":"GET","path":"/","format":"html","controller":"RootController","action":"index","status":302,"location":"http://example.org/users/sign_in","time":"2024-04-22T17:14:10.005Z","params":[],"correlation_id":"e5efe73a-d35c-4f17-8640-5fa06409397b","meta.caller_id":"RootController#index","meta.feature_category":"groups_and_projects","meta.client_id":"ip/","request_urgency":"low","target_duration_s":5,"db_count":13,"db_write_count":0,"db_cached_count":0,"db_txn_count":0,"db_replica_txn_count":0,"db_primary_txn_count":0,"db_main_txn_count":0,"db_ci_txn_count":0,"db_main_replica_txn_count":0,"db_ci_replica_txn_count":0,"db_replica_count":0,"db_primary_count":13,"db_main_count":13,"db_ci_count":0,"db_main_replica_count":0,"db_ci_replica_count":0,"db_replica_cached_count":0,"db_primary_cached_count":0,"db_main_cached_count":0,"db_ci_cached_count":0,"db_main_replica_cached_count":0,"db_ci_replica_cached_count":0,"db_replica_wal_count":0,"db_primary_wal_count":0,"db_main_wal_count":0,"db_ci_wal_count":0,"db_main_replica_wal_count":0,"db_ci_replica_wal_count":0,"db_replica_wal_cached_count":0,"db_primary_wal_cached_count":0,"db_main_wal_cached_count":0,"db_ci_wal_cached_count":0,"db_main_replica_wal_cached_count":0,"db_ci_replica_wal_cached_count":0,"db_replica_txn_duration_s":0.0,"db_primary_txn_duration_s":0.0,"db_main_txn_duration_s":0.0,"db_ci_txn_duration_s":0.0,"db_main_replica_txn_duration_s":0.0,"db_ci_replica_txn_duration_s":0.0,"db_replica_duration_s":0.0,"db_primary_duration_s":0.003,"db_main_duration_s":0.003,"db_ci_duration_s":0.0,"db_main_replica_duration_s":0.0,"db_ci_replica_duration_s":0.0,"cpu_s":0.025593,"mem_objects":42145,"mem_bytes":4411208,"mem_mallocs":21520,"mem_total_bytes":6097008,"pid":35973,"worker_id":"puma_master","rate_limiting_gates":[],"db_duration_s":0.00075,"view_duration_s":0.0,"duration_s":0.01409}
==> /var/log/gitlab/postgresql/current <==
2024-04-22_17:14:10.76768 LOG:  starting PostgreSQL 14.11 on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, 64-bit
2024-04-22_17:14:10.76813 LOG:  could not bind Unix address "/var/opt/gitlab/postgresql/.s.PGSQL.5432": Operation not supported
2024-04-22_17:14:10.76820 WARNING:  could not create Unix-domain socket in directory "/var/opt/gitlab/postgresql"
2024-04-22_17:14:10.76827 FATAL:  could not create any Unix-domain sockets
2024-04-22_17:14:10.76907 LOG:  database system is shut down
==> /var/log/gitlab/gitlab-workhorse/current <==
2024-04-22T17:14:11Z INF build_time=20240327.093505 msg=Starting version=v16.10.1
2024-04-22T17:14:11Z fatal error=remove /var/opt/gitlab/gitlab-workhorse/sockets/socket: operation not supported msg=shutting down
==> /var/log/gitlab/puma/current <==
2024-04-22_17:14:10.70972 {"timestamp":"2024-04-22T17:14:10.706Z","pid":36334,"message":"Puma starting in cluster mode..."}
2024-04-22_17:14:10.70988 {"timestamp":"2024-04-22T17:14:10.709Z","pid":36334,"message":"* Puma version: 6.4.0 (ruby 3.1.4-p223) (\"The Eagle of Durango\")"}
2024-04-22_17:14:10.70998 {"timestamp":"2024-04-22T17:14:10.709Z","pid":36334,"message":"*  Min threads: 4"}
2024-04-22_17:14:10.71006 {"timestamp":"2024-04-22T17:14:10.709Z","pid":36334,"message":"*  Max threads: 4"}
2024-04-22_17:14:10.71014 {"timestamp":"2024-04-22T17:14:10.709Z","pid":36334,"message":"*  Environment: production"}
2024-04-22_17:14:10.71021 {"timestamp":"2024-04-22T17:14:10.709Z","pid":36334,"message":"*   Master PID: 36334"}
2024-04-22_17:14:10.71029 {"timestamp":"2024-04-22T17:14:10.709Z","pid":36334,"message":"*      Workers: 2"}
2024-04-22_17:14:10.71037 {"timestamp":"2024-04-22T17:14:10.709Z","pid":36334,"message":"*     Restarts: (✔) hot (✖) phased"}
2024-04-22_17:14:10.71046 {"timestamp":"2024-04-22T17:14:10.709Z","pid":36334,"message":"* Preloading application"}
==> /var/log/gitlab/redis/current <==
2024-04-22_17:14:11.00481 36350:C 22 Apr 2024 17:14:11.004 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2024-04-22_17:14:11.00492 36350:C 22 Apr 2024 17:14:11.004 # Redis version=7.0.15, bits=64, commit=f35f36a2, modified=1, pid=36350, just started
2024-04-22_17:14:11.00500 36350:C 22 Apr 2024 17:14:11.004 # Configuration loaded
2024-04-22_17:14:11.00508 36350:M 22 Apr 2024 17:14:11.005 * monotonic clock: POSIX clock_gettime
2024-04-22_17:14:11.00525 36350:M 22 Apr 2024 17:14:11.005 # Failed opening Unix socket: bind: Operation not supported
==> /var/log/gitlab/gitlab-kas/current <==
2024-04-22_17:14:11.03642 {"level":"info","time":"2024-04-22T17:14:11.036Z","msg":"Running KAS gitlab-kas/v16.10.1/8892127a"}
2024-04-22_17:14:11.03724 Program aborted: redis client: dial unix /var/opt/gitlab/redis/redis.socket: connect: operation not supported
==> /var/log/gitlab/redis-exporter/current <==
2024-04-22_17:14:11.11998 time="2024-04-22T17:14:11Z" level=error msg="Couldn't connect to redis instance (unix:///var/opt/gitlab/redis/redis.socket)"
==> /var/log/gitlab/postgresql/current <==
2024-04-22_17:14:11.78506 LOG:  starting PostgreSQL 14.11 on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, 64-bit
2024-04-22_17:14:11.78552 LOG:  could not bind Unix address "/var/opt/gitlab/postgresql/.s.PGSQL.5432": Operation not supported
2024-04-22_17:14:11.78559 WARNING:  could not create Unix-domain socket in directory "/var/opt/gitlab/postgresql"
2024-04-22_17:14:11.78565 FATAL:  could not create any Unix-domain sockets
2024-04-22_17:14:11.78647 LOG:  database system is shut down
==> /var/log/gitlab/gitlab-workhorse/current <==
2024-04-22T17:14:12Z INF build_time=20240327.093505 msg=Starting version=v16.10.1
2024-04-22T17:14:12Z fatal error=remove /var/opt/gitlab/gitlab-workhorse/sockets/socket: operation not supported msg=shutting down
==> /var/log/gitlab/redis/current <==
2024-04-22_17:14:12.00996 36375:C 22 Apr 2024 17:14:12.009 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2024-04-22_17:14:12.01006 36375:C 22 Apr 2024 17:14:12.009 # Redis version=7.0.15, bits=64, commit=f35f36a2, modified=1, pid=36375, just started
2024-04-22_17:14:12.01012 36375:C 22 Apr 2024 17:14:12.009 # Configuration loaded
2024-04-22_17:14:12.01019 36375:M 22 Apr 2024 17:14:12.010 * monotonic clock: POSIX clock_gettime
2024-04-22_17:14:12.01038 36375:M 22 Apr 2024 17:14:12.010 # Failed opening Unix socket: bind: Operation not supported
==> /var/log/gitlab/gitlab-kas/current <==
2024-04-22_17:14:12.04419 {"level":"info","time":"2024-04-22T17:14:12.044Z","msg":"Running KAS gitlab-kas/v16.10.1/8892127a"}
2024-04-22_17:14:12.04480 Program aborted: redis client: dial unix /var/opt/gitlab/redis/redis.socket: connect: operation not supported
==> /var/log/gitlab/postgresql/current <==
2024-04-22_17:14:12.80278 LOG:  starting PostgreSQL 14.11 on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, 64-bit
2024-04-22_17:14:12.80324 LOG:  could not bind Unix address "/var/opt/gitlab/postgresql/.s.PGSQL.5432": Operation not supported
2024-04-22_17:14:12.80331 WARNING:  could not create Unix-domain socket in directory "/var/opt/gitlab/postgresql"
2024-04-22_17:14:12.80338 FATAL:  could not create any Unix-domain sockets
2024-04-22_17:14:12.80419 LOG:  database system is shut down
==> /var/log/gitlab/gitlab-workhorse/current <==
2024-04-22T17:14:13Z INF build_time=20240327.093505 msg=Starting version=v16.10.1
2024-04-22T17:14:13Z fatal error=remove /var/opt/gitlab/gitlab-workhorse/sockets/socket: operation not supported msg=shutting down
==> /var/log/gitlab/redis/current <==
2024-04-22_17:14:13.01497 36402:C 22 Apr 2024 17:14:13.014 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2024-04-22_17:14:13.01510 36402:C 22 Apr 2024 17:14:13.014 # Redis version=7.0.15, bits=64, commit=f35f36a2, modified=1, pid=36402, just started
2024-04-22_17:14:13.01517 36402:C 22 Apr 2024 17:14:13.014 # Configuration loaded
2024-04-22_17:14:13.01525 36402:M 22 Apr 2024 17:14:13.015 * monotonic clock: POSIX clock_gettime
2024-04-22_17:14:13.01541 36402:M 22 Apr 2024 17:14:13.015 # Failed opening Unix socket: bind: Operation not supported
==> /var/log/gitlab/gitlab-kas/current <==
2024-04-22_17:14:13.05194 {"level":"info","time":"2024-04-22T17:14:13.051Z","msg":"Running KAS gitlab-kas/v16.10.1/8892127a"}
2024-04-22_17:14:13.05341 Program aborted: redis client: dial unix /var/opt/gitlab/redis/redis.socket: connect: operation not supported
==> /var/log/gitlab/gitlab-exporter/current <==
2024-04-22_17:14:12.59589 127.0.0.1 - - [22/Apr/2024:17:14:12 UTC] "GET /database HTTP/1.1" 200 1968
2024-04-22_17:14:12.59603 - -> /database
2024-04-22_17:14:12.63811 2024-04-22 17:14:12 - Errno::ENOTSUP - Operation not supported - connect(2) for /var/opt/gitlab/redis/redis.socket:
2024-04-22_17:14:12.64051   /opt/gitlab/embedded/lib/ruby/3.1.0/socket.rb:1214:in `__connect_nonblock'
2024-04-22_17:14:12.64060   /opt/gitlab/embedded/lib/ruby/3.1.0/socket.rb:1214:in `connect_nonblock'
2024-04-22_17:14:12.64071   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/connection/ruby.rb:209:in `connect'
2024-04-22_17:14:12.64080   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/connection/ruby.rb:300:in `connect'
2024-04-22_17:14:12.64087   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/client.rb:371:in `establish_connection'
2024-04-22_17:14:12.64095   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/client.rb:117:in `block in connect'
2024-04-22_17:14:12.64102   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/client.rb:330:in `with_reconnect'
2024-04-22_17:14:12.64109   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/client.rb:116:in `connect'
2024-04-22_17:14:12.64117   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/client.rb:403:in `ensure_connected'
2024-04-22_17:14:12.64124   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/client.rb:255:in `block in process'
2024-04-22_17:14:12.64132   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/client.rb:342:in `logging'
2024-04-22_17:14:12.64139   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/client.rb:254:in `process'
2024-04-22_17:14:12.64149   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis/client.rb:148:in `call'
2024-04-22_17:14:12.64156   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis.rb:174:in `block in ping'
2024-04-22_17:14:12.64164   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis.rb:70:in `block in synchronize'
2024-04-22_17:14:12.64171   /opt/gitlab/embedded/lib/ruby/3.1.0/monitor.rb:202:in `synchronize'
2024-04-22_17:14:12.64178   /opt/gitlab/embedded/lib/ruby/3.1.0/monitor.rb:202:in `mon_synchronize'
2024-04-22_17:14:12.64186   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis.rb:70:in `synchronize'
2024-04-22_17:14:12.64193   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/redis-4.4.0/lib/redis.rb:173:in `ping'
2024-04-22_17:14:12.64202   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/sidekiq.rb:220:in `block in connected?'
2024-04-22_17:14:12.64209   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sidekiq-6.4.0/lib/sidekiq.rb:100:in `block in redis'
2024-04-22_17:14:12.64217   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/connection_pool-2.2.5/lib/connection_pool.rb:63:in `block (2 levels) in with'
2024-04-22_17:14:12.64224   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/connection_pool-2.2.5/lib/connection_pool.rb:62:in `handle_interrupt'
2024-04-22_17:14:12.64233   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/connection_pool-2.2.5/lib/connection_pool.rb:62:in `block in with'
2024-04-22_17:14:12.64242   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/connection_pool-2.2.5/lib/connection_pool.rb:59:in `handle_interrupt'
2024-04-22_17:14:12.64249   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/connection_pool-2.2.5/lib/connection_pool.rb:59:in `with'
2024-04-22_17:14:12.64256   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sidekiq-6.4.0/lib/sidekiq.rb:97:in `redis'
2024-04-22_17:14:12.64263   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/sidekiq.rb:219:in `connected?'
2024-04-22_17:14:12.64270   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/sidekiq.rb:189:in `block in with_sidekiq'
2024-04-22_17:14:12.64281   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/sidekiq.rb:184:in `synchronize'
2024-04-22_17:14:12.64288   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/sidekiq.rb:184:in `with_sidekiq'
2024-04-22_17:14:12.64295   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/sidekiq.rb:46:in `probe_stats'
2024-04-22_17:14:12.64302   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/prober.rb:18:in `block (3 levels) in probe_all'
2024-04-22_17:14:12.64313   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/prober.rb:17:in `each'
2024-04-22_17:14:12.64320   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/prober.rb:17:in `block (2 levels) in probe_all'
2024-04-22_17:14:12.64327   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/prober.rb:15:in `each'
2024-04-22_17:14:12.64335   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/prober.rb:15:in `block in probe_all'
2024-04-22_17:14:12.64342   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/prober.rb:14:in `each'
2024-04-22_17:14:12.64353   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/prober.rb:14:in `probe_all'
2024-04-22_17:14:12.64361   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/web_exporter.rb:139:in `block (2 levels) in setup_probes'
2024-04-22_17:14:12.64369   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1697:in `call'
2024-04-22_17:14:12.64376   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1697:in `block in compile!'
2024-04-22_17:14:12.64383   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1030:in `block (3 levels) in route!'
2024-04-22_17:14:12.64391   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1049:in `route_eval'
2024-04-22_17:14:12.64399   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1030:in `block (2 levels) in route!'
2024-04-22_17:14:12.64406   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1078:in `block in process_route'
2024-04-22_17:14:12.64414   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1076:in `catch'
2024-04-22_17:14:12.64421   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1076:in `process_route'
2024-04-22_17:14:12.64428   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1028:in `block in route!'
2024-04-22_17:14:12.64435   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1025:in `each'
2024-04-22_17:14:12.64442   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1025:in `route!'
2024-04-22_17:14:12.64449   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1147:in `block in dispatch!'
2024-04-22_17:14:12.64457   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `block in invoke'
2024-04-22_17:14:12.64463   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `catch'
2024-04-22_17:14:12.64469   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `invoke'
2024-04-22_17:14:12.64479   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1142:in `dispatch!'
2024-04-22_17:14:12.64487   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:956:in `block in call!'
2024-04-22_17:14:12.64494   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `block in invoke'
2024-04-22_17:14:12.64501   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `catch'
2024-04-22_17:14:12.64508   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1119:in `invoke'
2024-04-22_17:14:12.64515   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:956:in `call!'
2024-04-22_17:14:12.64522   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:945:in `call'
2024-04-22_17:14:12.64529   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/web_exporter.rb:51:in `call'
2024-04-22_17:14:12.64536   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/rack-2.2.9/lib/rack/logger.rb:17:in `call'
2024-04-22_17:14:12.64547   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/gitlab-exporter-14.3.0/lib/gitlab_exporter/web_exporter.rb:25:in `call'
2024-04-22_17:14:12.64554   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/rack-protection-2.2.4/lib/rack/protection/xss_header.rb:18:in `call'
2024-04-22_17:14:12.64561   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/rack-protection-2.2.4/lib/rack/protection/path_traversal.rb:16:in `call'
2024-04-22_17:14:12.64568   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/rack-protection-2.2.4/lib/rack/protection/json_csrf.rb:26:in `call'
2024-04-22_17:14:12.64576   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/rack-protection-2.2.4/lib/rack/protection/base.rb:50:in `call'
2024-04-22_17:14:12.64583   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/rack-protection-2.2.4/lib/rack/protection/base.rb:50:in `call'
2024-04-22_17:14:12.64590   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/rack-protection-2.2.4/lib/rack/protection/frame_options.rb:31:in `call'
2024-04-22_17:14:12.64597   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/rack-2.2.9/lib/rack/null_logger.rb:11:in `call'
2024-04-22_17:14:12.64604   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'
2024-04-22_17:14:12.64612   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/show_exceptions.rb:22:in `call'
2024-04-22_17:14:12.64619   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:218:in `call'
2024-04-22_17:14:12.64626   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:2004:in `call'
2024-04-22_17:14:12.64636   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1564:in `block in call'
2024-04-22_17:14:12.64642   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1780:in `synchronize'
2024-04-22_17:14:12.64649   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/sinatra-2.2.4/lib/sinatra/base.rb:1564:in `call'
2024-04-22_17:14:12.64658   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/rack-2.2.9/lib/rack/handler/webrick.rb:95:in `service'
2024-04-22_17:14:12.64666   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:140:in `service'
2024-04-22_17:14:12.64676   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:96:in `run'
2024-04-22_17:14:12.64685   /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread'
2024-04-22_17:14:12.65291 127.0.0.1 - - [22/Apr/2024:17:14:12 UTC] "GET /sidekiq HTTP/1.1" 500 227041
2024-04-22_17:14:12.65308 - -> /sidekiq
==> /var/log/gitlab/postgresql/current <==
2024-04-22_17:14:13.81989 LOG:  starting PostgreSQL 14.11 on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, 64-bit
2024-04-22_17:14:13.82081 LOG:  could not bind Unix address "/var/opt/gitlab/postgresql/.s.PGSQL.5432": Operation not supported
2024-04-22_17:14:13.82095 WARNING:  could not create Unix-domain socket in directory "/var/opt/gitlab/postgresql"
2024-04-22_17:14:13.82104 FATAL:  could not create any Unix-domain sockets
2024-04-22_17:14:13.82191 LOG:  database system is shut down
==> /var/log/gitlab/gitlab-workhorse/current <==
2024-04-22T17:14:14Z INF build_time=20240327.093505 msg=Starting version=v16.10.1
2024-04-22T17:14:14Z fatal error=remove /var/opt/gitlab/gitlab-workhorse/sockets/socket: operation not supported msg=shutting down
==> /var/log/gitlab/redis/current <==
2024-04-22_17:14:14.02093 36426:C 22 Apr 2024 17:14:14.020 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2024-04-22_17:14:14.02104 36426:C 22 Apr 2024 17:14:14.020 # Redis version=7.0.15, bits=64, commit=f35f36a2, modified=1, pid=36426, just started
2024-04-22_17:14:14.02112 36426:C 22 Apr 2024 17:14:14.020 # Configuration loaded
2024-04-22_17:14:14.02119 36426:M 22 Apr 2024 17:14:14.021 * monotonic clock: POSIX clock_gettime
2024-04-22_17:14:14.02132 36426:M 22 Apr 2024 17:14:14.021 # Failed opening Unix socket: bind: Operation not supported
==> /var/log/gitlab/gitlab-kas/current <==
2024-04-22_17:14:14.06056 {"level":"info","time":"2024-04-22T17:14:14.060Z","msg":"Running KAS gitlab-kas/v16.10.1/8892127a"}
2024-04-22_17:14:14.06117 Program aborted: redis client: dial unix /var/opt/gitlab/redis/redis.socket: connect: operation not supported
==> /var/log/gitlab/nginx/gitlab_error.log <==
2024/04/22 17:14:14 [crit] 404#0: *2 connect() to unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket failed (95: Operation not supported) while connecting to upstream, client: 192.168.65.1, server: gitlab.local, request: "GET /root/-project HTTP/1.1", upstream: "http://unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket:/root/project", host: "localhost:8929", referrer: "http://localhost:8929/root/project"
2024/04/22 17:14:14 [crit] 404#0: *2 connect() to unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket failed (95: Operation not supported) while connecting to upstream, client: 192.168.65.1, server: gitlab.local, request: "GET /favicon.ico HTTP/1.1", upstream: "http://unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket:/favicon.ico", host: "localhost:8929", referrer: "http://localhost:8929/root/project"
==> /var/log/gitlab/nginx/gitlab_access.log <==

192.168.65.1 - - [22/Apr/2024:17:14:14 +0000] "GET /root/project HTTP/1.1" 502 3216 "http://localhost:8929/root/project" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" -
192.168.65.1 - - [22/Apr/2024:17:14:14 +0000] "GET /favicon.ico HTTP/1.1" 502 3216 "http://localhost:8929/root/project" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" -
johnnashautomation commented 3 months ago

I just realized that the postgres version is different in compose file and in the logs. This could be one of the issue?

Image I use for postgres -> postgres:13.6-alpine Log -> starting PostgreSQL 14.11 on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0, 64-bi

yrzr commented 2 months ago

I think you should set "postgresql['enable'] = false;" to disable the Postgres inside the gitlab container in order to use an external one.

And Postgres 13 will no longer be supported after Gitlab 17.0.0 https://docs.gitlab.com/ee/administration/package_information/postgresql_versions.html

johnnashautomation commented 2 months ago

I did it. also I changed postgres image version to 14.11-alpine. Deleted all mounted folders and re-created with 'docker-compose up -d' command. Once everything was created and I pushed repo and restarted docker itself. I still have the same result.

Updated compose file

gitlab: image: 'yrzr/gitlab-ce-arm64v8:latest' restart: unless-stopped hostname: 'gitlab.local' container_name: gitlab-ce privileged: true depends_on:

yrzr commented 2 months ago

What about deleting the volumes and trying again?

berkercakici commented 2 months ago

What about deleting the volumes and trying again? gitlab-ce-conf gitlab-ce-logs gitlab-ce-data gitlab-db-data

When I delete all folders above it starts like fresh installation without any issue. Then I again login and push a repository and if I stop docker-compose and restart nothing happen. The issue happen after I restart docker or pc. Once docker start It's like something is changing.

After I searched I found solution like that but it's not also works.

Changing from VirtioFS to gRPC FUSE and check Use Virtualization framework

image

johnnashautomation commented 2 months ago

Do you have any clue about how to fix this issue @yrzr ? I also tried to the docker run command I have same issue in Apple Silicon.

docker run \ --detach \ --restart unless-stopped \ --name gitlab-ce \ --privileged \ --memory 8G \ --publish 22:22 \ --publish 80:80 \ --publish 443:443 \ --hostname gitlab.example.com \ --env GITLAB_ROOT_PASSWORD="YourPasswordHere" \ --env GITLAB_OMNIBUS_CONFIG=" \ registry['enable'] = false; \ GITLAB_OMNIBUS[your_other_configs] =options; "\ --volume /srv/gitlab-ce/conf:/etc/gitlab:z \ --volume /srv/gitlab-ce/logs:/var/log/gitlab:z \ --volume /srv/gitlab-ce/data:/var/opt/gitlab:z \ yrzr/gitlab-ce-arm64v8:latest

yrzr commented 2 months ago

Try this

docker run \
  --detach \
  --restart unless-stopped \
  --name gitlab-ce \
  --privileged \
  --memory 8G \
  --publish 22:22 \
  --publish 80:80 \
  --publish 443:443 \
  --hostname gitlab.example.com \
  --env GITLAB_ROOT_PASSWORD="YourPasswordHere" \
  --env GITLAB_OMNIBUS_CONFIG=" \
    registry['enable'] = false; "\
  --volume /srv/gitlab-ce/conf:/etc/gitlab:z \
  --volume /srv/gitlab-ce/logs:/var/log/gitlab:z \
  --volume /srv/gitlab-ce/data:/var/opt/gitlab:z \
  yrzr/gitlab-ce-arm64v8:latest
0x1af2aec8f957 commented 1 month ago

Changing from VirtioFS to gRPC FUSE and check Use Virtualization framework

image

@berkercakici This worked for me!

vguleaev commented 1 week ago

What about deleting the volumes and trying again? gitlab-ce-conf gitlab-ce-logs gitlab-ce-data gitlab-db-data

When I delete all folders above it starts like fresh installation without any issue. Then I again login and push a repository and if I stop docker-compose and restart nothing happen. The issue happen after I restart docker or pc. Once docker start It's like something is changing.

After I searched I found solution like that but it's not also works.

Changing from VirtioFS to gRPC FUSE and check Use Virtualization framework

image

you are my saviour ! 🙇