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

sommerset@thelemmy.club on 07 Nov 11:37 collapse

I’m not sure it’s that important. Plenty of projects have good licenses. Like strapi is mit.

Only they don’t gonna accept any of your contributions anyways. Try changing something they don’t like they not gonna accept it.

So there is no corporate takeover, but only on the paper. No sure u are free to fork and work on the fork. For free. Good luck with that

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?

dogs0n@sh.itjust.works on 06 Nov 01:29 next collapse

If it works for you, there’s no reason not to keep using it.

If it looks like an upgrade in performance and simplicity and you think it’s worth swapping, then you could consider it, though personally I’d wait until it’s a bit more mature/proven (maybe it is already idk).

Melusine@tarte.nuage-libre.fr on 06 Nov 15:10 next collapse

I am currently running nextcloud for myself. I think about migrating to opencloud, or something lighter like sftpgo to only have file and online file editor, and using a dedicated app for photo backups. Also, the UI is quite heavy on nextcloud, and opencloud’s UI seems lighter and faster.

If nextcloud works for you, keep on :)

fodor@lemmy.zip on 07 Nov 09:42 collapse

Although people mention efficiency, for many setups we just don’t care. If it ain’t broke for you, don’t fix it. Wait, revisit the issue a year or two from now.

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.

Melusine@tarte.nuage-libre.fr on 06 Nov 15:08 collapse

At least they are searchable. We use outline at work and try to find some stuf on search engines for it XD

Imagine adding OpenDesk to the mix

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.

ChillPC@programming.dev on 06 Nov 08:46 next collapse

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.

gedaliyah@lemmy.world on 06 Nov 14:02 collapse

Why use a software that requires an involved workaround when there is software available that already does it?

Nothing against NextCloud, buy it’s not the only solution available, and people have different needs.

ikidd@lemmy.world on 07 Nov 02:56 collapse

The files and folders of NC are outside of the database. They are fully browseable in the filesystem. The database is just there for the metadata.

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

nfreak@lemmy.ml on 05 Nov 22:42 collapse

I’ve just accepted it for now while I pray they work on updating it to officially support anything that’s not keycloak lmao

gergolippai@lemmy.world on 06 Nov 03:45 next collapse

Reading through the comments, thisnwill get very confusing with the naming…

bklrzn@lemmy.bklrzn.me on 06 Nov 15:22 next collapse

I’m testing it since yesterday next to my current nextcloud inatance. It is much more lightweight than nextcloud and suits my needs perfectly when it comes to features. Buuuut… for now I can’t migrate to it because of issues I have with android app, I’m using authelia as IdP and after I finally made it to work together I’m constantly logged out from the mobile app, there are few unresolved issues on github that after those are sorted out I hope I can make a switch. For now I will stay with nextcloud

amateurcrastinator@lemmy.world on 06 Nov 17:15 collapse

The nextcloud android app I use it to get a file off the server but not much more. Are you saying that the opencloud app can’t even be used for that at the moment?

bklrzn@lemmy.bklrzn.me on 06 Nov 19:02 collapse

Probably depends if you are going to use external Identity provider or not, in my case I want to use it authenticating with Authelia - which NextCloud can handle but I coulndn’t make it to work properly with OpenCloud. Those issues seems to be related:

Edit: if you not using external Identity Provider you should be fine though

amateurcrastinator@lemmy.world on 07 Nov 13:15 collapse

But does open cloud have its own auth system? I have been using the next loud auth with the two factor authentication and it has worked fine so far.

bklrzn@lemmy.bklrzn.me on 07 Nov 21:16 collapse

It has built-in auth system, but it doesn’t support 2fa, and as they wrote on this github issue github.com/opencloud-eu/opencloud/issues/1695 - they are not planning to add it in the nearest future.

greylinux1@lemmy.ml on 07 Nov 08:36 next collapse

I’ve genuinely been thinking the same lately , Nextcloud keep implementting new features and AI crap etc etc , but should be working on stability, reliability and improving performance. Since the last update , talk won’t connect video calls on the Nextcloud AIO which was designed to make it easy. Time to look else where for similar projects like opencloud for files , immich for photos and maybe something like Jitsu for calls and chat.

sommerset@thelemmy.club on 07 Nov 11:26 collapse

Official open cloud docs mention rclone.

Alternatively I think u can just copy files directory and restart opencloud. I think it supposed to recognize them.

amateurcrastinator@lemmy.world on 07 Nov 13:13 collapse

Sound good. I’ll start testing soon