Jump to content

Topic on Project:Support desk

Upgrade from 1.35.14 to 1.39.10 or 1.42.3 stops at ExistingWiki

3
89.17.154.63 (talkcontribs)

Hi

I am in the process of upgrading my old wiki to latest version.

I am using the WebUpdater as I don't have command line access. I have a cpanel interface.

PHP 8.3.12

MySQL 8.0.40

I successfully upgraded from 1.24 to 1.35.14 without many issues.

Tried a few times to upgrade from 1.35.14 to 1.42.3

The web updater stops in step 2 at ExistingWiki with a blank page.

Then tried to upgrade from 1.35.14 to 1.39.10 with same result. Stop at ExistingWiki blank page - no errors.

When viewing my wiki at this stage the wiki seems updated to the correct version but the db is still probably in 1.35 version so no content accessible only db errors.

I have no idea how to continue from here.

I have asked my hosting support to provide errorlogs but nothing there that seems relevant.

This wiki dates back to 2005 so LocalSettings.php has been updated a lot.

Any suggestions?

Thanks in advance.

Osnard (talkcontribs)

Using PHP 8.3.12 on the MediaWiki 1.39.10 codebase may be an issue. Try this step of the update with a PHP 8.1.

In general: If there is a blank screen (internal server error) shown on the client, there is also an entry in the serverside PHP error log. Maybe you (or your hoster) need to tweak the error_reporting first, but you should be able to get an actual error message in such a case.

If any possible, use the command line updater rather than the web updater.

213.181.100.121 (talkcontribs)

Hi,

the expert support team at my hosting company says no php error logs are to be found and it appears to not follow any normal PHP log references. Where would those PHP logs be located?

I added the following lines at the top of the LocalSettings file

error_reporting( -1 );

ini_set( 'display_errors', 1 );

$wgShowExceptionDetails = true;

I don't know if this is the correct way and would appreciate any help as I am completely stuck.

Note that prior to getting to this place I got errors on screen for issues that I had to fix in LocalSettings as well as updating the PHP version to get to the first step of the WebUpdater.

Reply to "Upgrade from 1.35.14 to 1.39.10 or 1.42.3 stops at ExistingWiki"