Skip to content

Rootless Docker - Mistake with the repo-avatars parent folder name #22637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jan 31, 2023
Next Next commit
Big mistake with the repo-avatars parent folder name
Somebody made a big mistake when choosing this legacy folder structure `data/gitea/`, which will result into: `/var/lib/gitea/data/gitea/repo-avatars`.

And you don't want to have a gitea folder anymore inside the data directory...!
  • Loading branch information
melroy89 authored Jan 28, 2023
commit 72f29c0cb335d6e6a09f46e30ec32a27368e2d94
2 changes: 1 addition & 1 deletion docker/rootless/etc/templates/app.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ PROVIDER_CONFIG = $GITEA_WORK_DIR/data/sessions

[picture]
AVATAR_UPLOAD_PATH = $GITEA_WORK_DIR/data/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = $GITEA_WORK_DIR/data/gitea/repo-avatars
REPOSITORY_AVATAR_UPLOAD_PATH = $GITEA_WORK_DIR/data/repo-avatars

[attachment]
PATH = $GITEA_WORK_DIR/data/attachments
Expand Down