Hello all,
For a few days now I have been reading about the shiny new opencloud alternative to nextcloud. Has anyone tried to migrate from nextcloud to opencloud?
I have not found a guide about how to move the files from one to the other. I want to try it out and if I like it enough, move. But how does one do that?


Well color me convinced. The most frustrating part about updating Nextcloud is fixing the database schema.
I don’t even want a database I just want a lightweight webui for manage my files from a browser.
OpenCloud fits the bill much better.
not sure why you think this? You still have to have some state (you cannot just rehydrate state of file system upon restart and keep everything in mem). To rephrase, those who don’t understand databases are bound to reimplement them…poorly. Why you think upgrade of metadata schema in those files will be less of an issue on upgrades (surely this will happen, file format will change, just now without constraints, foreign keys, checks and with manual reindexing and manual query optimizations)?
Not OP, but having files and folder structures accessible in the OS helps with a lot of tasks and interoperability.
If I want to add media files to Jellyfin, etc, I can’t just drop them into the video folder remotely because I have it mapped to a particular folder on the drive. If I want to make a copy of a large folder, I first have to mount the cloud as a “remote” drive, then do the operation from there.
It’s much easier to access files and folders outside of a database if they are needed for anything outside of the cloud service. I know that there may also be some security and efficiency factors that make a database favorable, but in terms of ease of use, it is just more effort to use a fileserver that operates through a database.
You can totally do that in nextcloud. All your file structure is keeped in the directory of nextcloud. The database only keep metadatas about what is shared and such things. One soft that strip the file structure and store it only as metadata in a database is Seafile. For your usecase, you can drop your files in your nextcould directory at the right place and invoke the command
occ files:scan. It doesn’t watch for file changes, but you could certainly setup a Cron or a script to invoke it remotely.Databases are not the issue but that the updater doesn’t handle it… My personal instance and our work instance never take long (a few seconds) to fix the database. I mean the instance is already in maintenance mode and adding a checkbox to do it or not to do it, should be simple. I don’t know if there are instances where it takes long and its better to do it during the night.
I’ve made an update script that tries to run the migrations and index updates in one go.
#!/bin/bash /usr/bin/php8.3 /cloud/updater/updater.phar --no-interaction --no-backup /usr/bin/php8.3 /cloud/occ maintenance:repair --include-expensive /usr/bin/php8.3 /cloud/occ db:add-missing-indicesThe updater itself is by far the slowest of the three commands. I think downloading the new version into a different folder and just moving apps and files over would be much quicker. But I haven’t had the time to look at potential errors with that method.