gitea loss of avatars after update #2150

Closed
opened 2025-11-02 04:25:25 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @abhinand-tw on GitHub (Aug 7, 2018).

  • Gitea version (or commit ref): update to 1.4.3 from 1.3.2
  • Git version: 2.15.2
  • Operating system: ubuntu 14.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Hello!
After update gitea container to 1.4.3 from 1.3.2 we have loss all avatars.
When adding avatars manually again, i found out that they are saved in /app/gitea/data/avatars.
In this folder (app/gitea/data) i also saw "indexers" and "sessions" folders.
We have "sessions" folder in /data/data dir (the dir use for store data as described in the documentation with docker use
volumes:
- ./gitea:/data )
I thout that to save all the necessary data for the operation of the gitea (sessions, users, avatars and other), we need to use the "data" folder on the host (or named volume). But this is not onough, wee still need save data from many folders (/app/gitea/data/avatars or /app/gitea/data).

Please specify the full list of folders that we need to save, for a successful update of the gitea if using docker and store all data (sessions, vatars and others working data)

Best regards,
Danilin Maxim

Originally created by @abhinand-tw on GitHub (Aug 7, 2018). - Gitea version (or commit ref): update to 1.4.3 from 1.3.2 - Git version: 2.15.2 - Operating system: ubuntu 14.04 - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: Hello! After update gitea container to 1.4.3 from 1.3.2 we have loss all avatars. When adding avatars manually again, i found out that they are saved in /app/gitea/data/avatars. In this folder (app/gitea/data) i also saw "indexers" and "sessions" folders. We have "sessions" folder in /data/data dir (the dir use for store data as described in the documentation with docker use volumes: - ./gitea:/data ) I thout that to save all the necessary data for the operation of the gitea (sessions, users, avatars and other), we need to use the "data" folder on the host (or named volume). But this is not onough, wee still need save data from many folders (/app/gitea/data/avatars or /app/gitea/data). Please specify the full list of folders that we need to save, for a successful update of the gitea if using docker and store all data (sessions, vatars and others working data) Best regards, Danilin Maxim
GiteaMirror added the type/question label 2025-11-02 04:25:25 -06:00
Author
Owner

@lafriks commented on GitHub (Aug 7, 2018):

all /app/gitea/data should be backed up

@lafriks commented on GitHub (Aug 7, 2018): all `/app/gitea/data` should be backed up
Author
Owner

@abhinand-tw commented on GitHub (Aug 7, 2018):

There is nothing in the documentation about this, right?

@abhinand-tw commented on GitHub (Aug 7, 2018): There is nothing in the documentation about this, right?
Author
Owner

@Siesh1oo commented on GitHub (Aug 7, 2018):

@lafriks : last time I tried (couple of weeks ago), gitea dump command did not back this up, even if documentation says otherwise. Full-disk backup is working, tho

@Siesh1oo commented on GitHub (Aug 7, 2018): @lafriks : last time I tried (couple of weeks ago), gitea dump command did not back this up, even if documentation says otherwise. Full-disk backup is working, tho
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2150