[SAC] [OSGeo] #2069: Upgrade Staging to Php7

#2069: Upgrade Staging to Php7
---------------------------+-------------------
Reporter: wildintellect | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+-------------------
I hadn't noticed this until #2057. We should not be deploying new sites on
php5. For long term security maintenance we ought to move to php7.

Clearly this got missed as we didn't closely review the work on the
contract early on. In order to make this switch we'll need to review if
any of the plugins in use would be broken.

Trying it out as noted here might be the fastest way.
https://themeisle.com/blog/upgrade-wordpress-to-php-7/

Knowing how to do this procedure should make some of the other open items
easier too.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2069&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2069: Upgrade Staging to Php7
---------------------------+-----------------------
Reporter: wildintellect | Owner: webcom@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: WebSite | Resolution:
Keywords: |
---------------------------+-----------------------
Changes (by wildintellect):

* owner: sac@… => webcom@…
* component: Systems Admin => WebSite

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2069#comment:1&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2069: Upgrade Staging to Php7
---------------------------+-----------------------
Reporter: wildintellect | Owner: webcom@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: WebSite | Resolution:
Keywords: |
---------------------------+-----------------------

Comment (by robe):

I'd rather not upgrade the cloudvps we have already since we don't have an
image of it and we should just go live as planned on Jan 15th. I think
going live while the content is fresh is more important than the extra
stress of having little time to test PHP7/MariaDb to make a Feb 1st that
frankly I don't think we can make given all the testing we may need to do.

Even the CloudVPS debian i(it's 8 not the most recent stable 9) so I'd
just assume chuck that box when we are done with it, or reimage it from a
scratch VM (assuming we are sticking with it for future staging), after we
have production hosted on our server.

Did we decide if it's worthwhile to do this in docker or should we just
have a VM. Docker from IRC discussion sounds messy and I fear splitting
the database and website (the install in Docker, the database/website
sitting on bear-metal will make upgrading and move needlessly complicated
and introduce two points of failure instead of one). The database is tiny
(under 3MB) and the files take up about 1 GB.

So perhaps we should just do this on a new VM we either contract from
OSUOSL or we build on our own infrastructure.

What I was planning to do to experiment is just setup a virtual box
running Debian 9, fresh PHP7, MariaDB, restore the latest wordpress backup
onto it and then do the upgrade of the plugins and in process have a very
well documented step by step instruction guide on how we will setup the
new server.

Then we can repeat the same steps at OSUOSL (for production setup) and
wherever we decide to keep the staging server.

What would be really cool is if we can have some sort of sandbox space
where we can setup KVM images and then bring up the image when we are
ready at OSUOSL. Though I'm not sure what that entails.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2069#comment:2&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2069: Upgrade Staging to Php7
---------------------------+-----------------------
Reporter: wildintellect | Owner: webcom@…
     Type: task | Status: closed
Priority: normal | Milestone:
Component: WebSite | Resolution: fixed
Keywords: |
---------------------------+-----------------------
Changes (by robe):

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

Comment:

Did this a month ago

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2069#comment:3&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.