selfhost/nextcloud/update-nc.sh

19 lines
402 B
Bash
Executable file

#/bin/bash/
function occ {
docker compose --project-directory /home/flz/git/selfhost/nextcloud exec --user www-data app php occ "$@"
}
#docker compose build --pull
#docker compose pull --ignore-buildable
#occ status
#docker compose up -d
#watch docker compose ps
occ upgrade
occ maintenance:repair
occ db:add-missing-indices
occ db:add-missing-columns
occ db:add-missing-primary-keys
occ status