• 11 Posts
  • 126 Comments
Joined 2 years ago
cake
Cake day: July 8th, 2023

help-circle







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