Description
Description
Hi, and thanks for gitea. I especially love the new gitea actions!
I've noticed I can't look at old gitea actions logs. The HTTP request fails with the following HTTP body (status 500):
storage open "w-flo/[..]/27/39.log": open /app/gitea/data/actions_log/w-flo/[..]/27/39.log: no such file or directory
And indeed that is expected, because my docker container only has a persistent /data/
volume like the gitea docs recommend, everything else will be dropped along with the container itself when I upgrade gitea.
I could probably set a PATH
for [storage.actions_log]
, or preferably [storage]
, in app.ini, but I'd say the docker image should be configured to store actions logs in /data
by default, along with everything else that should be stored permanently?
I have noticed previously that avatars go missing on a regular basis, so maybe avatars are not stored in /data
either. Looking at the possible app.ini keys, maybe packages and attachments are affected as well? Edit: I have checked the container file system, and indeed the /app/gitea/data contains packages, avatars, attachments etc. (but I haven't used these features a lot so I hadn't noticed in the past years). So it's not only about actions_logs.
Repositories and issue trackers are not lost on docker upgrade though, as I have manually set [database] PATH
and [repository] ROOT
in app.ini. These should probably default to something inside /data as well if that is not the case already.
If the issue is that I should have changed something in app.ini to /data
, I think it would be great to mention that in the "Installation with Docker" documentation.
Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Official docker image through docker-compose, with some modifications to app.ini (not through environment variables, directly in the file on the volume)
Database
SQLite