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?

  • bitwolf@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    13 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.

    • ZeldaFreak@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 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
        ·
        8 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.

    • stalker@lemmy.ml
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      12 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
        2
        ·
        9 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.