YunoHost-Apps / pluxml_ynh

PluXml package for YunoHost
http://pluxml.org
GNU General Public License v3.0
9 stars 3 forks source link

Upgrade Pluxml to v5.8.3 #43

Closed anto1ne closed 4 years ago

anto1ne commented 4 years ago

Problem

Solution

PR Status

Validation


anto1ne commented 4 years ago

Build Status

:disappointed:

I think that the install script needs to be updated at line 224

https://github.com/YunoHost-Apps/pluxml_ynh/blob/0595d7bb0ffc224508c52ec5952125d77c4200e8/scripts/install#L224

yalh76 commented 4 years ago

Build Status

😞

I think that the install script needs to be updated at line 224

https://github.com/YunoHost-Apps/pluxml_ynh/blob/0595d7bb0ffc224508c52ec5952125d77c4200e8/scripts/install#L224

yep, it seems they changed things, I let you manage that ;)

anto1ne commented 4 years ago

Build Status

ça progresse

Package linter:                  SUCCESS
Installation:                    SUCCESS
Deleting:                        SUCCESS
Installation in a sub path:      SUCCESS
Deleting from a sub path:        SUCCESS
Installation on the root:        SUCCESS
Deleting from root:              SUCCESS
Upgrade:                         FAIL
Installation in private mode:    SUCCESS
Installation in public mode:     SUCCESS
Multi-instance installations:    SUCCESS
Malformed path:                  Not evaluated.
Port already used:               Not evaluated.
Backup:                          SUCCESS
Restore:                         SUCCESS
Change URL:                      SUCCESS
Actions and config-panel:        Not evaluated.
Level of this application: 2 (Installable in all situations)
       Level 1: 1
       Level 2: 1
       Level 3: 0
       Level 4: 1
       Level 5: 1
       Level 6: 1
       Level 7: 0
       Level 8: 0
       Level 9: 0
       Level 10: 0
You can find the complete log of these tests in /home/CI_package_check/dev_CI/../package_check/Complete.log

à mon avis il faut regarder du coté du script d'upgrade et du dossier /update

anto1ne commented 4 years ago

@yalh76 , the upgrade script does not work, I am stuck with this command line

https://github.com/YunoHost-Apps/pluxml_ynh/blob/767b784a512d8790be8c15317947215f83712f87/scripts/upgrade#L119

I have also an issue when I update the commit in check_process

https://github.com/YunoHost-Apps/pluxml_ynh/blob/767b784a512d8790be8c15317947215f83712f87/check_process#L23

yalh76 commented 4 years ago

L119 should be: ynh_local_curl "/update/index.php" "submit=submit"

In addition when putting a read -p "key" L120, I can go to the pluxml interface and try to manually do the upgrade clicking on the Démarrer la mise à jour, and it seems to not be abble to do the upgrade.

I think it's because the pluxml user doesn't own the /var/www/$app folder The owning of the folder comes too late: https://github.com/YunoHost-Apps/pluxml_ynh/blob/767b784a512d8790be8c15317947215f83712f87/scripts/upgrade#L137

anto1ne commented 4 years ago

thank you @yalh76 you were right, I fixed the upgrade script, it should be working now Build Status