Topic on Project:Support desk

Empty pages after upgrade to 1.35

7
151.210.138.204 (talkcontribs)

Site: https://mercuryinretrograde.org/index.php?title=Mercury_in_Retrograde

After upgrading pages don't display content only the following message:

There is currently no text in this page. You can search for this page title in other pages, search the related logs, or create this page.

The History tab reveals the most recent revision (for the above URL) and the page content.

Is there a reason why the pages are giving this error?

Ciencia Al Poder (talkcontribs)

Did you run update.php? Did it run without any errors?

From which version did you upgrade?

In recent versions there has been some data moved from different tables, and chances are that the script that migrates that data hasn't been run (properly) or errored out. This includes executing update.php one time, giving an error (but registering the migration script as being run) and running update.php again, skipping that migration but leaving the database in an inconsistent state. This can be very problematic, because part of the original data may be wiped out on further migration scripts.

Those scripts are know for having failed and causing this behavior until errors are fixed and run to completion:

Krabina (talkcontribs)

I have the exact same problem: you can see it here: https://www.verwaltungskooperation.at/index.php?title=Abfallbewirtschaftung_Arnoldstein other pages work, though: https://www.verwaltungskooperation.at/index.php?title=GIZ-K_-_Kommunaler_Webauftritt The only difference in pages I can spot is that the date of the last edit is missing and on the page info it does not count as content page.

I upgraded vom MW 1.31 wo 1.35. However it is possible that this was already part of the last upgrade (probably from 1.27) and I did not notice back then.

If I run the above mentioned scripts, all run without errors, the only thing that is constantly being displayed is that some fields do not exist.

php maintenance/migrateActors.php
...Update 'MigrateActors' already logged as completed. Use --force to run it again.
php maintenance/migrateActors.php --force
Creating actor entries for all registered users
... 1 - 101
... 102 - 202
... 203 - 303
... 304 - 404
... 405 - 505
... 506 - 606
... 607 - 653
Completed actor creation, added 0 new actor(s)
No need to migrate revision.rev_user, field does not exist
No need to migrate archive.ar_user, field does not exist
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)
No need to migrate image.img_user, field does not exist
No need to migrate oldimage.oi_user, field does not exist
No need to migrate filearchive.fa_user, field does not exist
No need to migrate recentchanges.rc_user, field does not exist
No need to migrate logging.log_user, field does not exist
Beginning migration of log_search
Completed migration, inserted 0 row(s) with 0 new actor(s), 0 error(s)
php maintenance/migrateComments.php
...comments already migrated.
php maintenance/migrateComments.php --force
No need to migrate revision.rev_comment, field does not exist
No need to migrate archive.ar_comment, field does not exist
No need to migrate ipblocks.ipb_reason, field does not exist
No need to migrate image.img_description, field does not exist
No need to migrate oldimage.oi_description, field does not exist
No need to migrate filearchive.fa_deleted_reason, field does not exist
No need to migrate filearchive.fa_description, field does not exist
No need to migrate recentchanges.rc_comment, field does not exist
No need to migrate logging.log_comment, field does not exist
No need to migrate protected_titles.pt_reason, field does not exist
php maintenance/populateContentTables.php
Populating revision...
No need to populate, revision.rev_text_id field does not exist
Populating archive...
No need to populate, archive.ar_text_id field does not exist
Done. Processed 0 rows in 0.0033140182495117 seconds
Krabina (talkcontribs)

btw, if I try to edit such an empty page, I get an edit conflict and I am not able to save any content to those pages.

Krabina (talkcontribs)

I found a solution here Topic:Vy4x2pb18ebrvqix. I did the select statement mentioned at the end of the thread, followed by an update.php and now the pages are showing again.

Kghbln (talkcontribs)
Krabina (talkcontribs)

yes

Reply to "Empty pages after upgrade to 1.35"