I am migrating Nextcloud from a CORE to a server running TrueNAS SCALE. Has anyone done this successfully? It seems like it must be a common issue but haven’t seen a lot of discussion.
The biggest issue seems to be that the core app uses mysql backend and the official scale app uses postgresql so even if i manage to import the database it wouldnt be compatible.
I could use a big blue button installs of nextcloud and mysql docker containers, but that seems like it would be more trouble in the long run.
I think I will have to reconstruct the database after moving the files into the new data directory. I don’t have much experience with containerized apps. I will have to figure out how to run occ commands as www-data but I don’t have access this user if I open a shell inside the app. will probably need to run from outside the container, something like k3s kubectrl nextcloud … su www-data occ…
If people have been able to do this. I and I’m sure others in the community would love to hear any tips and suggestion for navigating this process.
Thanks
The biggest issue seems to be that the core app uses mysql backend and the official scale app uses postgresql so even if i manage to import the database it wouldnt be compatible.
I could use a big blue button installs of nextcloud and mysql docker containers, but that seems like it would be more trouble in the long run.
I think I will have to reconstruct the database after moving the files into the new data directory. I don’t have much experience with containerized apps. I will have to figure out how to run occ commands as www-data but I don’t have access this user if I open a shell inside the app. will probably need to run from outside the container, something like k3s kubectrl nextcloud … su www-data occ…
If people have been able to do this. I and I’m sure others in the community would love to hear any tips and suggestion for navigating this process.
Thanks