[SAC] [OSGeo] #2826: Upgrade nextcloud-ubuntu from 20.04 to 22.04

#2826: Upgrade nextcloud-ubuntu from 20.04 to 22.04
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Keywords:
---------------------------+---------------------------------------
Nextcloud is currently running 20.04. Should be upgraded.

Not super urgent as it's running PHP 7.4, which is safe enough at the
moment.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2826&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2826: Upgrade nextcloud-ubuntu from 20.04 to 22.04
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by robe):

I'm in middle of this upgrade so things are up and down at moment.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2826#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2826: Upgrade nextcloud-ubuntu from 20.04 to 22.04
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by robe):

So upgrade is also upgrading to PHP 8.1 and will need to upgrade the
PostgreSQL as well. So I might as well immediately after move to straight
to #2870 which will have better php 8.1 support.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2826#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2826: Upgrade nextcloud-ubuntu from 20.04 to 22.04
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+---------------------------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed

Comment:

Had to also change the /etc/nginx/sites-enabled/nextcloud.local

to use fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;

instead of fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;

Spot check things seem to be working now. And though we seem to have
postgresql 11 libraries, I had upgraded it a while ago to postgresql 12,
so no pressing reason to do the postgresql upgrade.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2826#comment:4&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.