Closed Evidlo closed 7 months ago
Not APP_DATA_PATH, use GITEA_WORK_DIR:
GITEA_WORK_DIR=/storage/gitea/ gitea web -c /etc/gitea/app.ini
or
gitea --config /etc/gitea/app.ini --work-path /storage/gitea/ web
Don't set others like GITEA_CUSTOM
, they are not needed.
Feel free to reopen if there is still any problem.
Automatically locked because of our CONTRIBUTING guidelines
Description
I'm starting with a fresh install of Gitea. I'm trying to install Gitea to
/storage/gitea
, but it tries to write to/usr/bin/data
which it doesn't have permission to do and fails.I tried a few environment variables, but I couldn't figure out how to get it to stop trying to write to
/usr/bin/data
Gitea Version
1.21.4
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.25.1
Operating System
Ubuntu 20.04
How are you running Gitea?
From commandline and installed as per https://gitlab.com/packaging/gitea
Database
SQLite