Update.sh 631 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. admin=root
  3. Passwordadmind=
  4. ContainerName=Nextcloud
  5. Path="/mnt/bigpart/Docker_files/"$ContainerName
  6. sh $Path/Stop.sh
  7. sh $Path/tmpfs_backup.sh
  8. docker pull nextcloud:fpm
  9. docker pull nginx # (stable-alpine error on config.ini (current version 1.15.8)
  10. docker pull postgres:10 # (nextcloud diddent support 11 at thist time 3-2-19)
  11. echo "restart and hope update go fine"
  12. sh $Path/Start.sh
  13. echo "----------------------------------------------------------------------------------------------------------"
  14. echo "wait for nextcloud to fully started (and updating)"
  15. echo "open browser and login to complite update"