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?

  • gergo@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 hours ago

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

  • Melusine@tarte.nuage-libre.fr
    link
    fedilink
    Français
    arrow-up
    21
    ·
    19 hours ago

    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.

    • paper_moon@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      16 hours ago

      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.

      • dogs0n@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 hours ago

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

  • nfreak@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    16 hours ago

    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
      link
      fedilink
      English
      arrow-up
      2
      ·
      14 hours ago

      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
        link
        fedilink
        English
        arrow-up
        2
        ·
        13 hours ago

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

  • bitwolf@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    19 hours ago

    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
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      18 hours ago

      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
        link
        fedilink
        English
        arrow-up
        1
        ·
        15 hours ago

        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
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 hours ago

          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.

    • ZeldaFreak@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      15 hours ago

      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.

      • Björn@swg-empire.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        14 hours ago

        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.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      14 hours ago

      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
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    19 hours ago

    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.

  • brewery@feddit.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    21 hours ago

    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.

  • traceur201@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    20 hours ago

    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.worldOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      19 hours ago

      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

        • amateurcrastinator@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          18 hours ago

          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
            link
            fedilink
            English
            arrow-up
            6
            ·
            17 hours ago

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

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

            • amateurcrastinator@lemmy.worldOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              14 hours ago

              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
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      15 hours ago

      They have similar licences.

      NextCloud server is AGPL 3.0

      OpenCloud server is Apache 2.0

      • traceur201@piefed.social
        link
        fedilink
        English
        arrow-up
        6
        ·
        15 hours ago

        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