help.nextcloud.com is for home/non-enterprise users. If youâre running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isnât supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): Nextcloud Hub II (23.0.4)
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-65-generic x86_64)
The issue you are facing:
Hello,
I have a nextcloud installation that I am looking to keep up to date.
I updated the application part a few weeks ago and I am now in the âNextcloud Hub II (23.0.4)â version, no problem to report.
That said, I have a question about updating the OS (Ubuntu 20.04.1 LTS currently).
First, is there a way to know if my installation was done via the VM image (provided by nextcloud) or if the technician at the time installed an ubuntu OS then installed nexcloud on it?
Then, are there any known problems updating the OS (latest version LTS 22.04 via ubuntu commands) or is it recommended not to upgrade in relation to compatibility with nextcloud (and this for the case where we would have started from a fresh installation of ubunbtu or the VM offered by nexcloud)?
Are you using NextCloud in a VM or is it a physical installation on dedicated hardware?
Secondly, what type of installation is it? Native (via LAMP or something else?) - Docker - Snap?
Ubuntu 20 LTS is still supported with regular security update so unless you are facing any issue or need a feature which is only available with 22 LTS, then upgrading isnât necessary !!
Server is supposed to run stable / reliable and long term, every Ubuntu LTS versions are released with that in mind, so they will continue to receive security related update for long term.
Lastly, donât forget to properly backup the present system and data if you go ahead with OS upgrade, donât take any chance with your DATA
I think the update to Ubuntu 22.04 LTS is useful.
Ubuntu 20.04 LTS is shipped with PHP 7.4 link
Ubuntu 22.04 LTS is shipped with PHP 8.1 link
Read Nextcloud requirements. I think in the next Nextcloud versions PHP 7.4 is not possible. Yes you also can use third party sources for getting PHP 8.1 in Ubuntu 20.04 LTS.
First of all, thank you for taking the time to read my question and answer me.
My nextcloud installation runs on a VM (an ESXi 7 hypervisor), so with a snapshot mechanism if your idea was to have security for rollback in the event of a problem during an update
As for the second question, Iâm not sure of anything, but I have clues.
There is no docker software on the machine so I rule out this possibility.
Then concerning snap here is what I have with the âsnap listâ command:
Name Version Rev Tracking Publisher Notes
core18 20220428 2409 latest/stable canonicalâ base
core20 20220527 1518 latest/stable canonicalâ base
lxd 4.0.9-8e2046b 22753 4.0/stable/⌠canonicalâ -
snapd 2.56 16010 latest/stable canonicalâ snapd
So I guess I donât have nextcloud via snap.
Then if I run a âlocate nextcloudâ, I canât find any archives, this makes me think that I may be dealing with an âALL-IN-ONE VM IMAGEâ installation, what do you think?
Do we agree that nextcloud cannot be installed via apt, there is no change if it is listed via the âdpkg -lâ command?
Regarding the OS update, I agree not to upgrade from 20.04 to 22.04 if it is still under support.
On the other hand in version 20.04 there are several sub-versions, 20.04.1; 20.04.2, 20.04.3,⌠is there any contraindication to follow these updates whether I am in native installation or via the all in one VM?