mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-24 05:31:04 +01:00
optimized update procedures
This commit is contained in:
parent
ba82ebce3c
commit
a89464d364
@ -103,7 +103,10 @@ def update_docker(directory):
|
||||
|
||||
def update_nextcloud():
|
||||
print("Start Nextcloud update procedure.")
|
||||
update_procedure("docker-compose exec -T -u www-data application /var/www/html/occ upgrade")
|
||||
update_procedure("docker-compose exec -T -u www-data application /var/www/html/occ maintenance:repair")
|
||||
update_procedure("docker-compose exec -T -u www-data application /var/www/html/occ app:update --all")
|
||||
update_procedure("docker-compose exec -T -u www-data application /var/www/html/occ maintenance:mode --off")
|
||||
|
||||
def update_discourse(directory):
|
||||
os.chdir(directory)
|
||||
|
Loading…
Reference in New Issue
Block a user