Just for the archives: I got my owncloud 9.0.4 successfully migrated from a Debian into a plain FreeNAS jail (not using the plugin), following mostly this guide:
https://forums.freenas.org/index.php?threads/how-to-nextcloud-10-w-apache-php-and-mariadb.46111/
(though I used mysql and shortened some braindead paths like /usr/local/www/apache24/data/nextcloud ... this could also be /usr/local/www/nextcloud)
This took some steps (and many fails) to succeed:
- rsync config/* and data/*
- adjust paths from 9.0.4 in config.php
(+chown and all this stuff)
- update oc 9.0.4 to 9.0.8
- update oc 9.0.8 to 9.1 on target
- update oc 9.1 to nc 11.0.1
A direct upgrade to nc 10 failed as the activated server-side encryption didn't work afterwards, maybe it helps someone.
Michael
P.S.: yet working on certbot to auto-renew without stopping the webserver ;)