YunoHost-Apps / gogs_ynh

Gogs package for YunoHost
http://gogs.io
GNU General Public License v3.0
18 stars 9 forks source link

Update Gogs version to 0.11.19. #29

Closed M5oul closed 6 years ago

M5oul commented 7 years ago

Upgrade from version ≤ 0.11.0 to v0.11.19

After upgrading, I encountered this bug which do not let gogs running.

The working solution I found is on documentation which must be done before upgrading:

cd /opt
mv gogs gogs_old
cp -R gogs_old/{custom,data} gogs

yunohost app upgrade gogs -f gogs@v0.11.9 --verbose

What solution do we want to take? Do we make a condition on the upgrade script for versions ≤ 0.11.0 to execute upper code?

mbugeia commented 7 years ago

Well it doesn't sound specific to versions >= 0.11.0 maybe this can be applied for all upgrade regardless of version.