YunoHost-Apps / shaarli_ynh

Shaarli package for YunoHost
GNU General Public License v3.0
20 stars 13 forks source link

Copy current themes on upgrade #41

Closed nicofrand closed 5 years ago

nicofrand commented 5 years ago

Hi,

after upgrading the app on my yunohost instance Shaarli was broken: it failed to retrieve the template files declared in my config. My config states the "material" theme is the current theme (I downloaded it manually) but the upgrade erased my downloaded theme.

Maybe a backup of the themes (in tpl) should be done, like a backup of the config file is done: https://github.com/YunoHost-Apps/shaarli_ynh/blob/master/scripts/upgrade#L77 ?

lapineige commented 5 years ago

Can you try to upgrade with this branch ? yunohost app upgrade shaarli -u https://github.com/YunoHost-Apps/shaarli_ynh/tree/backup_theme

nicofrand commented 5 years ago

Works like a charm!