selfhost/nextcloud/update-nc.sh

20 lines
422 B
Bash
Raw Permalink Normal View History

2024-03-05 08:07:05 +01:00
#/bin/bash/
function occ {
docker compose --project-directory /home/flz/git/selfhost/nextcloud exec --user www-data app php occ "$@"
}
2023-11-02 13:07:28 +01:00
#docker compose build --pull
#docker compose pull --ignore-buildable
2024-03-05 08:07:05 +01:00
#occ status
2023-11-02 13:07:28 +01:00
#docker compose up -d
#watch docker compose ps
2024-03-05 08:07:05 +01:00
occ upgrade
occ maintenance:repair --include-expensive
2024-03-05 08:07:05 +01:00
occ db:add-missing-indices
occ db:add-missing-columns
occ db:add-missing-primary-keys
occ status