Written on 15. July 2022

Update Nextcloud in a docker environment

This article refers to the nextcloud docker-compose installation in this article https://stangneth.com/2022/02/02/nextcloud-with-docker-compose/#more-269

Go to your nextcloud homefolder and update the container-image.

cd /home/nextcloud
docker-compose up -d

The container-image is now updated but the nextcloud container itself not as you can see at the version number after login in to your nextcloud instance. You need to perform these additional command.

docker exec -it nextcloud updater.phar

Now recheck your version number if its updated.

Written on 2. February 2022

Nextcloud with docker-compose

Install nextcloud in a docker enviroment with docker-compose.

Installation

Folders

To store the database, www-path, and the local data I’ll create some persistent locations.

mkdir /home/nextcloud/data -p
mkdir /home/nextcloud/mysql -p
mkdir /home/nextcloud/appdata -p
Read more…