Cannot start docker container, since db upgrade fails #14454

Closed
opened 2025-11-02 11:13:25 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @juxeii on GitHub (May 6, 2025).

Description

My gitea docker installation is no longer working.
In the logs is an endless loop trying to connect to the database:

2025/05/06 07:02:29 cmd/web.go:253:runWeb() [I] Starting Gitea on PID: 16
2025/05/06 07:02:29 cmd/web.go:112:showWebStartupMessage() [I] Gitea version: 1.23.7 built with GNU Make 4.4.1, go1.23.8 : bindata, timetzdata, sqlite, sqlite_unlock_notify
2025/05/06 07:02:29 cmd/web.go:113:showWebStartupMessage() [I] * RunMode: prod
2025/05/06 07:02:29 cmd/web.go:114:showWebStartupMessage() [I] * AppPath: /usr/local/bin/gitea
2025/05/06 07:02:29 cmd/web.go:115:showWebStartupMessage() [I] * WorkPath: /data/gitea
2025/05/06 07:02:29 cmd/web.go:116:showWebStartupMessage() [I] * CustomPath: /data/gitea
2025/05/06 07:02:29 cmd/web.go:117:showWebStartupMessage() [I] * ConfigFile: /data/gitea/conf/app.ini
2025/05/06 07:02:29 cmd/web.go:118:showWebStartupMessage() [I] Prepare to run web server
2025/05/06 07:02:29 routers/init.go:117:InitWebInstalled() [I] Git version: 2.47.2 (home: /data/gitea/home)
2025/05/06 07:02:29 ...s/storage/storage.go:176:initAttachments() [I] Initialising Attachment storage with type: local
2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/attachments
2025/05/06 07:02:29 ...s/storage/storage.go:166:initAvatars() [I] Initialising Avatar storage with type: local
2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/avatars
2025/05/06 07:02:29 ...s/storage/storage.go:192:initRepoAvatars() [I] Initialising Repository Avatar storage with type: local
2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/repo-avatars
2025/05/06 07:02:29 ...s/storage/storage.go:186:initLFS() [I] Initialising LFS storage with type: local
2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/git/lfs
2025/05/06 07:02:29 ...s/storage/storage.go:198:initRepoArchives() [I] Initialising Repository Archive storage with type: local
2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/repo-archive
2025/05/06 07:02:29 ...s/storage/storage.go:208:initPackages() [I] Initialising Packages storage with type: local
2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/packages
2025/05/06 07:02:29 ...s/storage/storage.go:219:initActions() [I] Initialising Actions storage with type: local
2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/actions_log
2025/05/06 07:02:29 ...s/storage/storage.go:223:initActions() [I] Initialising ActionsArtifacts storage with type: local
2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/actions_artifacts
2025/05/06 07:02:30 routers/init.go:139:InitWebInstalled() [I] SQLite3 support is enabled
2025/05/06 07:02:30 routers/common/db.go:23:InitDBEngine() [I] Beginning ORM engine initialization.
2025/05/06 07:02:30 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #1/10...
2025/05/06 07:02:30 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/05/06 07:02:30 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #1/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused
2025/05/06 07:02:30 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
2025/05/06 07:02:33 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #2/10...
2025/05/06 07:02:33 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/05/06 07:02:33 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #2/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused
2025/05/06 07:02:33 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
2025/05/06 07:02:36 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #3/10...
2025/05/06 07:02:36 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/05/06 07:02:36 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #3/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused
2025/05/06 07:02:36 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
2025/05/06 07:02:39 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #4/10...
2025/05/06 07:02:39 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/05/06 07:02:39 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #4/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused
2025/05/06 07:02:39 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
2025/05/06 07:02:42 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #5/10...
2025/05/06 07:02:42 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/05/06 07:02:42 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #5/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused
2025/05/06 07:02:42 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
2025/05/06 07:02:45 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #6/10...
2025/05/06 07:02:45 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/05/06 07:02:45 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #6/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused
2025/05/06 07:02:45 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
2025/05/06 07:02:48 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #7/10...
2025/05/06 07:02:48 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/05/06 07:02:48 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #7/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused
2025/05/06 07:02:48 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
2025/05/06 07:02:51 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #8/10...
2025/05/06 07:02:51 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/05/06 07:02:51 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #8/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused
2025/05/06 07:02:51 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
2025/05/06 07:02:54 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #9/10...
2025/05/06 07:02:54 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/05/06 07:02:54 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #9/10 failed. Error: dial tcp: lookup db on 127.0.0.11:53: no such host
2025/05/06 07:02:54 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds
2025/05/06 07:02:57 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #10/10...
2025/05/06 07:02:57 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql
2025/05/06 07:02:57 routers/init.go:74:mustInitCtx() [F] code.gitea.io/gitea/routers/common.InitDBEngine(ctx) failed: dial tcp 192.168.128.2:3306: connect: connection refused
Received signal 15; terminating.

In the database logs there is an error while trying to upgrade the database:

2025-05-06T04:54:14.586408Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.

2025-05-06T04:54:20.757584Z 4 [System] [MY-013381] [Server] Server upgrade from '80400' to '80405' started.

2025-05-06T04:54:37.293398Z 4 [ERROR] [MY-013178] [Server] Execution of server-side SQL statement 'ALTER TABLE procs_priv   MODIFY User char(32) NOT NULL default '',   CONVERT TO CHARACTER SET utf8mb3 COLLATE utf8mb3_bin; ' failed with error code = 1050, error message = 'Table '#sql2-1-4' already exists'.

2025-05-06T04:54:37.410794Z 0 [ERROR] [MY-013380] [Server] Failed to upgrade server.

2025-05-06T04:54:37.410854Z 0 [ERROR] [MY-010119] [Server] Aborting

2025-05-06T04:54:42.455738Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.5)  MySQL Community Server - GPL.

2025-05-06T04:54:42.455772Z 0 [System] [MY-015016] [Server] MySQL Server - end.

Is there anything I can do? I am on the latest git tag and never had problems restarting the instance.

Gitea Version

1.23.7

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Synology DSM 7.1

How are you running Gitea?

docker-compose file

services:
  server:
    image: gitea/gitea:latest
    container_name: gitea
    environment:
      - USER=cheffe
      - USER_UID=1032
      - USER_GID=100
      - GITEA__database__DB_TYPE=mysql
      - GITEA__database__HOST=db
      - GITEA__database__NAME=test
      - GITEA__database__USER=test
      - GITEA__database__PASSWD=test
      - TZ=Europe/Berlin
    restart: always
    networks:
      - default
      - web
    volumes:
      - /volume1/docker/gitea:/data
    ports:
      - 3052:3000
      - 2222:22
    depends_on:
      - db
      
  db:
    image: mysql:8
    restart: always
    environment:
      MYSQL_DATABASE: test
      MYSQL_USER: test
      MYSQL_PASSWORD: test
      MYSQL_ROOT_PASSWORD: gitea
    volumes:
      - db:/var/lib/mysql
    networks:
      - default
      
volumes:
  db:
  
networks:
  web:
    external: true

Database

None

Originally created by @juxeii on GitHub (May 6, 2025). ### Description My `gitea` `docker` installation is no longer working. In the logs is an endless loop trying to connect to the database: ``` 2025/05/06 07:02:29 cmd/web.go:253:runWeb() [I] Starting Gitea on PID: 16 2025/05/06 07:02:29 cmd/web.go:112:showWebStartupMessage() [I] Gitea version: 1.23.7 built with GNU Make 4.4.1, go1.23.8 : bindata, timetzdata, sqlite, sqlite_unlock_notify 2025/05/06 07:02:29 cmd/web.go:113:showWebStartupMessage() [I] * RunMode: prod 2025/05/06 07:02:29 cmd/web.go:114:showWebStartupMessage() [I] * AppPath: /usr/local/bin/gitea 2025/05/06 07:02:29 cmd/web.go:115:showWebStartupMessage() [I] * WorkPath: /data/gitea 2025/05/06 07:02:29 cmd/web.go:116:showWebStartupMessage() [I] * CustomPath: /data/gitea 2025/05/06 07:02:29 cmd/web.go:117:showWebStartupMessage() [I] * ConfigFile: /data/gitea/conf/app.ini 2025/05/06 07:02:29 cmd/web.go:118:showWebStartupMessage() [I] Prepare to run web server 2025/05/06 07:02:29 routers/init.go:117:InitWebInstalled() [I] Git version: 2.47.2 (home: /data/gitea/home) 2025/05/06 07:02:29 ...s/storage/storage.go:176:initAttachments() [I] Initialising Attachment storage with type: local 2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/attachments 2025/05/06 07:02:29 ...s/storage/storage.go:166:initAvatars() [I] Initialising Avatar storage with type: local 2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/avatars 2025/05/06 07:02:29 ...s/storage/storage.go:192:initRepoAvatars() [I] Initialising Repository Avatar storage with type: local 2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/repo-avatars 2025/05/06 07:02:29 ...s/storage/storage.go:186:initLFS() [I] Initialising LFS storage with type: local 2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/git/lfs 2025/05/06 07:02:29 ...s/storage/storage.go:198:initRepoArchives() [I] Initialising Repository Archive storage with type: local 2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/repo-archive 2025/05/06 07:02:29 ...s/storage/storage.go:208:initPackages() [I] Initialising Packages storage with type: local 2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/packages 2025/05/06 07:02:29 ...s/storage/storage.go:219:initActions() [I] Initialising Actions storage with type: local 2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/actions_log 2025/05/06 07:02:29 ...s/storage/storage.go:223:initActions() [I] Initialising ActionsArtifacts storage with type: local 2025/05/06 07:02:29 ...les/storage/local.go:33:NewLocalStorage() [I] Creating new Local Storage at /data/gitea/actions_artifacts 2025/05/06 07:02:30 routers/init.go:139:InitWebInstalled() [I] SQLite3 support is enabled 2025/05/06 07:02:30 routers/common/db.go:23:InitDBEngine() [I] Beginning ORM engine initialization. 2025/05/06 07:02:30 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #1/10... 2025/05/06 07:02:30 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql 2025/05/06 07:02:30 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #1/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused 2025/05/06 07:02:30 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds 2025/05/06 07:02:33 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #2/10... 2025/05/06 07:02:33 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql 2025/05/06 07:02:33 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #2/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused 2025/05/06 07:02:33 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds 2025/05/06 07:02:36 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #3/10... 2025/05/06 07:02:36 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql 2025/05/06 07:02:36 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #3/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused 2025/05/06 07:02:36 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds 2025/05/06 07:02:39 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #4/10... 2025/05/06 07:02:39 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql 2025/05/06 07:02:39 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #4/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused 2025/05/06 07:02:39 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds 2025/05/06 07:02:42 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #5/10... 2025/05/06 07:02:42 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql 2025/05/06 07:02:42 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #5/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused 2025/05/06 07:02:42 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds 2025/05/06 07:02:45 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #6/10... 2025/05/06 07:02:45 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql 2025/05/06 07:02:45 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #6/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused 2025/05/06 07:02:45 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds 2025/05/06 07:02:48 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #7/10... 2025/05/06 07:02:48 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql 2025/05/06 07:02:48 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #7/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused 2025/05/06 07:02:48 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds 2025/05/06 07:02:51 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #8/10... 2025/05/06 07:02:51 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql 2025/05/06 07:02:51 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #8/10 failed. Error: dial tcp 192.168.128.2:3306: connect: connection refused 2025/05/06 07:02:51 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds 2025/05/06 07:02:54 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #9/10... 2025/05/06 07:02:54 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql 2025/05/06 07:02:54 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #9/10 failed. Error: dial tcp: lookup db on 127.0.0.11:53: no such host 2025/05/06 07:02:54 routers/common/db.go:37:InitDBEngine() [I] Backing off for 3 seconds 2025/05/06 07:02:57 routers/common/db.go:30:InitDBEngine() [I] ORM engine initialization attempt #10/10... 2025/05/06 07:02:57 cmd/web.go:205:serveInstalled() [I] PING DATABASE mysql 2025/05/06 07:02:57 routers/init.go:74:mustInitCtx() [F] code.gitea.io/gitea/routers/common.InitDBEngine(ctx) failed: dial tcp 192.168.128.2:3306: connect: connection refused Received signal 15; terminating. ``` In the database logs there is an error while trying to upgrade the database: ``` 2025-05-06T04:54:14.586408Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 2025-05-06T04:54:20.757584Z 4 [System] [MY-013381] [Server] Server upgrade from '80400' to '80405' started. 2025-05-06T04:54:37.293398Z 4 [ERROR] [MY-013178] [Server] Execution of server-side SQL statement 'ALTER TABLE procs_priv MODIFY User char(32) NOT NULL default '', CONVERT TO CHARACTER SET utf8mb3 COLLATE utf8mb3_bin; ' failed with error code = 1050, error message = 'Table '#sql2-1-4' already exists'. 2025-05-06T04:54:37.410794Z 0 [ERROR] [MY-013380] [Server] Failed to upgrade server. 2025-05-06T04:54:37.410854Z 0 [ERROR] [MY-010119] [Server] Aborting 2025-05-06T04:54:42.455738Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.5) MySQL Community Server - GPL. 2025-05-06T04:54:42.455772Z 0 [System] [MY-015016] [Server] MySQL Server - end. ``` Is there anything I can do? I am on the `latest git` tag and never had problems restarting the instance. ### Gitea Version 1.23.7 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System Synology DSM 7.1 ### How are you running Gitea? docker-compose file ``` services: server: image: gitea/gitea:latest container_name: gitea environment: - USER=cheffe - USER_UID=1032 - USER_GID=100 - GITEA__database__DB_TYPE=mysql - GITEA__database__HOST=db - GITEA__database__NAME=test - GITEA__database__USER=test - GITEA__database__PASSWD=test - TZ=Europe/Berlin restart: always networks: - default - web volumes: - /volume1/docker/gitea:/data ports: - 3052:3000 - 2222:22 depends_on: - db db: image: mysql:8 restart: always environment: MYSQL_DATABASE: test MYSQL_USER: test MYSQL_PASSWORD: test MYSQL_ROOT_PASSWORD: gitea volumes: - db:/var/lib/mysql networks: - default volumes: db: networks: web: external: true ``` ### Database None
GiteaMirror added the type/question label 2025-11-02 11:13:25 -06:00
Author
Owner

@juxeii commented on GitHub (May 6, 2025):

I think there is a hint. I tried to move the docker instance to komodo.
After that, the problems began.
Today I created a clean new install of gitea in portainer. Then again I tried to move it to komodo and start the container from this instance(yet another docker container).
This failed with some weird message like "expected git as user, but got admin". Since then, the db container of gitea is again corrupted.
Why does the db crash, when we try to start gitea with a different user?

@juxeii commented on GitHub (May 6, 2025): I think there is a hint. I tried to move the docker instance to [komodo](https://github.com/moghtech/komodo). After that, the problems began. Today I created a clean new install of `gitea `in `portainer`. Then again I tried to move it to `komodo `and start the container from this instance(yet another `docker `container). This failed with some weird message like "expected git as user, but got admin". Since then, the `db `container of `gitea `is again corrupted. Why does the db crash, when we try to start `gitea `with a different user?
Author
Owner

@techknowlogick commented on GitHub (May 6, 2025):

Error: dial tcp 192.168.128.2:3306: connect: connection refused

Your docker engine is blocking connection between Gitea and the DB.

"expected git as user, but got admin".

Means that the config is set to run as git but you are running it as admin. This is to prevent any file permission errors. You can use su - git in the container to switch to the git user.

I'm not familiar with komodo, or any possible firewall rules it may set on top of standard docker, and so I'd recommend looking into the connection between the two.

@techknowlogick commented on GitHub (May 6, 2025): > Error: dial tcp 192.168.128.2:3306: connect: connection refused Your docker engine is blocking connection between Gitea and the DB. > "expected git as user, but got admin". Means that the config is set to run as `git` but you are running it as `admin`. This is to prevent any file permission errors. You can use `su - git` in the container to switch to the git user. I'm not familiar with komodo, or any possible firewall rules it may set on top of standard docker, and so I'd recommend looking into the connection between the two.
Author
Owner

@AuroraMaster commented on GitHub (Jul 20, 2025):

Due to the "new features" of docker

@AuroraMaster commented on GitHub (Jul 20, 2025): Due to the "new features" of docker
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14454