Closed klorydryk closed 4 years ago
Not that part. Here that's only the end of the restoration, long after the error. You should find the log into your admin panel, in Tools, Logs.
yes, it is where I found it, but it is veeeery long. And I don't find the line of the error...
You can share the log by clicking "Share with YunoPaste" on the upper right of the interface.
Ok, let's do it: https://paste.yunohost.org/raw/rixoqigupa
2020-01-02 12:50:09,157: DEBUG - This ** of Nextcloud is not compatible with > PHP 7.3.
You are currently running 7.4.1.+ ynh_exit_properly
You probably have installed an app that does not handle php correctly... Do you have some apps that are not Official or High quality ?
I only see "I hate money" not in the "decent quality apps"
I'm not talking about "not decent quality". We know that there may be apps that don't fail to automatic tests but may break others.
That's why I asked you if you have apps that aren't Official or High quality. Those one are regularly checked. The others aren't.
Ok, not in high quality: I hate money Phpmyadmin Kresus Rainloop Redirect
Probably another app, uninstalled since.
What gives you ls -l /etc/php/
and update-alternatives --display php
?
ls -l /etc/php/ 5.6 7.0 7.1 7.2 7.3 7.4
update-alternatives --display php php - mode automatique link best version is /usr/bin/php7.4 le lien pointe actuellement sur /usr/bin/php7.4 link php is /usr/bin/php slave php.1.gz is /usr/share/man/man1/php.1.gz /usr/bin/php7.0 - priorité 70 lien secondaire php.1.gz : /usr/share/man/man1/php7.0.1.gz /usr/bin/php7.3 - priorité 73 lien secondaire php.1.gz : /usr/share/man/man1/php7.3.1.gz /usr/bin/php7.4 - priorité 74 lien secondaire php.1.gz : /usr/share/man/man1/php7.4.1.gz
Solution found here https://forum.yunohost.org/t/nextcloud-mise-a-jour-impossible/9956/11
I applied the command, and now I get: update-alternatives --display php php - mode manuel link best version is /usr/bin/php7.4 le lien pointe actuellement sur /usr/bin/php7.0
But installation still don't work :s
Is the error still the same ?
Nope: "PHP module zip not installed." https://paste.yunohost.org/raw/gomogabasa
"apt install php7.0-zip"
So I guess it's not an upgrade but an install then. Anyway, yes, you can install php7.0-zip to fix that.
Installation OK ! Thanks for your support :)
I don't know what part of the log is interesting, I don't find any usefull information :x
2020-01-02 12:51:50,809: DEBUG - 72436 + ynh_script_progression '--message=Restoration completed for nextcloud' --last 2020-01-02 12:51:50,810: DEBUG - 72436 + set +x 2020-01-02 12:51:50,810: DEBUG - 72436 + set +x 2020-01-02 12:51:50,810: DEBUG - 72437 + echo '! Helper used in legacy mode !' 2020-01-02 12:51:50,811: DEBUG - 72437 + set +x 2020-01-02 12:51:50,811: DEBUG - 72437 + echo '[####################] > Restoration completed for nextcloud' 2020-01-02 12:51:50,812: DEBUG - 72438 + set -x 2020-01-02 12:51:50,812: DEBUG - 72438 + ynh_exit_properly 2020-01-02 12:51:50,812: DEBUG - 72439 + local exit_code=0 2020-01-02 12:51:50,813: DEBUG - 72439 + '[' 0 -eq 0 ']' 2020-01-02 12:51:50,813: DEBUG - 72439 + exit 0 2020-01-02 12:51:50,914: DEBUG - 72501 Pour voir le journal historisé de cette opération 'Restaurer 'nextcloud' depuis une sauvegarde', utilisez la commande 'yunohost log display 20200102-115105-backup_restore_app-nextcloud' 2020-01-02 12:51:51,816: DEBUG - La configuration de SSOwat a été générée 2020-01-02 12:51:51,916: DEBUG - 73484 Restauration terminée 2020-01-02 12:51:51,917: WARNING - The app was restored to the way it was before the failed upgrade. 2020-01-02 12:51:51,918: DEBUG - 73485 action [27436.1] executed in 73.144s 2020-01-02 12:51:51,918: DEBUG - apps: 2020-01-02 12:51:51,918: DEBUG - nextcloud: Success 2020-01-02 12:51:51,919: DEBUG - system: 2020-01-02 12:51:51,919: DEBUG - + ynh_die '--message=The app was restored to the way it was before the failed upgrade.'