![]() ![]() We, in this case, use a docker-compose ecosystem, so the section describing the NextCloud App container is looking like below: app: We need to know that updating the remote version is basically replacing the version of the NextCloud docker image used by our environment. In the second step, it will be easiest to configure the firewall of that cloned, test machine (preferably a cloud-provided firewall, not an operating system one) that only allows network traffic from and to the host from which we will carry out the upgrade process (at least SSH and HTTP ports). ![]() So we start out exactly the same – by taking a snapshot, but this time we’re recreating it as a clone of the original machine. This allows reducing the time the service is unavailable (downtime) to end-users. However, we prefer the second approach – that is, to clone the production environment and perform the upgrade test on it. The point is that in the course of quite lengthy upgrading works, users do not perform operations that would be lost in case of need of restoring. This approach is also acceptable, but it is worth remembering to switch the entire NextCloud environment to maintenance mode after taking a snapshot. #Qownnotes nextcloud docker update#Some people prefer to update the production environment ad-hoc, and the deployments at a cloud service provider are great for it – just take a snapshot of the NextCloud hosting machine, perform the update process, and when it fails, restore that snapshot. So, we have covered this case to help others looking to upgrade their dockerized NextCloud easily and safely. ![]() “Why to touch it when it works” – that was his answer! But you only need to look at the release plan of the NextCloud versions to find out that version 17 has been unsupported for a long time, and therefore, in particular, no security vulnerability fixes are issued for it. This writing was inspired by one of our clients, who, after a security audit, discovered that he was using NextCloud version 17 (we are in 2021). #Qownnotes nextcloud docker how to#In this post, we show how to upgrade the NextCloud platform in a secure way with the minimum downtime. This is especially true in the case of software exposed to Internet, and that is the most common scenario of NextCloud deployments. Keeping your software up-to-date is of key importance when it comes to security and efficiency. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |