fukuops/scripts/nc-add-indices.sh
cătălin 3f69361a1d
Some checks failed
checks / pre-commit (push) Successful in 53s
checks / k8s (push) Successful in 25s
checks / tflint (push) Successful in 22s
OpenTofu deployments / authentik (push) Successful in 48s
OpenTofu deployments / adguard (push) Failing after 52s
feat: add nc_{add-indices,htaccess,upgrade}.sh scripts
2024-08-07 14:20:45 +02:00

5 lines
188 B
Bash
Executable file

#!/usr/bin/env sh
script_dir=$(dirname "$(readlink -f "$0")")
cd "$script_dir/../docker/nextcloud" || exit 1
docker compose exec nextcloud sudo -u www-data php occ db:add-missing-indices