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?

  • ZeldaFreak@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 天前

    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
      ·
      4 天前

      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.