====== WHITERUN ====== ===== Container Station ===== ==== Update process ==== - Pull the latest version of the images of the containers: in Container Station / Images click on the gear icon and select "Pull" from the menu. Indicate the image name and indicate the version you like or leave as it defaults to "latest". Wait for the background process to finish the download. - Go to the "Applications" tab, select the Container, click on the "Edit" button dropdown, and select "Recreate." - Click on "Update" without changing anything else. The containers for which the base images have changed will automatically be rebuilt. - Return to Images and check that the older image is now "Unused" and delete it. ===== Nextcloud ===== Manual upgrade docker exec -u 33 -it nextcloud php -d memory_limit=512M occ maintenance:mode --on docker exec -u 33 -it nextcloud php -d memory_limit=512M occ upgrade docker exec -u 33 -it nextcloud php -d memory_limit=512M occ maintenance:mode --off docker exec -u 33 -it nextcloud php -d memory_limit=512M occ status Edit config sudo nano /share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/volumes/nextcloud_nextcloud/_data/config/config.php Docker compose file (E:\Developed\Docker\WHITERUN\Nextcloud.txt) version: '2' volumes: nextcloud: networks: app-tier: driver: bridge services: app_nextcloud: image: nextcloud container_name: nextcloud restart: unless-stopped networks: - app-tier ports: - 8082:80 volumes: - nextcloud:/var/www/html environment: - PUID=1000 - PGID=1000 - TZ=Australia/Perth - MYSQL_PASSWORD=itsasecret - MYSQL_DATABASE=nextcloud_whiterun - MYSQL_USER=nextcloud_whiterun - MYSQL_HOST=192.168.1.69 (Mostly) working config '/', 'memcache.local' => '\\OC\\Memcache\\APCu', 'apps_paths' => array ( 0 => array ( 'path' => '/var/www/html/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ( 'path' => '/var/www/html/custom_apps', 'url' => '/custom_apps', 'writable' => true, ), ), 'upgrade.disable-web' => true, 'instanceid' => 'ocxseo1ca8zi', 'passwordsalt' => '0FQOLHBsmIYjSnCwkKlEAe90HIgqH6', 'secret' => 'pkZXebzcZoDT8XefCUfd8mMl7UDeQd2Ggu2qzj+E6m7aEQmT', 'trusted_domains' => array ( 0 => 'whiterun:8082', 1 => 'nextcloud.phlaange.duckdns.org', 2 => 'whiterun.lan:8082', 3 => 'cloud.seanys.com', ), 'datadirectory' => '/var/www/html/data', 'dbtype' => 'mysql', 'version' => '28.0.1.1', 'overwrite.cli.url' => 'https://nextcloud.phlaange.duckdns.org', 'overwriteprotocol' => 'https', 'dbname' => 'nextcloud_whiterun', 'dbhost' => 'rpi64-wired', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'nextcloud_whiterun', 'dbpassword' => 'go.]3BUEzfICjhs(', 'installed' => true, ); ==== References ==== [[https://forum.qnap.com/viewtopic.php?p=853498|[HOW TO] Quick and easy way to update applications' containers base image]] {{tag>[WHITERUN NextCoud]}}