Nice ! It’s done thank you @JimboJoe.
I just got some warnings during upgrade, don’t know if it’s a real problem …
- Execute manually the owncloud_post_migration.sh script : just execute each command line replacing
old_app
andnew_app
respectively byowncloud
andnextcloud
(don’t know why but the hooks were already moved) - Get the new scripts in /etc/yunohost/apps/nextcloud/scripts/
cd /etc/yunohost/apps/nextcloud/
cp -R scripts/ old_scripts
rm -rf scripts/* && cd scripts
git clone GitHub - YunoHost-Apps/nextcloud_ynh: Nextcloud package for YunoHost
mv nextcloud_ynh/scripts/* ./
rm -Rf nextcloud_ynh/
- Upgrade with
yunohost tools upgrade
Warning: Upgrading app jirafeau…
Warning: Upgrading app nextcloud…
Warning: Data dir will not be saved, because backup_core_only is set.
Warning: dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
Warning: Note that if you’ve installed some third-parties Nextcloud applications, they are probably disabled and you’ll have to manually enable them again.
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
> Success! nextcloud has been upgraded
Warning: Upgrading app opensondage…
Warning: Upgrading app wallabag2…
Warning: Upgrading app zerobin…
Success! The SSOwat configuration has been generated
Success! Upgrade complete
Success! The system has been upgraded