add trusted proxy, post-install/upgrade hooks, occ docs and admin review
- 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>
This commit is contained in:
10
nextcloud/hooks/post-upgrade.sh
Executable file
10
nextcloud/hooks/post-upgrade.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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."
|
||||
Reference in New Issue
Block a user