[SAC] [OSGeo] #2243: Upgrade to nextcloud latest (was: Upgrade to nextcloud 15.0.5)

OSGeo trac_osgeo at osgeo.org
Wed Mar 4 08:42:05 PST 2020


#2243: Upgrade to nextcloud latest
---------------------------+---------------------------------------
 Reporter:  robe           |       Owner:  sac@…
     Type:  task           |      Status:  new
 Priority:  normal         |   Milestone:  Sysadmin Contract 2020-I
Component:  Systems Admin  |  Resolution:
 Keywords:  nextcloud      |
---------------------------+---------------------------------------
Description changed by robe:

Old description:

> We are running nextcloud 15.0.0 and 15.0.0.2 came out a couple of days
> ago.  It doesn't have that many bug fixes, but the 15.0.0.1 version does
> have a lot of bug fixes.
>
> I did an experimental upgrade and it will require probably about
> 30minutes - 1 hour of downtime.
>
> They have an online upgrade which I tried but it timed out doing backup
> etc, and since we don't really need our data backed up since I can
> snapshot the container before upgrade, seems better to go with the manual
> upgrade.
>
> I'm also thinking of moving the data folder out of nextcloud folder and
> have on same level
>

> I took the defaults during install which created a path like this:
>

> {{{
> /var/www/nextcloud
> /var/www/nextcloud/data
> }}}
>
> I'd like to change it to this:
>
> {{{
> /var/www/nextcloud
> /var/www/nextcloud-data
> }}}
>
> Main reasons for changing it, is
>
> 1) I think it's better to not have the data in the web folder just in
> case their is na nginx misconfiguration and it makes that exposed.
>
> 2) During these upgrades the upgrade steps are to
>
> mv nextcloud nextcloud-old
>
> and then copy/move over the data folder and any 3rd party apps you may
> have.
> I would do the move since I would do a snapshot of the vm anyway before
> hand.
> I'd much rather not having to worry about moving/copying the data folder
> back in place.
>
> I've taken a backup of the nextcloud image and other containers until we
> have the general backup routine sorted out.

New description:

 Current version is 18

 We are running nextcloud 15.0.0 and 15.0.0.2 came out a couple of days
 ago.  It doesn't have that many bug fixes, but the 15.0.0.1 version does
 have a lot of bug fixes.

 I did an experimental upgrade and it will require probably about 30minutes
 - 1 hour of downtime.

 They have an online upgrade which I tried but it timed out doing backup
 etc, and since we don't really need our data backed up since I can
 snapshot the container before upgrade, seems better to go with the manual
 upgrade.

 I'm also thinking of moving the data folder out of nextcloud folder and
 have on same level


 I took the defaults during install which created a path like this:


 {{{
 /var/www/nextcloud
 /var/www/nextcloud/data
 }}}

 I'd like to change it to this:

 {{{
 /var/www/nextcloud
 /var/www/nextcloud-data
 }}}

 Main reasons for changing it, is

 1) I think it's better to not have the data in the web folder just in case
 their is na nginx misconfiguration and it makes that exposed.

 2) During these upgrades the upgrade steps are to

 mv nextcloud nextcloud-old

 and then copy/move over the data folder and any 3rd party apps you may
 have.
 I would do the move since I would do a snapshot of the vm anyway before
 hand.
 I'd much rather not having to worry about moving/copying the data folder
 back in place.

 I've taken a backup of the nextcloud image and other containers until we
 have the general backup routine sorted out.

--

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2243#comment:6>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list