Imposible de mettre à jour Nextclod de la 27 à la 28

Hi,

I’m trying to update my Yunohost server and it fails with Nextcloud from 27.0.2~ynh1 to 28.0.3~ynh2

My YunoHost server

Hardware: Raspberry Pi at home
YunoHost version: 11.2.10.3
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain: Nextcloud data files are on an external hard drive, so folder /home/yunohost.app/nextcloud/data is a softlink to a folder on that drive.
If your request is related to an app, specify its name and version: Nextcloud 27.0.2~ynh1

Description of my issue

Nextcloud update from 27.0.2~ynh1 to 28.0.3~ynh2 fails.

From the Web UI I had the message backup failed as

Source path ‘’ does not exist

https://paste.yunohost.org/raw/wanicovube

So I tried to skip the backup from the command line with

sudo yunohost app upgrade nextcloud -b

but it still failed. The log :

https://paste.yunohost.org/raw/selojizuxi

I don’t know how to move forward with this problem and would really appreciate any help I could get.

The issue comes from the variable final_path which is empty.
Executing yunohost app setting nextcloud final_path -v /var/www/nextcloud should solve it.

1 Like

It worked, thank you so much.

The backup still didn’t work so I had to update nextcloud with the ‘-b’ option, but after the update even the backup works.

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