Error updating grav

Hey ! When I try to upgrade grav app in the web interface I have this.message :

You are currently running PHP 7.0.33-0+deb9u3 , but PHP 7.1.3 is required.

My yunohost instance is up to date.

When I try with the command yunohost app upgrade grav -u https://github.com/YunoHost-Apps/grav_yn
I have this debbug info : https://paste.yunohost.org/raw/itamodineb

The backup filed reported as missing ( '/home/yunohost.backup/archives/20190508-122159.tar.gz) actualy exist on my server.

Thx for your help ! :slight_smile:

Hello,

I’m not a dev’ so I can’t have a good analyze of the log. Otherwise the php version is linked to the stable Debian version currently used.

ppr

You have an error on

yunohost backup list

This error doesn’t let you upgrade your grav instance.

Could you display the output of:

ls -l /home/yunohost.backup/archives/

About the current version package in yunohost it’s v1.5.3.

Here is the result

-rw-r--r-- 1 root root       1921 May  4 19:02 20190504-170236.info.json
-rw-r--r-- 1 root root 2814113732 May  4 19:23 20190504-170236.tar.gz
-rw-r--r-- 1 root root       1921 May  8 13:39 20190508-112644.info.json
lrwxrwxrwx 1 root root         75 May  8 13:39 20190508-112644.tar.gz -> /mnt/backup.luks/yunohost.archives/2019-05-08_13h26m/20190508-112644.tar.gz
-rw-r--r-- 1 root root       1921 May  8 13:55 20190508-114404.info.json
lrwxrwxrwx 1 root root         75 May  8 13:55 20190508-114404.tar.gz -> /mnt/backup.luks/yunohost.archives/2019-05-08_13h43m/20190508-114404.tar.gz
-rw-r--r-- 1 root root       1921 May  8 14:11 20190508-115835.info.json
lrwxrwxrwx 1 root root         75 May  8 14:11 20190508-115835.tar.gz -> /mnt/backup.luks/yunohost.archives/2019-05-08_13h58m/20190508-115835.tar.gz
-rw-r--r-- 1 root root       1921 May  8 14:34 20190508-122159.info.json
lrwxrwxrwx 1 root root         75 May  8 14:34 20190508-122159.tar.gz -> /mnt/backup.luks/yunohost.archives/2019-05-08_14h21m/20190508-122159.tar.gz
-rw-r--r-- 1 root root       2064 May  8 20:13 20190508-180009.info.json
lrwxrwxrwx 1 root root         75 May  8 20:13 20190508-180009.tar.gz -> /mnt/backup.luks/yunohost.archives/2019-05-08_20h00m/20190508-180009.tar.gz
-rw-r--r-- 1 root root       2064 May 11 17:02 20190511-144907.info.json
lrwxrwxrwx 1 root root         75 May 11 17:02 20190511-144907.tar.gz -> /mnt/backup.luks/yunohost.archives/2019-05-11_16h49m/20190511-144907.tar.gz
-rw-r--r-- 1 root root       2064 May 26 02:13 20190526-000010.info.json
lrwxrwxrwx 1 root root         75 May 26 02:13 20190526-000010.tar.gz -> /mnt/backup.luks/yunohost.archives/2019-05-26_02h00m/20190526-000010.tar.gz
-rw-r--r-- 1 root root       2064 May 26 16:20 20190526-141410.info.json
lrwxrwxrwx 1 root root         75 May 26 16:20 20190526-141410.tar.gz -> /mnt/backup.luks/yunohost.archives/2019-05-26_16h14m/20190526-141410.tar.gz
-rw-r--r-- 1 root root 5982366826 May 26 17:18 20190526-151020.tar.gz
-rw-r--r-- 1 root root        266 May 26 17:19 20190526-151907.info.json
-rw-r--r-- 1 root root    9688559 May 26 17:19 20190526-151907.tar.gz

I have some links that weren’t resolvable because my backup disk was unmounted. I mounted it and the upgrade went well ! Thx :smiley:

But I still can’t upgrade in the web interface because of the php error. I don t understand why php is not up to date. I m on Debian strech and I have run apt install update and apt install upgrade

apparently its a default from the package : https://github.com/YunoHost-Apps/grav_ynh/issues/16

PHP version in debian stretch is 7.0. Some package install themself php7.1+ but grav doesn’t.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.