Page MenuHomePhabricator

Update-Error MEdiaWiki Upgrade to 1.43.3 - Give me an Hint How to fix it?
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

I have a private MediaWiki Installation and want to upgrade it from Version 1.39 to 1.43.3 - Now comes an Error, and I have no ssh-access, to run the php updatescript. I try to
update the database by the installer in the new version, by desactivating the old localsettings.....

What happens?:
This error appears: (chronik_ is the database-prefix)

Error 1062: Duplicate entry '1' for key 'chronik_pagelinks.pl_from'
Function: Wikimedia\Rdbms\Database::sourceFile( /var/www/ud05_173/html/mediawiki/maintenance/archives/patch-pagelinks-drop-pl_title.sql )
Query: ALTER TABLE chronik_pagelinks
DROP pl_namespace,
DROP pl_title,
CHANGE pl_target_id pl_target_id BIGINT UNSIGNED NOT NULL

What should have happened instead?:

DAtabase successfully updated..... :-)

Event Timeline

Abilus claimed this task.

I solved the Problem with the Aid of AI.... Thank you!

Aklapper changed the task status from Resolved to Invalid.Jul 13 2025, 5:27 PM
Aklapper removed Abilus as the assignee of this task.

Glad you found the reason. Closing as invalid as no change in the codebase was involved. For future reference, please use https://www.mediawiki.org/wiki/Project:Support_desk for questions as Phabricator is for bug reports and feature requests.