- Add TRUSTED_PROXIES=caddy to fix reverse proxy header warning - Add post-installation hook: maintenance window, phone region, DB indices, MIME migrations - Add post-upgrade hook: DB indices and MIME migrations - Add occ commands section to README - Add nextcloud-review.md with admin warning fixes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
243 B
Bash
Executable File
11 lines
243 B
Bash
Executable File
#!/bin/bash
|
|
set -eu
|
|
|
|
echo "==> Post-upgrade: adding missing DB indices..."
|
|
php occ db:add-missing-indices
|
|
|
|
echo "==> Post-upgrade: running MIME type migrations..."
|
|
php occ maintenance:repair --include-expensive
|
|
|
|
echo "==> Post-upgrade: done."
|