-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
⚓️ dockerCategorizes as related to DockerCategorizes as related to Docker💊 bugSomething isn't workingSomething isn't working
Milestone
Description
Gogs version
0.12.4
Git version
- Server: 2.32.0
- Client: 2.17.1
Operating system
official docker image gogs/gogs:0.12 sha256:f903b2d8de7e49a3619929a663229ec26d6d9ab67be63aab1552e89f959e2acd in Docker Community 20.10.12 on Ubuntu 18.04 LTS
Database
PostgreSQL 9.5.18
Describe the bug
Executing this command to run a backup to a mounted volume:
docker exec gogs_gogs_1 /bin/sh -c "umask 0027; USER=git ./gogs backup --target=/backup/"gives this error:
# docker exec gogs_gogs_1 /bin/sh -c "umask 0027; USER=git ./gogs backup -
-target=/backup/"
2022/02/25 17:12:38 [ INFO] Backup root directory: /tmp/gogs-backup-2463318712
2022/02/25 17:12:38 [ INFO] Packing backup files to: /backup/gogs-backup-20220225171237.zip
2022/02/25 17:12:43 [FATAL] [...s.io/gogs/internal/cmd/backup.go:105 runBackup()] Failed to include 'custom
': open /data/gogs/data/tmp/local-repo/42/docker-compose.common.yml: no such file or directory
It used to work with no problem just a few days ago (scheduled daily) also on 0.12.4, the upgrade from 0.12.3 was done as soon as 0.12.4 came out. I think it was caused by some changes in the repositories hosted in gogs.
2022/02/19 23:46:42 [ INFO] Backup root directory: /tmp/gogs-backup-3440401522
2022/02/19 23:46:42 [ INFO] Packing backup files to: /backup/gogs-backup-20220219234642.zip
2022/02/19 23:46:50 [ INFO] Dumping repositories in "/data/git/gogs-repositories"
2022/02/19 23:49:20 [ INFO] Repositories dumped to: /tmp/gogs-backup-3440401522/repositories.zip
2022/02/19 23:52:15 [ INFO] Backup succeed! Archive is located at: /backup/gogs-backup-20220219234642.zip
To reproduce
Described above
Expected behavior
successful backup
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
⚓️ dockerCategorizes as related to DockerCategorizes as related to Docker💊 bugSomething isn't workingSomething isn't working