Hello Boris,
gogs is in version 102 i saw the version 184.
it impossible to upgrade.
Pierre
Hello Boris,
gogs is in version 102 i saw the version 184.
it impossible to upgrade.
Pierre
What is the error?
Can you try command line for more logs?
snap refresh gogs
Hi Boris
snap refresh gogs
error: cannot perform the following tasks:
post refresh
Traceback (most recent call last):
File “/snap/gogs/184/meta/hooks/post-refresh”, line 7, in
Installer().post_refresh()
File “/snap/gogs/184/hooks/installer.py”, line 84, in post_refresh
self.db.remove()
File “/snap/gogs/184/hooks/database.py”, line 38, in remove
raise Exception(“Backup file does not exist: {0}”.format(self.backup_file))
Exception: Backup file does not exist: /var/snap/gogs/current/database.dump
-----)
regards
Pierre
Ok a bit old version did not have auto backup, can you run this and then try to upgrade again:
sudo -E -H -u git /snap/gogs/current/postgresql/bin/pg_dumpall.sh -p 5433 -h /var/snap/gogs/common/database -f /var/snap/gogs/current/database.dump
Thank You Boris,
It is working fine.
Pierre