[SAC] [OSGeo] #2896: Upgrade wiki from wikimedia 1.34 to 1.39

#2896: Upgrade wiki from wikimedia 1.34 to 1.39
---------------------------+--------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Keywords:
---------------------------+--------------------------------------
I've started working on this.

Trying to upgrade wiki-staging (a snapshot of production).

At moment I' running into some issues using

php composer

It seems some packages require upgrade using composer 1.0 ( and some
others required composer 2.0 ( doctrine/dbal)

I'm still troubleshooting this in stagine and once I've fixed, hopefully
can do the production upgrade
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2896&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2896: Upgrade wiki from wikimedia 1.34 to 1.39
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by robe):

okay found a solution, had to update the
/vwr/www/wiki_osgeo/html/w/composer.local.json to have semantic ^4. I
still need to finish installing the other extensions.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2896#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2896: Upgrade wiki from wikimedia 1.34 to 1.39
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by robe):

After much trial and error of upgrading plugins etc, I hink I finally got
staging to 1.39.2 wikimedia. I plan to upgrade production too, after I
have tested staging a bit

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

#2896: Upgrade wiki from wikimedia 1.34 to 1.39
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by robe):

okay guess there are still problems :frowning:
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2896#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2896: Upgrade wiki from wikimedia 1.34 to 1.39
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by robe):

Okay at a glance it looks like there is no issue upgrading from 1.34 ->
1.35 -> 1.37

The issue of login no longer working happens if I try to upgrade to 1.38
or 1.39.
I'm suspecting something changed in LDAPAuthentication2 around that
change.

One possibility is I used too new of PluggableAuth (cause I was using the
ones marked as the version of mediawiki I was using. This note
https://www.mediawiki.org/wiki/Manual:Active_Directory_Integration says
PluggableAuth 6 doesn't work with LDAPAuthentication2.

The other possibility is maybe there was a time when LDAPAuthentication2
could read from ldap.conf. I couldn't find in our configs any mention of
ldap.osgeo.org, so assume it's reading it from ldap.conf installed on the
server. But instructions here -
https://www.mediawiki.org/wiki/Manual:Active_Directory_Integration talk
about an ldap.json file that should be setup with these settings. I'll
confirm this with hexmode.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2896#comment:4&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2896: Upgrade wiki from wikimedia 1.34 to 1.39
---------------------------+---------------------------------------
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 going to upgrade to 1.35 first since I need to get it out of EOL then
watch it for a week or so before I do the 1.37 jump.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2896#comment:5&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2896: Upgrade wiki from wikimedia 1.34 to 1.39
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by robe):

Okay upgraded to 1.35. The calendar and libavatar plugins will need to be
removed for the next upgrade step.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2896#comment:6&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2896: Upgrade wiki from wikimedia 1.34 to 1.39
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by robe):

sorry I had meant to keep the libavatar for 1.35, but it prevented the map
from loading so had to get rid of it and replace with gravatar. I'll
ticket in a separate issue.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2896#comment:7&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2896: Upgrade wiki from wikimedia 1.34 to 1.35
---------------------------+---------------------------------------
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
* summary: Upgrade wiki from wikimedia 1.34 to 1.39 => Upgrade wiki from
     wikimedia 1.34 to 1.35

Comment:

Looks like I have a separate ticket for 1.39 #2868

So I've closed this and changed the subject line
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2896#comment:8&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.