Migration Owncloud Nextcloud

Nice ! It’s done :slight_smile: thank you @JimboJoe.
I just got some warnings during upgrade, don’t know if it’s a real problem …

  1. Execute manually the owncloud_post_migration.sh script : just execute each command line replacing old_app and new_app respectively by owncloud and nextcloud (don’t know why but the hooks were already moved)
  2. 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/

  1. 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

1 Like