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.













Lemmy’s databse schema was updated for 1.0. I hope that will address many of the performance problems. It’s due to release soonish. The beta is just around the corner.