improve nextcloud update script
This commit is contained in:
parent
cbb68cdbd3
commit
884e5cb044
1 changed files with 15 additions and 7 deletions
|
@ -1,11 +1,19 @@
|
||||||
|
#/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 build --pull
|
||||||
#docker compose pull --ignore-buildable
|
#docker compose pull --ignore-buildable
|
||||||
#docker compose --project-directory /home/flz/git/selfhost/nextcloud exec --user www-data app php occ status
|
#occ status
|
||||||
#docker compose up -d
|
#docker compose up -d
|
||||||
#watch docker compose ps
|
#watch docker compose ps
|
||||||
docker compose --project-directory /home/flz/git/selfhost/nextcloud exec --user www-data app php occ upgrade
|
|
||||||
docker compose --project-directory /home/flz/git/selfhost/nextcloud exec --user www-data app php occ maintenance:repair
|
occ upgrade
|
||||||
docker compose --project-directory /home/flz/git/selfhost/nextcloud exec --user www-data app php occ db:add-missing-indices
|
occ maintenance:repair
|
||||||
docker compose --project-directory /home/flz/git/selfhost/nextcloud exec --user www-data app php occ db:add-missing-columns
|
occ db:add-missing-indices
|
||||||
docker compose --project-directory /home/flz/git/selfhost/nextcloud exec --user www-data app php occ db:add-missing-primary-keys
|
occ db:add-missing-columns
|
||||||
docker compose --project-directory /home/flz/git/selfhost/nextcloud exec --user www-data app php occ status
|
occ db:add-missing-primary-keys
|
||||||
|
occ status
|
||||||
|
|
Loading…
Reference in a new issue