-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Rootless Docker - Mistake with the repo-avatars parent folder name #22637
Conversation
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...!
I would say, it's not a big mistake, it's just a mistake. |
Update: it seems fine |
I don't think so, the file is a template to generate the config file, and it works only if there's no config file. I believe this is the only place it's used:
|
Yup, you are right, edited the previous comment, I worried too much (in history, some users just do re-install without app.ini and causes various problems, I think there won't be such problem any more nowadays). |
This is the only folder that was left over in this wrong directory right? Last night I did a major migration from postgresql database as well as gitea rootless migration. Which involved moving quite some directories. So my point is; maybe there are other folder locations/configurations that also need to be updated. Or this is the last left over change..? |
Looks like it's the last one in this app.ini template file. |
I see a lot commits getting pushed into this PR? Is that intentionally? Or is the PR already merge into |
It is when someone updates the branch from main, as we require PRs to be up-to-date before merging. It's in the list to get merged. 🙂 |
Merged using 🪄 as this could not fail tests. |
Please send backport |
That depends how you wrote your tests and what it is testing 😉 |
@jolheiser I can still give feedback on this response? It's a good practice to use |
Well… not if you use |
...then it doesn't matter indeed, it will squashed into 1 commit which will produce a new commit on the main branch. |
If you merge, all pull request review history(the checkbox on the files of the pull request) could be reserved. If there are many files changed on the pull request, it's very useful. But if you rebase, those history will be disappeared. |
* upstream/main: (35 commits) Small refactor for loading PRs (go-gitea#22652) Allow setting access token scope by CLI (go-gitea#22648) Add main landmark to templates and adjust titles (go-gitea#22670) Fix cache-control header clearing comment text when editing issue (go-gitea#22604) Enable `@<user>`- completion popup on the release description textarea (go-gitea#22359) Add Conda package registry (go-gitea#22262) Add user secrets (go-gitea#22191) Add missing close bracket in imagediff (go-gitea#22710) Explain that the no-access team unit does not affect public repositories (go-gitea#22661) Fix bugs with WebAuthn preventing sign in and registration. (go-gitea#22651) Add more events details supports for actions (go-gitea#22680) Improve checkbox accessibility a bit by adding the title attribute (go-gitea#22593) Add repository setting to enable/disable releases unit (go-gitea#22671) Use relative url in actions view (go-gitea#22675) Fix ref to trigger Actions (go-gitea#22679) Rootless Docker - Mistake with the repo-avatars parent folder name (go-gitea#22637) Fix missing title and filter in issue sidebar project menu (go-gitea#22557) Fix wrong hint when deleting a branch successfully from pull request UI (go-gitea#22673) Add Contributed backport command (go-gitea#22643) Fix typo in command-line.en-us.md (go-gitea#22681) ...
There was a mistake when choosing the structure for the repo avatars parent folder and it added a spurious /gitea.
The
data
directory should contain folders like:attachments/
avatars/
log/
repo-avatars/