Page MenuHomeGitPull.it

Upgrade MediaWiki from 1.31 to at least 1.35 (current Debian GNU/Linux buster-backports)
Closed, ResolvedPublic3 Points

Description

Upgrade MediaWiki from 1.31 to at least 1.35 (current Debian GNU/Linux buster-backports).

https://packages.debian.org/buster-backports/mediawiki

Event Timeline

valerio.bozzolan renamed this task from Upgrade MediaWiki from 1:1.31 to at least 1.35 (current Debian GNU/Linux buster-backports) to Upgrade MediaWiki from 1.31 to at least 1.35 (current Debian GNU/Linux buster-backports).Dec 2 2020, 21:53
valerio.bozzolan claimed this task.
valerio.bozzolan triaged this task as Normal priority.
valerio.bozzolan created this task.
valerio.bozzolan set the point value for this task to 3.
valerio.bozzolan updated the task description. (Show Details)
valerio.bozzolan added a project: Reyboz.
/etc/apt/sources.list
deb http://deb.debian.org/debian/ buster-backports main
apt install mediawiki -t buster-backports
$ /usr/share/mediawiki/maintenance/update.php --conf /home/www-data/informazioni.wiki/wiki/LocalSettings.php
MediaWiki 1.35.0 Updater

Your composer.lock file is up to date with current dependencies!
Going to run database updates for informazioniwiki_mw
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ... 0
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...already have interwiki table
...indexes seem up to 20031107 standards.
...have rc_type field in recentchanges table.
...index new_name_timestamp already set on recentchanges table.
...have user_real_name field in user table.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...have pagelinks; skipping old links table updates
...il_from OK
...have rc_ip field in recentchanges table.
...index PRIMARY already set on image table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...logging table already exists.
...have user_token field in user table.
...have wl_notificationtimestamp field in watchlist table.
...watchlist talk page rows already present.
...user table does not contain user_emailauthenticationtimestamp field.
...page table already exists.
...have log_params field in logging table.
...logging table has correct log_title encoding.
...have ar_rev_id field in archive table.
...have page_len field in page table.
...revision table does not contain inverse_timestamp field.
...have rev_deleted field in revision table.
...have img_width field in image table.
...have img_metadata field in image table.
...have user_email_token field in user table.
...page_namespace is already a full int (int(11)).
...ar_namespace is already a full int (int(11)).
...rc_namespace is already a full int (int(11)).
...wl_namespace is already a full int (int(11)).
...qc_namespace is already a full int (int(11)).
...log_namespace is already a full int (int(11)).
...have img_media_type field in image table.
...already have pagelinks table.
...image table does not contain img_type field.
...already have unique user_name index.
...user_groups table exists and is in current format.
...have ss_total_pages field in site_stats table.
...user_newtalk table already exists.
...have iw_trans field in interwiki table.
...wl_notificationtimestamp is already nullable.
...index times already set on logging table.
...have ipb_range_start field in ipblocks table.
...no page_random rows needed to be set
...have user_registration field in user table.
...templatelinks table already exists
...externallinks table already exists.
...job table already exists.
...have ss_images field in site_stats table.
...langlinks table already exists.
...querycache_info table already exists.
...filearchive table already exists.
...have ipb_anon_only field in ipblocks table.
...have user_newpass_time field in user table.
...redirect table already exists.
...querycachetwo table already exists.
...have ipb_enable_autoblock field in ipblocks table.
...index pl_namespace on table pagelinks includes field pl_from.
...index tl_namespace on table templatelinks includes field tl_from.
...index il_to on table imagelinks includes field il_from.
...have rc_old_len field in recentchanges table.
...have user_editcount field in user table.
...page_restrictions table already exists.
...have log_id field in logging table.
...have rev_parent_id field in revision table.
...have pr_id field in page_restrictions table.
...have rev_len field in revision table.
...have rc_deleted field in recentchanges table.
...have log_deleted field in logging table.
...have ar_deleted field in archive table.
...have ipb_deleted field in ipblocks table.
...have fa_deleted field in filearchive table.
...have ar_len field in archive table.
...have ipb_block_email field in ipblocks table.
...index cl_sortkey on table categorylinks includes field cl_from.
...have oi_metadata field in oldimage table.
...have ar_page_id field in archive table.
...have img_sha1 field in image table.
...protected_titles table already exists.
...page_props table already exists.
...updatelog table already exists.
...category table already exists.
...category table already populated.
...have ar_parent_id field in archive table.
...have user_last_timestamp field in user_newtalk table.
...protected_titles table has correct pt_title encoding.
...have ss_active_users field in site_stats table.
...ss_active_users user count set...
...have ipb_allow_usertalk field in ipblocks table.
...change_tag table already exists.
...user_properties table already exists.
...log_search table already exists.
...l10n_cache table already exists.
...ct_rc_id key doesn't exist.
...have rd_interwiki field in redirect table.
...*_mime_minor fields are already long enough.
...iwlinks table already exists.
...index iwl_prefix_title_from already set on iwlinks table.
...have ul_value field in updatelog table.
...have iw_api field in interwiki table.
...iwl_prefix key doesn't exist.
...have cl_collation field in categorylinks table.
...categorylinks up-to-date.
...module_deps table already exists.
...ar_page_revid key doesn't exist.
...skipping index ar_revid because index ar_revid already set on archive table.
...user_last_timestamp is already nullable.
...index user_email already set on user table.
...up_property in table user_properties already modified by patch patch-up_property.sql.
...uploadstash table already exists.
...user_former_groups table already exists.
...have rev_sha1 field in revision table.
...batch conversion of user_options: nothing to migrate. done.
...user table does not contain user_options field.
...have ar_sha1 field in archive table.
...index page_redirect_namespace_len already set on page table.
...have us_chunk_inx field in uploadstash table.
...have job_timestamp field in job table.
...index page_user_timestamp already set on revision table.
...have ipb_parent_block_id field in ipblocks table.
...index ipb_parent_block_id already set on ipblocks table.
...category table does not contain cat_hidden field.
...have rev_content_format field in revision table.
...have rev_content_model field in revision table.
...have ar_content_format field in archive table.
...have ar_content_model field in archive table.
...have page_content_model field in page table.
...site_stats table does not contain ss_admins field.
...recentchanges table does not contain rc_moved_to_title field.
...sites table already exists.
...have fa_sha1 field in filearchive table.
...have job_token field in job table.
...have job_attempts field in job table.
...have us_props field in uploadstash table.
...ug_group in table user_groups already modified by patch patch-ug_group-length-increase-255.sql.
...ufg_group in table user_former_groups already modified by patch patch-ufg_group-length-increase-255.sql.
...index pp_propname_page already set on page_props table.
...index img_media_mime already set on image table.
...iwl_prefix_title_from index is already non-UNIQUE.
...index iwl_prefix_from_title already set on iwlinks table.
...have ar_id field in archive table.
...have el_id field in externallinks table.
...have rc_source field in recentchanges table.
...have page_links_updated field in page table.
...have user_password_expires field in user table.
...have pp_sortkey field in page_props table.
...recentchanges table does not contain rc_cur_time field.
...index wl_user_notificationtimestamp already set on watchlist table.
...have page_lang field in page table.
...have pl_from_namespace field in pagelinks table.
...have tl_from_namespace field in templatelinks table.
...have il_from_namespace field in imagelinks table.
...img_major_mime in table image already modified by patch patch-img_major_mime-chemical.sql.
...oi_major_mime in table oldimage already modified by patch patch-oi_major_mime-chemical.sql.
...fa_major_mime in table filearchive already modified by patch patch-fa_major_mime-chemical.sql.
...comment fields are up to date.
...hitcounter doesn't exist.
...site_stats table does not contain ss_total_views field.
...page table does not contain page_counter field.
...msg_resource_links doesn't exist.
...msg_resource doesn't exist.
...bot_passwords table already exists.
...have wl_id field in watchlist table.
...cl_collation key doesn't exist.
...index cl_collation_ext already set on categorylinks table.
...collations up-to-date.
...index rc_name_type_patrolled_timestamp already set on recentchanges table.
...rev_page_id index already non-unique.
...pl_namespace, tl_namespace, il_to indices are already non-UNIQUE.
...have ct_id field in change_tag table.
...rc_ip in table recentchanges already modified by patch patch-rc_ip_modify.sql.
...have el_index_60 field in externallinks table.
...ug_user_group key doesn't exist.
...have ug_expiry field in user_groups table.
...img_media_type in table image already modified by patch patch-add-3d.sql.
...ip_changes table already exists.
...index PRIMARY already set on categorylinks table.
...index PRIMARY already set on templatelinks table.
...index PRIMARY already set on pagelinks table.
...index PRIMARY already set on text table.
...index PRIMARY already set on imagelinks table.
...index PRIMARY already set on iwlinks table.
...index PRIMARY already set on langlinks table.
...index PRIMARY already set on log_search table.
...index PRIMARY already set on module_deps table.
...index PRIMARY already set on objectcache table.
...index PRIMARY already set on querycache_info table.
...index PRIMARY already set on site_stats table.
...index PRIMARY already set on user_former_groups table.
...index PRIMARY already set on user_properties table.
...comment table already exists.
...revision_comment_temp table already exists.
...have ar_comment_id field in archive table.
...have fa_description_id field in filearchive table.
...img_description in table image already modified by patch patch-image-img_description-default.sql.
...have ipb_reason_id field in ipblocks table.
...have log_comment_id field in logging table.
...have oi_description_id field in oldimage table.
...have pt_reason_id field in protected_titles table.
...have rc_comment_id field in recentchanges table.
...rev_comment in table revision already modified by patch patch-revision-rev_comment-default.sql.
...have img_description_id field in image table.
Migrating comments to the 'comments' table, printing progress markers. For large
databases, you may want to hit Ctrl-C and do this manually with
maintenance/migrateComments.php.
Beginning migration of revision.rev_comment to revision_comment_temp.revcomment_comment_id
... 101
... 208
... 312
... 412
... 512
... 612
... 714
... 816
... 916
... 1017
... 1118
... 1220
... 1322
... 1424
... 1519
Completed migration, updated 1495 row(s) with 434 new comment(s)
Beginning migration of archive.ar_comment to archive.ar_comment_id
... 24
Completed migration, updated 24 row(s) with 9 new comment(s)
Beginning migration of ipblocks.ipb_reason to ipblocks.ipb_reason_id
Completed migration, updated 0 row(s) with 0 new comment(s)
Beginning migration of image.img_description to image.img_description_id
... Wien_Deutschordenskirche_Innenraum_01.jpg
Completed migration, updated 10 row(s) with 0 new comment(s)
Beginning migration of oldimage.oi_description to oldimage.oi_description_id
... UnderCon_icon_white.svg 20200515090025
Completed migration, updated 5 row(s) with 1 new comment(s)
Beginning migration of filearchive.fa_deleted_reason to filearchive.fa_deleted_reason_id
... 2
Completed migration, updated 2 row(s) with 1 new comment(s)
Beginning migration of filearchive.fa_description to filearchive.fa_description_id
... 2
Completed migration, updated 2 row(s) with 0 new comment(s)
Beginning migration of recentchanges.rc_comment to recentchanges.rc_comment_id
... 1533
... 1541
Completed migration, updated 108 row(s) with 0 new comment(s)
Beginning migration of logging.log_comment to logging.log_comment_id
... 100
... 200
... 300
... 400
... 500
... 600
... 700
... 800
... 900
... 1000
... 1100
... 1112
Completed migration, updated 1112 row(s) with 11 new comment(s)
Beginning migration of protected_titles.pt_reason to protected_titles.pt_reason_id
Completed migration, updated 0 row(s) with 0 new comment(s)
done.
...index PRIMARY already set on l10n_cache table.
...bot_passwords.bp_user is already unsigned int.
...change_tag.ct_log_id is already unsigned int.
...change_tag.ct_rev_id is already unsigned int.
...page_restrictions.pr_user is already unsigned int.
...user_newtalk.user_id is already unsigned int.
...user_properties.up_user is already unsigned int.
...slots table already exists.
...have slot_origin field in slots table.
...content table already exists.
...slot_roles table already exists.
...content_models table already exists.
...actor table already exists.
...revision_actor_temp table already exists.
...have ar_actor field in archive table.
...have ipb_by_actor field in ipblocks table.
...have img_actor field in image table.
...have oi_actor field in oldimage table.
...have fa_actor field in filearchive table.
...have rc_actor field in recentchanges table.
...have log_actor field in logging table.
Migrating actors to the 'actor' table, printing progress markers. For large
databases, you may want to hit Ctrl-C and do this manually with
maintenance/migrateActors.php.
Creating actor entries for all registered users
... 1 - 8
Completed actor creation, added 8 new actor(s)
Beginning migration of revision.rev_user and revision.rev_user_text to revision_actor_temp.revactor_actor
... rev_id=101
... rev_id=208
... rev_id=312
... rev_id=412
... rev_id=512
... rev_id=612
... rev_id=714
... rev_id=816
... rev_id=916
... rev_id=1017
... rev_id=1118
... rev_id=1220
... rev_id=1322
... rev_id=1424
... rev_id=1519
Completed migration, updated 1495 row(s) with 1 new actor(s), 0 error(s)
Beginning migration of archive.ar_user and archive.ar_user_text to archive.ar_actor
... ar_id=24
Completed migration, updated 24 row(s) with 0 new actor(s), 0 error(s)
Beginning migration of ipblocks.ipb_by and ipblocks.ipb_by_text to ipblocks.ipb_by_actor
Completed migration, updated 0 row(s) with 0 new actor(s), 0 error(s)
Beginning migration of image.img_user and image.img_user_text to image.img_actor
... img_name=Wien_Deutschordenskirche_Innenraum_01.jpg
Completed migration, updated 10 row(s) with 0 new actor(s), 0 error(s)
Beginning migration of oldimage.oi_user and oldimage.oi_user_text to oldimage.oi_actor
... oi_name=UnderCon_icon_white.svg oi_timestamp=20200515090025
Completed migration, updated 5 row(s) with 0 new actor(s), 0 error(s)
Beginning migration of filearchive.fa_user and filearchive.fa_user_text to filearchive.fa_actor
... fa_id=2
Completed migration, updated 2 row(s) with 0 new actor(s), 0 error(s)
Beginning migration of recentchanges.rc_user and recentchanges.rc_user_text to recentchanges.rc_actor
... rc_id=1533
... rc_id=1541
Completed migration, updated 108 row(s) with 0 new actor(s), 0 error(s)
Beginning migration of logging.log_user and logging.log_user_text to logging.log_actor
... log_id=100
... log_id=200
... log_id=300
... log_id=400
... log_id=500
... log_id=600
... log_id=700
... log_id=800
... log_id=900
... log_id=1000
... log_id=1100
... log_id=1112
Completed migration, updated 1112 row(s) with 0 new actor(s), 0 error(s)
Beginning migration of log_search
Completed migration, inserted 0 row(s) with 0 new actor(s), 0 error(s)
done.
...rev_text_id in table revision already modified by patch patch-rev_text_id-default.sql.
...table site_stats already modified by patch patch-site_stats-modify.sql.
...index rc_namespace_title_timestamp already set on recentchanges table.
Creating change_tag_def table ...done.
Populating el_index_60 field, printing progress markers. For large
databases, you may want to hit Ctrl-C and do this manually with
maintenance/populateExternallinksIndex60.php.
Populating externallinks.el_index_60...
el_id 0 - 200 of 308
el_id 200 - 400 of 308
Done, 282 rows updated.
done.
Modifying el_index_60 field of table externallinks ...done.
Running maintenance/deduplicateArchiveRevId.php...
Deduplicating ar_rev_id...
... 96-1356
Finished deduplicating ar_rev_id. 0 rows deleted, 0 assigned new IDs.
done.
Adding ct_tag_id field to table change_tag ...done.
Adding index ar_revid_uniq to table archive ...done.
Migrating revision data to the MCR 'slot' and 'content' tables, printing progress markers.
For large databases, you may want to hit Ctrl-C and do this manually with
maintenance/populateContentTables.php.
Populating revision...
... revision processed up to revision id 500 of 1519 (488 rows in 0.035739898681641 seconds)
... revision processed up to revision id 1000 of 1519 (983 rows in 0.069417953491211 seconds)
... revision processed up to revision id 1500 of 1519 (1476 rows in 0.10290384292603 seconds)
... revision processed up to revision id 1519 of 1519 (1495 rows in 0.10926389694214 seconds)
Done populating revision table. Processed 1495 rows in 0.10931587219238 seconds
Populating archive...
... archive processed up to revision id 595 of 1356 (12 rows in 0.0069658756256104 seconds)
... archive processed up to revision id 1095 of 1356 (18 rows in 0.012573957443237 seconds)
... archive processed up to revision id 1356 of 1356 (24 rows in 0.016679048538208 seconds)
Done populating archive table. Processed 24 rows in 0.01671290397644 seconds
Done. Processed 1519 rows in 0.13057804107666 seconds
done.
Adding index log_type_action to table logging ...done.
Dropping type_action index from table logging ...done.
Renaming index iw_prefix into PRIMARY to table interwiki ...done.
Renaming index pp_page_propname into PRIMARY to table page_props ...done.
Renaming index pt_namespace_title into PRIMARY to table protected_titles ...done.
Renaming index site_ids_type into PRIMARY to table site_identifiers ...done.
Adding index rc_this_oldid to table recentchanges ...done.
Dropping table transcache ...done.
Running maintenance/populateChangeTagDef.php...
Starting to add ct_tag_id = 1 for ct_tag = mw-new-redirect
Updating ct_tag_id = 1 up to row ct_id = 3
Finished adding ct_tag_id = 1 for ct_tag = mw-new-redirect
Starting to add ct_tag_id = 2 for ct_tag = mw-undo
Updating ct_tag_id = 2 up to row ct_id = 4
Finished adding ct_tag_id = 2 for ct_tag = mw-undo
No user defined tags to set, moving on...
done.
Adding index change_tag_rc_tag_id to table change_tag ...done.
Adding ipb_sitewide field to table ipblocks ...done.
Creating ipblocks_restrictions table ...done.
Merging image_comment_temp into the image table
Merging image_comment_temp into the image table...
Completed merge of image_comment_temp into the image table, 0 image rows updated, 0 image_comment_temp rows deleted.
done.
Dropping table image_comment_temp ...done.
Table change_tag contains ct_tag field. Dropping ...done.
Dropping table valid_tag ...done.
Dropping table tag_summary ...done.
Table archive contains ar_comment field. Dropping ...done.
Table ipblocks contains ipb_reason field. Dropping ...done.
Table image contains img_description field. Dropping ...done.
Table oldimage contains oi_description field. Dropping ...done.
Table filearchive contains fa_description field. Dropping ...done.
Table recentchanges contains rc_comment field. Dropping ...done.
Table logging contains log_comment field. Dropping ...done.
Table protected_titles contains pt_reason field. Dropping ...done.
Modifying table job ...done.
...ar_usertext_timestamp key doesn't exist.
Dropping usertext_timestamp index from table archive ...done.
Table archive contains ar_user field. Dropping ...done.
...ipblocks table does not contain ip_by field.
Table image contains img_user field. Dropping ...done.
Table oldimage contains oi_user field. Dropping ...done.
Table filearchive contains fa_user field. Dropping ...done.
Table recentchanges contains rc_user field. Dropping ...done.
Table logging contains log_user field. Dropping ...done.
Adding index un_user_ip to table user_newtalk ...done.
Creating watchlist_expiry table ...done.
Modifying page_restrictions field of table page ...done.
Renaming index ipb_address into ipb_address_unique to table ipblocks ...done.
Adding rev_actor field to table revision ...done.
Table archive contains ar_text_id field. Dropping ...done.
Updating length of lc_lang in `l10n_cache` ...done.
Updating length of ll_lang in `langlinks` ...done.
Updating length of site_language in `sites` ...done.
...index ipb_address_unique on table ipblocks includes field ipb_anon_only.
Removing ipb_anon_only column from ipb_address_unique index ...done.
Modifying actor_name field of table actor ...done.
Modifying site_global_key field of table sites ...done.
...site_stats is populated...done.
...Update 'populate rev_len and ar_len' already logged as completed. Use --force to run it again.
...Update 'populate rev_sha1' already logged as completed. Use --force to run it again.
...img_sha1 column of image table already populated.
...protocol-relative URLs in externallinks table already fixed.
...fa_sha1 column of filearchive table already populated.
...*_from_namespace column of backlink tables already populated.
...Update 'FixDefaultJsonContentPages' already logged as completed. Use --force to run it again.
...Update 'cleanup empty categories' already logged as completed. Use --force to run it again.
Populating page_props.pp_sortkey...
Populating page_props.pp_sortkey complete.
Updated a total of 0 rows
...Update 'populate ip_changes' already logged as completed. Use --force to run it again.
Updating externallinks table index fields
el_id 6 - 308 of 308
Done, 1 rows updated, 0 deleted.
Purging caches...done.

Done in 4.1 s.
valerio.bozzolan moved this task from Arriving to Done on the InformAzioni.wiki board.