commit 264d1fd750741fe4fe1d461d8bae400651425262 Author: xfuture Date: Mon Nov 2 17:41:42 2020 +0100 „Update Nextcloud“ hinzufügen diff --git a/Update-Nextcloud.md b/Update-Nextcloud.md new file mode 100644 index 0000000..e4ae011 --- /dev/null +++ b/Update-Nextcloud.md @@ -0,0 +1,26 @@ +### update my nextcloud instance to the latest version + +Background: wanted to keep my nextcloud instance up2date + +verify your git remote repository (in your nextcloud workdir): +```bash +root$ git remote -v + +Output: +origin https://your_user@git.zom.bi/zombi/nextcloud (fetch) +origin https://your_user@git.zom.bi/zombi/nextcloud (push) +``` +
+ +pull latest changes from our master branch: +```bash +root$ git pull +``` +
+build from our new docker-compose file; enable maintenance mode; start docker container; upgrade nextcloud; disable maintenance mode: + +```bash +root$ docker-compose build && docker-compose exec webservice sudo -u www-data php occ maintenance:mode --on && docker-compose up -d && docker-compose exec webservice sudo -u www-data php occ upgrade && docker-compose exec webservice sudo -u www-data php occ maintenance:mode --off +``` + +
\ No newline at end of file