YunoHost-Apps / opensondage_ynh

OpenSondage for YunoHost
https://framadate.org/
GNU Affero General Public License v3.0
16 stars 14 forks source link

Upgrade impossible #12

Closed Ackak closed 9 years ago

Ackak commented 9 years ago

Hi,

I can't upgrade this app, becauce i have this message :

It seems that the file of upgrade have the code of the file for installation (line 80)

zamentur commented 9 years ago

Thanks for this issue! I have pushed a fix. When this fix will be available you should apply it. Alternatively you can directly apply this:

public_site=$(sudo yunohost app setting opensondage public_site) sudo service nginx reload if [ $public_site = "No" ]; then sudo yunohost app setting opensondage protected_uris -v "/admin,/index.php,/choix_date.php,/choix_autre.php,/infos_sondage.php,/scripts" else sudo yunohost app setting opensondage protected_uris -v "/admin/index.php,/admin/logs_studs.txt,/scripts" fi sudo yunohost app ssowatconf

Ackak commented 9 years ago

Ok, i will wait the fix ;)

Ackak commented 9 years ago

I did the update and it's now ok.