#2896 closed task (fixed)

Upgrade wiki from wikimedia 1.34 to 1.35

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2023-I
Component: SysAdmin Keywords:
Cc:

Description

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

Change History (8)

comment:1 by robe, 15 months ago

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.

comment:2 by robe, 15 months ago

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

comment:3 by robe, 15 months ago

okay guess there are still problems :(

comment:4 by robe, 14 months ago

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.

comment:5 by robe, 14 months ago

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.

comment:6 by robe, 14 months ago

Okay upgraded to 1.35. The calendar and libavatar plugins will need to be removed for the next upgrade step.

comment:7 by robe, 14 months ago

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.

comment:8 by robe, 14 months ago

Resolution: fixed
Status: newclosed
Summary: Upgrade wiki from wikimedia 1.34 to 1.39Upgrade wiki from wikimedia 1.34 to 1.35

Looks like I have a separate ticket for 1.39 #2868

So I've closed this and changed the subject line

Note: See TracTickets for help on using tickets.