You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To back up gitea, I run this command: docker-compose exec -T -u git gitea /bin/sh -c "umask 0027; /app/gitea/gitea dump --file=/backup/gitea-dump-backup.zip"
This worked fine in the standard image, but after converting to rootless, I'm getting this error:
...s/setting/setting.go:586:�loadFromConf()� �[F]� Unable to find configuration file: "/var/lib/gitea/custom/conf/app.ini"�.
Ensure you are running in the correct environment or set the correct configuration file with -c.
If I exec into the container and run env I see that GITEA_APP_INI is correct:
Description
To back up gitea, I run this command:
docker-compose exec -T -u git gitea /bin/sh -c "umask 0027; /app/gitea/gitea dump --file=/backup/gitea-dump-backup.zip"
This worked fine in the standard image, but after converting to rootless, I'm getting this error:
If I exec into the container and run
env
I see that GITEA_APP_INI is correct:I have modified APP_DATA_PATH in app.ini, but I don't think that's the cause of this issue:
These are just the paths, the whole app.ini is much longer but I don't think it has any relevant info. All other paths are at their defaults.
If I modify the command to add
-c /etc/gitea/app.ini
it works fine.Gitea Version
v1.16.7 (docker rootless image)
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Docker
How are you running Gitea?
Via my own docker-compose config with the official images.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: