moving from nextcloud to opencloud
from amateurcrastinator@lemmy.world to selfhosted@lemmy.world on 05 Nov 13:44
https://lemmy.world/post/38365734

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?

#selfhosted

threaded - newest

HelloRoot@lemy.lol on 05 Nov 13:59 next collapse

i moved to sftpGO instead and am quite happy

PotatoesFall@discuss.tchncs.de on 05 Nov 14:21 next collapse

I’ve never heard of this but looks very cool!

brewery@feddit.uk on 05 Nov 14:32 next collapse

Is it possible just to copy your files on your laptop\desktop to the opencloud folder once it’s setup and wait for them to sync? It might take a while but would be the easiest, plus giving you a backup copy on your hardware.

Auli@twit.social on 05 Nov 14:49 next collapse

@amateurcrastinator so funny. Wasn't nextxloud starters because decisions Opencloud made?

Ah my mistake it was Owncloud.

corsicanguppy@lemmy.ca on 05 Nov 21:25 collapse

Yep. But owncloud went from old and idle to active again. It seems to be a more LTS take on it where NextCloud is your All Features Faster mandate.

Just show me the one that doesn’t rely on containers, venvs, npm or other supply-chain risks.

DoPeopleLookHere@sh.itjust.works on 05 Nov 15:23 next collapse

Is it maintained? I just looked up their GitHub and it’s been 4 years, and the repo is archived. I wouldn’t install if it’s not getting updates…

EDIT: I was looking at an old project. See replies for more details.

Unforeseen@sh.itjust.works on 05 Nov 15:29 next collapse

The last release was 4 days ago. You must be looking at the wrong project

github.com/opencloud-eu/opencloud

DoPeopleLookHere@sh.itjust.works on 05 Nov 16:20 collapse

I was indeed. Kagi gave me an og repo.

rozlav@lemmy.blahaj.zone on 05 Nov 16:07 collapse

Mmmh, maybe it was wrong repo, this one seems moar accurate I guess : github.com/opencloud-eu/opencloud

DoPeopleLookHere@sh.itjust.works on 05 Nov 16:20 collapse

I was indeed looking at an old one

traceur201@piefed.social on 05 Nov 16:09 next collapse

What are the benefits? They’d have to be pretty big to make it worth switching away from nextcloud’s copyleft license imo

amateurcrastinator@lemmy.world on 05 Nov 16:16 next collapse

I have no clue about the licensing, it appears to be a European project so I figured I could try it for a bit. But I realize a better approach would be to just test it out with a few unimportant files before I commit to it.

I have been using nextcloud for about 5 year now. So I have quite a few file and about 5 users on my instance

ChaosInstructor@lemmy.world on 05 Nov 16:38 collapse

Nextcloud is an European project too.

amateurcrastinator@lemmy.world on 05 Nov 17:46 collapse

I only heard about open loud when the European criminal court made a. Announcement that they will drop Ms office 365 for this opencloud and I got excited. Makes me wonder why they didn’t go for next loud if it is European too?

ShortN0te@lemmy.ml on 05 Nov 18:15 collapse

They went with OpenDesk, which uses Nextcloud as Cloud System.

Where have you read that they are going to switch to OpenCloud?

amateurcrastinator@lemmy.world on 05 Nov 22:02 collapse

shit i think what happened is I read about that announcement and got excited and then started hunting for that opendesk and somehow landed on opencloud. now i am even more confuse because opendesk seems to be more compatible with nextcloud but opencloud seems faster. i have to keep digging and run some tests this weekend

gedaliyah@lemmy.world on 05 Nov 20:43 collapse

They have similar licences.

NextCloud server is AGPL 3.0

OpenCloud server is Apache 2.0

traceur201@piefed.social on 05 Nov 20:59 collapse

AGPL is a strong copyleft license that prevents corporate takeover of the project, and Apache is a fully permissive license that does not. They could hardly be more different

Melusine@tarte.nuage-libre.fr on 05 Nov 16:27 next collapse

For people wondering about the source of the project:

  • at first there was Ownlcoud
  • when the business model proved conflictuous with community management, Nextcloud was born
  • when PHP proved not good enough, Owncloud Infinite Scale was born
  • when some dev were not happy with kiteworks, current owner of the dev company, the left to create Opencloud based on Owncloud Infinite Scale

Kiteworks threatened them about illegal worker theft, they were not happy a lot of dev left for the fork, and as an american company, they don’t know worker right.

HappyFrog@lemmy.blahaj.zone on 05 Nov 19:28 next collapse

So… I should just continue using nextcloud?

paper_moon@lemmy.world on 05 Nov 19:47 collapse

sigh the naming of these projects… I know if you’ve been paying attention to development projects then the similarities in naming helps you, you can assume 1 project was forked from another and vaguely already know what the project does, is used for, etc. But for nontechnical newbies I’m sure its confusing as hell having like 4 products all named similarly and you have no idea why or what the difference is and which one to choose.

Anyway, thanks for spelling it out, for anyone confused.

bitwolf@sh.itjust.works on 05 Nov 16:39 next collapse

OpenCloud has made a conscious decision not to use relational databases and instead uses files to store metadata. This decision simplifies the system considerably and at the same time helps to improve scalability and system stability.

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.

stalker@lemmy.ml on 05 Nov 18:02 next collapse

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)?

gedaliyah@lemmy.world on 05 Nov 20:39 collapse

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.

ZeldaFreak@lemmy.world on 05 Nov 20:25 collapse

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.

bjoern_tantau@swg-empire.de on 05 Nov 22:00 collapse

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-indices

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

nfreak@lemmy.ml on 05 Nov 20:07 collapse

I made the switch a few months back. Manually migrated my files over using the desktop apps for both, but it was maybe 200GB of junk so it didn’t take long.

OpenCloud is great. Much faster, much simpler, does what it needs to do. That being said, it is very new so documentation is lacking, and the desktop and mobile app are VERY basic (the mobile app doesn’t have a dark theme and only offers a limited photo sync right now, for example, instead of setting various one or two-way synced folders).

It’s also worth nothing that their compose file and OIDC support are both a mess. The compose file is easy enough to work around, plenty of folks have put together cleaner, minimal single file setups. For OIDC, I did get it working with Authentik but it loves to constantly log me out mid-session in Librewolf all the time. For some reason they use a hard-coded clientID for OIDC, and even worse the ID is different for web, desktop, and mobile. Very bizarre.

So it’s far from flawless, but it’s early in development and overall it’s still a better fit for me than Nextcloud.

cmos@sh.itjust.works on 05 Nov 21:41 collapse

Good to know I’m not the only one. I just set up OpenCloud with Authentik OIDC and I see those auto logouts too (like after 5 minutes). Haven’t started debugging yet.