Page MenuHomePhabricator

joernc_unibi (Joern C.)
User

Projects

User does not belong to any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Wednesday

  • No visible events.

User Details

User Since
Feb 17 2020, 8:09 AM (313 w, 4 h)
Availability
Available
LDAP User
Unknown
MediaWiki User
Joernc unibi [ Global Accounts ]

Recent Activity

Oct 22 2025

joernc_unibi added a comment to T402690: Upgrading from 1.39.4 to 1.43.3 leads to drop index pl_namespace error.

@saper Sorry, I don't have backups from the time before I upgraded all Wikis to 1.39, that was 2023. At the moment my test environment has only the latest version and I am upgrading my test Wikis before the productive ones. I am considering installing the old releases in my test environment so that I can actually test these upgrade chains. If e.g. these older releases are compatible with a recent PostgreSQL database, though.

Oct 22 2025, 6:20 AM · PostgreSQL, MediaWiki-Installer, MW-1.43-release

Oct 21 2025

joernc_unibi added a comment to T402690: Upgrading from 1.39.4 to 1.43.3 leads to drop index pl_namespace error.

I'm not sure this is related to T330382 ... after all I seem to have reported that problem...

Oct 21 2025, 3:15 PM · PostgreSQL, MediaWiki-Installer, MW-1.43-release

Aug 20 2025

joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

I finally managed to test the patch from https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1175232. Updating a wiki from 1.39.13 to 1.43.3 with the patch applied succeeds without errors. These are the remaining indices starting with "site(s)":

public | site_global_key                  | index | mwtephemeral01 | sites
public | site_identifiers_pkey            | index | mwtephemeral01 | site_identifiers
public | site_stats_pkey                  | index | mwtephemeral01 | site_stats
public | sites_pkey                       | index | mwtephemeral01 | sites
Aug 20 2025, 7:39 AM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL

Aug 14 2025

joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

I guess the internal error was caused by the PHP cache and is not really related to this problem. I'm not sure if I manage to check the patches, my plan was to wait for the next proper release :) I see what I can do.

Aug 14 2025, 11:27 AM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL

Jul 18 2025

joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

I can confirm that an update of a fresh 1.39.13 install to 1.43.3 now succeeds. I'll need some more time to check a "used" Wiki :)

Jul 18 2025, 1:12 PM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL
joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

Can I award an Eagle Eye scout badge to @A_smart_kitten ? I looked at that code (I simply removed it with the patch above) but that part eluded me!

Jul 18 2025, 12:57 PM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL
joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

To continue this quest: These are the indices of a fairly recent 1.39 Wiki, that was deployed earlier this year with 1.39.11 and later updated to 1.39.12:

Jul 18 2025, 7:07 AM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL

Jul 16 2025

joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

What I don't understand yet: The update of both wikis above fails with exactly the same error (essential what the OP already presented). I can fix the update of the second Wiki (the one freshly installed from 1.39.13) with the attached patch. The update of the first wiki, with the site/sites mix, still fails.

Jul 16 2025, 2:25 PM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL
joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

One puzzle piece is probably a bug that lies somewhere in the past. A Wiki under 1.39.13, that has been updated over several versions since 1.35, has these indices:

Jul 16 2025, 2:12 PM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL
joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.
Jul 16 2025, 1:48 PM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL

Jul 10 2025

joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

I tried looking into the code where these renamings are happening, but I can't find anything, where site(s)_group is an outlier compared to the other indexes. Maybe someone with more knowledge of this code can take a look? At the moment I consider this a showstopper to migrate from one LTS version to the next.

Jul 10 2025, 1:12 PM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL

Jul 9 2025

joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

Quick correction: For me the error occurs on site_group, not site_type. But I see the same command (ALTER INDEX, DROP) for both indexes.

Jul 9 2025, 7:09 AM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL

Jul 8 2025

joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

I wrote some debug logs before starting the upgrade, and during upgrade this is logged:

Jul 8 2025, 2:20 PM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL
joernc_unibi added a comment to T374042: Postgres drop site_group index error upgrading to 1.42 onwards.

I get the same error when upgrading from 1.39(.13) to 1.43(.3). At the moment rerunning the script results in a broken wiki (internal error 500).

Jul 8 2025, 1:59 PM · MW-1.44-notes, MW-1.43-notes, MW-1.39-notes, MW-1.45-notes (1.45.0-wmf.13; 2025-08-05), MW-1.39-release, MW-1.43-release, MW-1.44-release, MediaWiki-Maintenance-system, MediaWiki-Installer, PostgreSQL

Feb 9 2024

joernc_unibi created T357132: VisualEditor breaks Media links.
Feb 9 2024, 2:26 PM · VisualEditor-MediaWiki-Media, VisualEditor

Jan 22 2024

joernc_unibi added a comment to T348543: Problem with auto-creation of Shibboleth user in the wiki in case of the first login.

I can confirm that this fixes the problem for me as well. Many thanks again!!

Jan 22 2024, 12:53 PM · MediaWiki-extensions-OpenID-Connect, MediaWiki-extensions-SimpleSAMLphp, MediaWiki-extensions-Pluggable-Auth

Jan 3 2024

joernc_unibi added a comment to T348543: Problem with auto-creation of Shibboleth user in the wiki in case of the first login.

It would be great if this could be tackled. MediaWiki 1.39.6 was released recently, and I am stuck with 1.39.2. I think it was unwise to change this extension for an LTE release mid-lifecycle.

Jan 3 2024, 9:44 AM · MediaWiki-extensions-OpenID-Connect, MediaWiki-extensions-SimpleSAMLphp, MediaWiki-extensions-Pluggable-Auth

Oct 10 2023

joernc_unibi created T348543: Problem with auto-creation of Shibboleth user in the wiki in case of the first login.
Oct 10 2023, 2:53 PM · MediaWiki-extensions-OpenID-Connect, MediaWiki-extensions-SimpleSAMLphp, MediaWiki-extensions-Pluggable-Auth

Apr 20 2023

joernc_unibi added a comment to T335097: DB table inconsistencies between upgraded and newly installed MW 1.39.2.

Ah, sorry... I just found out that the problem with PluggableAuth and SimpleSAMLphp has nothing to do with these differences. I actually tried them against MW 1.39.3, and apparently, this version simply is not supported yet. But maybe the differences between an upgraded and a fresh wiki are of concern anyway.

Apr 20 2023, 1:06 PM · PostgreSQL, MediaWiki-Installer
joernc_unibi created T335097: DB table inconsistencies between upgraded and newly installed MW 1.39.2.
Apr 20 2023, 8:53 AM · PostgreSQL, MediaWiki-Installer

Feb 28 2023

joernc_unibi added a comment to T330382: Upgrading from 1.35.8 to 1.39.2 using PostgreSQL fails, index "tl_namespace" does not exist.

Regarding "concerning lines": For reference, below is the complete update log. I guess the warning regarding logging_type_action is okay.

Feb 28 2023, 12:53 PM · MW-1.40-notes (1.40.0-wmf.26; 2023-03-06), MW-1.39-notes, MW-1.39-release, PostgreSQL, MediaWiki-Installer
joernc_unibi added a comment to T330382: Upgrading from 1.35.8 to 1.39.2 using PostgreSQL fails, index "tl_namespace" does not exist.

With this patch, the update script succeeds, my test wiki is now at version 1.39.2. Thanks a lot!

Feb 28 2023, 12:47 PM · MW-1.40-notes (1.40.0-wmf.26; 2023-03-06), MW-1.39-notes, MW-1.39-release, PostgreSQL, MediaWiki-Installer
joernc_unibi added a comment to T330382: Upgrading from 1.35.8 to 1.39.2 using PostgreSQL fails, index "tl_namespace" does not exist.

It is a pretty empty test wiki, I only edit the main page after an update. It might have been upgraded from 1.31. But even a lot of our production wikis don't use templates (i.e. the table "templatelinks" is empty).

Feb 28 2023, 7:28 AM · MW-1.40-notes (1.40.0-wmf.26; 2023-03-06), MW-1.39-notes, MW-1.39-release, PostgreSQL, MediaWiki-Installer

Feb 23 2023

joernc_unibi created T330382: Upgrading from 1.35.8 to 1.39.2 using PostgreSQL fails, index "tl_namespace" does not exist.
Feb 23 2023, 10:07 AM · MW-1.40-notes (1.40.0-wmf.26; 2023-03-06), MW-1.39-notes, MW-1.39-release, PostgreSQL, MediaWiki-Installer

Feb 21 2023

joernc_unibi added a comment to T330169: Upgrading from 1.35.8 to 1.39.1 using PostgreSQL fails.

Thanks for the clarification. I guess this already concludes this task :)

Feb 21 2023, 3:36 PM · MediaWiki-Installer, PostgreSQL, MW-1.39-release
joernc_unibi created T330169: Upgrading from 1.35.8 to 1.39.1 using PostgreSQL fails.
Feb 21 2023, 3:24 PM · MediaWiki-Installer, PostgreSQL, MW-1.39-release

May 28 2021

joernc_unibi added a comment to T260327: formatting of head line broken.

According to Skin Labs (see links in previous post): Yes. I can't test, I've switched from MetroLook to Vector.

May 28 2021, 11:20 AM · Metrolook

Dec 22 2020

joernc_unibi added a comment to T260327: formatting of head line broken.

Just for the record: Jon Robson's "Skins Lab" demonstrates the error as well:

Dec 22 2020, 8:47 AM · Metrolook

Nov 27 2020

joernc_unibi added a comment to T268887: migrateComments.php fails on numerical comment.

Actually the problem is not in table "recentchanges", but in "revision". A quick and dirty fix is to change "2020" to "2020x". After changing the entry in "recentchanges", the upgrade still failed. I only then saw, that "revision" contained the same entries. After fixing that entry, the upgrade succeeded.

Nov 27 2020, 1:22 PM · MW-1.35-notes, MW-1.36-notes (1.36.0-wmf.21; 2020-12-08), Platform Team Workboards (Clinic Duty Team), PostgreSQL, MediaWiki-Comment-store, MW-1.35-release, MediaWiki-Maintenance-system
joernc_unibi created T268887: migrateComments.php fails on numerical comment.
Nov 27 2020, 12:46 PM · MW-1.35-notes, MW-1.36-notes (1.36.0-wmf.21; 2020-12-08), Platform Team Workboards (Clinic Duty Team), PostgreSQL, MediaWiki-Comment-store, MW-1.35-release, MediaWiki-Maintenance-system

Nov 16 2020

joernc_unibi added a comment to T267725: update to 1.35.0 fails: ERROR: could not create unique index "redirect_pkey": Key (rd_from)=(86) is duplicated.

As I would like to continue updating my wikis: Maybe someone could tell me if my workaround is valid, or if I have to expect troubles in the future. From what I can see, the foreign key relation to "page" is still intact, but a second opinion would be great. And I am a little bit worried, that whatever was responsible for creating duplicate entries, might now throw an error when trying to do the same again.

Nov 16 2020, 8:06 AM · MediaWiki-Installer, PostgreSQL

Nov 11 2020

joernc_unibi added a comment to T267725: update to 1.35.0 fails: ERROR: could not create unique index "redirect_pkey": Key (rd_from)=(86) is duplicated.

Valid point. I checked if this could be an artifact from e.g. restoring an old database without dropping the content first. But as this was the only table where I could find duplicate entries, I blame an older version of MediaWiki. The Wikis in question started with 1.2x about two years ago and where updated to 1.31 and 1.34 a few months ago.

Nov 11 2020, 3:01 PM · MediaWiki-Installer, PostgreSQL
joernc_unibi created T267725: update to 1.35.0 fails: ERROR: could not create unique index "redirect_pkey": Key (rd_from)=(86) is duplicated.
Nov 11 2020, 12:33 PM · MediaWiki-Installer, PostgreSQL

Oct 6 2020

joernc_unibi added a comment to T223163: Replace angry cat on Wikimedia projects with project-specific backgrounds.

I am currently evaluating Timeless as a replacement for Metrolook, which is broken on MW 1.35. Why has there to be a background image at all??? I'd like to configure a plain background and not bother to find a suitable image I can put there.

Oct 6 2020, 1:45 PM · Wikimedia-Site-requests, Timeless

Aug 28 2020

joernc_unibi removed a project from T260327: formatting of head line broken: MW-1.35-release.
Aug 28 2020, 11:32 AM · Metrolook
joernc_unibi added a project to T260327: formatting of head line broken: MW-1.35-release.
Aug 28 2020, 11:31 AM · Metrolook
joernc_unibi added a comment to T260327: formatting of head line broken.

But it does not affect the upload button, if one is present:

Aug 28 2020, 11:27 AM · Metrolook
joernc_unibi added a comment to T260327: formatting of head line broken.

Maybe I should illustrate the problem. This is what the top bar in MediaWiki 1.35.0 looks like, both in rc1 and rc2:

Aug 28 2020, 11:22 AM · Metrolook

Aug 13 2020

joernc_unibi created T260327: formatting of head line broken.
Aug 13 2020, 6:23 AM · Metrolook

Aug 12 2020

joernc_unibi added a comment to T245387: PostgreSQL installer ignores port specification.

Sorry, I missed following up on this. It's now merged and will be backported for 1.35. Thanks for the patch :)

Aug 12 2020, 6:32 AM · MW-1.35-notes, MW-1.36-notes (1.36.0-wmf.5; 2020-08-18), MW-1.35-release, MediaWiki-Installer, PostgreSQL

Aug 10 2020

joernc_unibi added a project to T245387: PostgreSQL installer ignores port specification: MW-1.35-release.
Aug 10 2020, 10:55 AM · MW-1.35-notes, MW-1.36-notes (1.36.0-wmf.5; 2020-08-18), MW-1.35-release, MediaWiki-Installer, PostgreSQL
joernc_unibi added a comment to T245387: PostgreSQL installer ignores port specification.

I just checked in 1.35.0 rc0, and this bug is still present. Why????? Could someone please just commit this?

Aug 10 2020, 10:49 AM · MW-1.35-notes, MW-1.36-notes (1.36.0-wmf.5; 2020-08-18), MW-1.35-release, MediaWiki-Installer, PostgreSQL

Aug 3 2020

joernc_unibi created T259449: upgrade 1.34.2 to 1.35.0-rc.0 fails.
Aug 3 2020, 6:53 AM · MW-1.35-release

Feb 18 2020

joernc_unibi added a comment to T245387: PostgreSQL installer ignores port specification.

This might solve T30162, at least that's the only task I could find mentioning the same problem. But as that task has been dragging on for ages, I'm not sure if it hasn't moved on to different topics. Especially considering that the fix seems so obvious... That's why I opened a new task. Any help in getting this bug fixed is appreciated.

Feb 18 2020, 7:25 AM · MW-1.35-notes, MW-1.36-notes (1.36.0-wmf.5; 2020-08-18), MW-1.35-release, MediaWiki-Installer, PostgreSQL

Feb 17 2020

joernc_unibi added a comment to T245387: PostgreSQL installer ignores port specification.

I tried the Gerrit patch uploader, but either I chose the wrong project ("mediawiki"), and/or the wrong prefix for the file to patch. The patch as shown above was rejected. As I am not a developer, I'd rather prefer someone else would submit this change if it is considered useful.

Feb 17 2020, 9:16 AM · MW-1.35-notes, MW-1.36-notes (1.36.0-wmf.5; 2020-08-18), MW-1.35-release, MediaWiki-Installer, PostgreSQL
joernc_unibi created T245387: PostgreSQL installer ignores port specification.
Feb 17 2020, 8:17 AM · MW-1.35-notes, MW-1.36-notes (1.36.0-wmf.5; 2020-08-18), MW-1.35-release, MediaWiki-Installer, PostgreSQL