Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

problems upgrading from 13.2 to 19.1

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


dave at podi

Jun 26, 2012, 3:42 PM

Post #1 of 6 (574 views)
Permalink
problems upgrading from 13.2 to 19.1

Hi all,



I'm trying to upgrade from MW 13.2 to MW 19.1, and I'm not having any
luck.



I duplicated the db & code so as to 'sandbox' it to ensure I could get a
good upgrade before I turned it loose on a live install.



Here's the steps I took, followed by errors received.

* Put Wiki into readonly mode with message stating 'updating to
mediawiki 1.19.1'

* Created duplicate database of current install
('mediawiki_1_19')

* Copied all /htdocs/mw/ files to /htdocs/mw119/

* Downloaded & unzipped into own folder the
mediawiki.1.19.1.tar.gz

* Copied files from /mediawiki.1.19.1/ to /htdocs/mw119/

* Edited /htdocs/mw119/localSettings.php to point to /mw119
folder and new db ('mediawiki_1_19')

* Commented out all extensions within localsettings.php

* Renamed StartProfiler.php (also tried deleting it)



Errors when running [URL]/mw119/mw-config/:

* Blank page with error message "Warning: Cannot load module
'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on
line 0"

* Page title is 'MediaWiki 1.19.1 installation'



Errors when running /htdocs/mw119/maintenance/update.php:

MediaWiki 1.19.1 Updater

PHP Fatal error: Call to undefined function mysql_error() in
/[PATH]/mw119/includes/db/DatabaseMysql.php on line 305

Fatal error: Call to undefined function mysql_error() in
/[PATH]/mw119/includes/db/DatabaseMysql.php on line 305

[PROMPT]:~/htdocs/mw119/maintenance$



If I go straight to the index page of the sandboxed wiki ([URL]/mw119/),
I get:



A database error has occurred. Did you forget to run
maintenance/update.php after upgrading? See:
https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT lc_value FROM `mwlp_l10n_cache` WHERE lc_lang = 'en' AND
lc_key = 'deps' LIMIT 1
Function: LCStore_DB::get
Error: 1146 Table 'mediaWiki_1_19.mwlp_l10n_cache' doesn't exist
(mysql6c.serveronline.net)



It doesn't seem to be able to create the l10n_cache table. (mwlp_ is the
table prefix contained within localsettings)



I've sanitized out any filepaths/url that weren't applicable using [].



If anyone can point me into a new direction, I'd be grateful!



-Dave

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Jun 26, 2012, 4:18 PM

Post #2 of 6 (553 views)
Permalink
Re: problems upgrading from 13.2 to 19.1 [In reply to]

On 27/06/12 00:42, Dave Hunsberger wrote:
> * Edited /htdocs/mw119/localSettings.php to point to /mw119
> folder and new db ('mediawiki_1_19')
Note it should be LocalSettings.php (capital L). If it can't


> Errors when running [URL]/mw119/mw-config/:
>
> * Blank page with error message "Warning: Cannot load module
> 'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on
> line 0"

>
> MediaWiki 1.19.1 Updater
> PHP Fatal error: Call to undefined function mysql_error() in
> /[PATH]/mw119/includes/db/DatabaseMysql.php on line 305
> Fatal error: Call to undefined function mysql_error() in
> /[PATH]/mw119/includes/db/DatabaseMysql.php on line 305

So, are you trying to use a sqlite database or a mysql one?
Seems you have a problem with php.ini configuration there.



_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dave at podi

Jun 26, 2012, 4:23 PM

Post #3 of 6 (567 views)
Permalink
Re: problems upgrading from 13.2 to 19.1 [In reply to]

The current mw is running on mysql, and the upgrade should too, no desire to run an sqlite anything

-------- Original Message --------
From: Platonides <Platonides [at] gmail>
Sent: Tue, 26/06/2012 07:19 PM
To: mediawiki-l [at] lists
CC:
Subject: Re: [MediaWiki-l] problems upgrading from 13.2 to 19.1

On 27/06/12 00:42, Dave Hunsberger wrote:
> * Edited /htdocs/mw119/localSettings.php to point to /mw119
> folder and new db ('mediawiki_1_19')
Note it should be LocalSettings.php (capital L). If it can't


> Errors when running [URL]/mw119/mw-config/:
>
> * Blank page with error message "Warning: Cannot load module
> 'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on
> line 0"

>
> MediaWiki 1.19.1 Updater
> PHP Fatal error: Call to undefined function mysql_error() in
> /[PATH]/mw119/includes/db/DatabaseMysql.php on line 305
> Fatal error: Call to undefined function mysql_error() in
> /[PATH]/mw119/includes/db/DatabaseMysql.php on line 305

So, are you trying to use a sqlite database or a mysql one?
Seems you have a problem with php.ini configuration there.



_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dave at podi

Jun 29, 2012, 12:19 PM

Post #4 of 6 (549 views)
Permalink
Re: problems upgrading from 13.2 to 19.1 [In reply to]

In case it helps anyone else, I was able to get the upgrade to work.
Apparently, most of my webserver php modules had been turned off, and
while I would think that mediawiki installer should be smart enough to
not try to use pdo/sqlite if I don't have them turned on, turning on
most all of the pdo functions enable the upgrade to go through.

-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Dave
Hunsberger
Sent: Tuesday, June 26, 2012 7:23 PM
To: MediaWiki announcements and site admin list
Subject: Re: [MediaWiki-l] problems upgrading from 13.2 to 19.1

The current mw is running on mysql, and the upgrade should too, no
desire to run an sqlite anything

-------- Original Message --------
From: Platonides <Platonides [at] gmail>
Sent: Tue, 26/06/2012 07:19 PM
To: mediawiki-l [at] lists
CC:
Subject: Re: [MediaWiki-l] problems upgrading from 13.2 to 19.1

On 27/06/12 00:42, Dave Hunsberger wrote:
> * Edited /htdocs/mw119/localSettings.php to point to /mw119
> folder and new db ('mediawiki_1_19')
Note it should be LocalSettings.php (capital L). If it can't


> Errors when running [URL]/mw119/mw-config/:
>
> * Blank page with error message "Warning: Cannot load module
> 'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on

> line 0"

>
> MediaWiki 1.19.1 Updater
> PHP Fatal error: Call to undefined function mysql_error() in
> /[PATH]/mw119/includes/db/DatabaseMysql.php on line 305 Fatal error:
> Call to undefined function mysql_error() in
> /[PATH]/mw119/includes/db/DatabaseMysql.php on line 305

So, are you trying to use a sqlite database or a mysql one?
Seems you have a problem with php.ini configuration there.



_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


lwbaruch at pcsmexico

Oct 24, 2012, 11:56 AM

Post #5 of 6 (353 views)
Permalink
Re: problems upgrading from 13.2 to 19.1 [In reply to]

Hi Dave!
How did you make the modules work?
I have same problem.
Our server was formatted and then installed FEDORA. Before it was UBUNTU.
Now I have re-installed mediawiki and copied wiki directory to
var/www/html/wiki
But I have this message:

[Wed Oct 24 13:24:15 2012] [error] [client 172.17.1.44] PHP Fatal error:
Call to undefined function mysql_error() in
/var/www/html/wikipcs/includes/db/DatabaseMysql.php on line 245

I checked modules:

[root [at] servte /]# php -m
[PHP Modules]
bz2
calendar
....
....
libxml
mbstring
mhash
mysql
....

It seems for me, that they are okey. But I don't know if this command is the
right one.
Could you or anyone in the list helpme?

Thank you very much

Best regards

Lorena Baruch

-----Mensaje original-----
De: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] En nombre de Dave
Hunsberger
Enviado el: Viernes, 29 de Junio de 2012 02:19 p.m.
Para: MediaWiki announcements and site admin list
Asunto: Re: [MediaWiki-l] problems upgrading from 13.2 to 19.1

In case it helps anyone else, I was able to get the upgrade to work.
Apparently, most of my webserver php modules had been turned off, and while
I would think that mediawiki installer should be smart enough to not try to
use pdo/sqlite if I don't have them turned on, turning on most all of the
pdo functions enable the upgrade to go through.

-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Dave
Hunsberger
Sent: Tuesday, June 26, 2012 7:23 PM
To: MediaWiki announcements and site admin list
Subject: Re: [MediaWiki-l] problems upgrading from 13.2 to 19.1

The current mw is running on mysql, and the upgrade should too, no desire to
run an sqlite anything

-------- Original Message --------
From: Platonides <Platonides [at] gmail>
Sent: Tue, 26/06/2012 07:19 PM
To: mediawiki-l [at] lists
CC:
Subject: Re: [MediaWiki-l] problems upgrading from 13.2 to 19.1

On 27/06/12 00:42, Dave Hunsberger wrote:
> * Edited /htdocs/mw119/localSettings.php to point to /mw119
> folder and new db ('mediawiki_1_19')
Note it should be LocalSettings.php (capital L). If it can't


> Errors when running [URL]/mw119/mw-config/:
>
> * Blank page with error message "Warning: Cannot load module
> 'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on

> line 0"

>
> MediaWiki 1.19.1 Updater
> PHP Fatal error: Call to undefined function mysql_error() in
> /[PATH]/mw119/includes/db/DatabaseMysql.php on line 305 Fatal error:
> Call to undefined function mysql_error() in
> /[PATH]/mw119/includes/db/DatabaseMysql.php on line 305

So, are you trying to use a sqlite database or a mysql one?
Seems you have a problem with php.ini configuration there.



_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


lwbaruch at pcsmexico

Oct 24, 2012, 12:06 PM

Post #6 of 6 (350 views)
Permalink
Re: problems upgrading from 13.2 to 19.1 [In reply to]

Oh I am very sorry!
I reviewed some of the other e-mails and re-started the server.
That was all. It Works!
Thank you very much sorry to bother you.
Best regards

-----Mensaje original-----
De: Lorena W. Baruch Armenta [mailto:lwbaruch [at] pcsmexico]
Enviado el: Miércoles, 24 de Octubre de 2012 01:57 p.m.
Para: 'MediaWiki announcements and site admin list'
Asunto: RE: [MediaWiki-l] problems upgrading from 13.2 to 19.1

Hi Dave!
How did you make the modules work?
I have same problem.
Our server was formatted and then installed FEDORA. Before it was UBUNTU.
Now I have re-installed mediawiki and copied wiki directory to
var/www/html/wiki But I have this message:

[Wed Oct 24 13:24:15 2012] [error] [client 172.17.1.44] PHP Fatal error:
Call to undefined function mysql_error() in
/var/www/html/wikipcs/includes/db/DatabaseMysql.php on line 245

I checked modules:

[root [at] servte /]# php -m
[PHP Modules]
bz2
calendar
....
....
libxml
mbstring
mhash
mysql
....

It seems for me, that they are okey. But I don't know if this command is the
right one.
Could you or anyone in the list helpme?

Thank you very much

Best regards

Lorena Baruch

-----Mensaje original-----
De: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] En nombre de Dave
Hunsberger Enviado el: Viernes, 29 de Junio de 2012 02:19 p.m.
Para: MediaWiki announcements and site admin list
Asunto: Re: [MediaWiki-l] problems upgrading from 13.2 to 19.1

In case it helps anyone else, I was able to get the upgrade to work.
Apparently, most of my webserver php modules had been turned off, and while
I would think that mediawiki installer should be smart enough to not try to
use pdo/sqlite if I don't have them turned on, turning on most all of the
pdo functions enable the upgrade to go through.

-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Dave
Hunsberger
Sent: Tuesday, June 26, 2012 7:23 PM
To: MediaWiki announcements and site admin list
Subject: Re: [MediaWiki-l] problems upgrading from 13.2 to 19.1

The current mw is running on mysql, and the upgrade should too, no desire to
run an sqlite anything

-------- Original Message --------
From: Platonides <Platonides [at] gmail>
Sent: Tue, 26/06/2012 07:19 PM
To: mediawiki-l [at] lists
CC:
Subject: Re: [MediaWiki-l] problems upgrading from 13.2 to 19.1

On 27/06/12 00:42, Dave Hunsberger wrote:
> * Edited /htdocs/mw119/localSettings.php to point to /mw119
> folder and new db ('mediawiki_1_19')
Note it should be LocalSettings.php (capital L). If it can't


> Errors when running [URL]/mw119/mw-config/:
>
> * Blank page with error message "Warning: Cannot load module
> 'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on

> line 0"

>
> MediaWiki 1.19.1 Updater
> PHP Fatal error: Call to undefined function mysql_error() in
> /[PATH]/mw119/includes/db/DatabaseMysql.php on line 305 Fatal error:
> Call to undefined function mysql_error() in
> /[PATH]/mw119/includes/db/DatabaseMysql.php on line 305

So, are you trying to use a sqlite database or a mysql one?
Seems you have a problem with php.ini configuration there.



_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.