Hello,
Excuse me if my question sounds like a newbie, but I still am; I inherited the Wiki Server some months ago. I am preparing to upgrade MediaWiki 1.11.0 to 1.15.2, and we currently have 30 wiki’s.
My understanding is, I can upgrade each wiki individually. Having said that, can I perform the install process of the new version, replace the old wiki’s with the new install individually? Hence not having any databases being affected except for the wiki I upgrade.
I trust that this question is in keeping with this forum.
Thanks, Graham
On Wed, Mar 31, 2010 at 3:33 PM, Tolliver tolliver@dal.ca wrote:
Hello,
Excuse me if my question sounds like a newbie, but I still am; I inherited the Wiki Server some months ago. I am preparing to upgrade MediaWiki 1.11.0 to 1.15.2, and we currently have 30 wiki’s.
My understanding is, I can upgrade each wiki individually. Having said that, can I perform the install process of the new version, replace the old wiki’s with the new install individually? Hence not having any databases being affected except for the wiki I upgrade.
That depends on whether your 30 wikis are using one codebase (a shared directory with MediaWiki code) or each one has it's own directory.
In the first case it would not be possible to upgrade one-by-one "just like that", but it would still be possible with the use of symlinks, for example.
One thing to note is that, during an upgrade, you DO NOT run the normal installation process. There is no need for that. Instead, you switch to the newer codebase, and then run update.php (found in the maintenance subdir) for each of your wikis.
Hope that helps.
Good luck!
Tolliver wrote:
Hello,
Excuse me if my question sounds like a newbie, but I still am; I inherited the Wiki Server some months ago. I am preparing to upgrade MediaWiki 1.11.0 to 1.15.2, and we currently have 30 wiki’s.
My understanding is, I can upgrade each wiki individually. Having said that, can I perform the install process of the new version, replace the old wiki’s with the new install individually? Hence not having any databases being affected except for the wiki I upgrade.
I trust that this question is in keeping with this forum.
Thanks, Graham
Install process? You may be taking a wrong approach. You update by replacing the old files with the new ones, then running the script at maintenance/update.php Only the database of that wiki is affected.
So to update you should just surround it with a "foreach wiki..." Good prectises advise making a db backup before updating.
If the wikis are sharing the files, it may be a bit harder, since you would need to break the links for updating individually (or update all dbs one after other at the same time).
Hello,
You update by replacing the old files with the new ones, then running
the script at maintenance/update.php Does that mean that I can simply copy the contents of new "mediawiki-1.15.2" directory to the original "mediawiki-1.11.0 directory? (Retaining the LocalSettings.php & AdminSettings.php from the 1.11.0 version). Or can I delete the old wiki dir & copy the new dir?
So to update you should just surround it with a "foreach wiki..."
I would like to upgrade them individually, rather than scripting them all.
Good prectises advise making a db backup before updating.
mysqldump -u name_admin -p namewiki > namewik-Back.txt
To my knowledge the wiki's are not sharing the files, but how could I determine that?
Thanks once a again!
-Graham- ----------------- Platonides wrote:
Tolliver wrote:
Hello,
Excuse me if my question sounds like a newbie, but I still am; I inherited the Wiki Server some months ago. I am preparing to upgrade MediaWiki 1.11.0 to 1.15.2, and we currently have 30 wiki’s.
My understanding is, I can upgrade each wiki individually. Having said that, can I perform the install process of the new version, replace the old wiki’s with the new install individually? Hence not having any databases being affected except for the wiki I upgrade.
I trust that this question is in keeping with this forum.
Thanks, Graham
Install process? You may be taking a wrong approach. You update by replacing the old files with the new ones, then running the script at maintenance/update.php Only the database of that wiki is affected.
So to update you should just surround it with a "foreach wiki..." Good prectises advise making a db backup before updating.
If the wikis are sharing the files, it may be a bit harder, since you would need to break the links for updating individually (or update all dbs one after other at the same time).
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
We've found it's better to delete the old set of folders and then copy in the new set. This is because sometimes a file was deleted in the new version, but doesn't get deleted when you copy a new version over top of an older version. As you said, you do need to retain your settings files. You will not need AdminSettings.php for the 1.15 versions if I read the release info correctly. You also need to retain the images (uploads) folders or anything uploaded to your wiki will be lost.
If you have a different folder (with all wiki code) for each of your 30 wikis then they definitely do not share code with each other (unless someone has done something overly complicated.
Yes, mysqldump like you wrote to make the database backups. It could get a little fuzzy if they share a database, but the settings should be able to handle it.
Good luck! -Courtney
Hello,
Thanks to everyone for all of your assistance, but I hope this is my last question:
Does anyone know what could be causing the following errors when I run ./update.php:
./update.php: line 1: ?php: No such file or directory ./update.php: line 2: require_once: command not found ./update.php: line 3: /appl: is a directory ./update.php: line 4: addwiki.php: command not found ./update.php: line 5: addwiki.php: command not found ./update.php: line 6: addwiki.php: command not found ./update.php: line 7: addwiki.php: command not found ./update.php: line 8: addwiki.php: command not found ./update.php: line 9: addwiki.php: command not found ./update.php: line 10: addwiki.php: command not found ./update.php: line 11: archives/: is a directory ./update.php: line 13: /appl: is a directory ./update.php: line 14: =: command not found ./update.php: line 15: syntax error near unexpected token `(' ./update.php: line 15: `$options = array( 'quick', 'nopurge' );'
Thanks, Graham
Platonides wrote:
Tolliver wrote:
Hello,
Excuse me if my question sounds like a newbie, but I still am; I inherited the Wiki Server some months ago. I am preparing to upgrade MediaWiki 1.11.0 to 1.15.2, and we currently have 30 wiki’s.
My understanding is, I can upgrade each wiki individually. Having said that, can I perform the install process of the new version, replace the old wiki’s with the new install individually? Hence not having any databases being affected except for the wiki I upgrade.
I trust that this question is in keeping with this forum.
Thanks, Graham
Install process? You may be taking a wrong approach. You update by replacing the old files with the new ones, then running the script at maintenance/update.php Only the database of that wiki is affected.
So to update you should just surround it with a "foreach wiki..." Good prectises advise making a db backup before updating.
If the wikis are sharing the files, it may be a bit harder, since you would need to break the links for updating individually (or update all dbs one after other at the same time).
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Try running php ./update.php ...?
/Sam
sam.sexton@thomsonreuters.com thomsonreuters.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Tolliver Sent: 01 April 2010 15:29 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Upgrade to 1.15.2 question
Hello,
Thanks to everyone for all of your assistance, but I hope this is my last question:
Does anyone know what could be causing the following errors when I run ./update.php:
./update.php: line 1: ?php: No such file or directory ./update.php: line 2: require_once: command not found ./update.php: line 3: /appl: is a directory ./update.php: line 4: addwiki.php: command not found ./update.php: line 5: addwiki.php: command not found ./update.php: line 6: addwiki.php: command not found ./update.php: line 7: addwiki.php: command not found ./update.php: line 8: addwiki.php: command not found ./update.php: line 9: addwiki.php: command not found ./update.php: line 10: addwiki.php: command not found ./update.php: line 11: archives/: is a directory ./update.php: line 13: /appl: is a directory ./update.php: line 14: =: command not found ./update.php: line 15: syntax error near unexpected token `(' ./update.php: line 15: `$options = array( 'quick', 'nopurge' );'
Thanks, Graham
Platonides wrote:
Tolliver wrote:
Hello,
Excuse me if my question sounds like a newbie, but I still am; I inherited the Wiki Server some months ago. I am preparing to upgrade MediaWiki 1.11.0 to 1.15.2, and we currently have 30 wiki's.
My understanding is, I can upgrade each wiki individually. Having
said
that, can I perform the install process of the new version, replace
the
old wiki's with the new install individually? Hence not having any databases being affected except for the wiki I upgrade.
I trust that this question is in keeping with this forum.
Thanks, Graham
Install process? You may be taking a wrong approach. You update by replacing the old files with the new ones, then running the script at maintenance/update.php Only the database of that wiki is affected.
So to update you should just surround it with a "foreach wiki..." Good prectises advise making a db backup before updating.
If the wikis are sharing the files, it may be a bit harder, since you would need to break the links for updating individually (or update all dbs one after other at the same time).
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
Hello Sam,
Here is what I get when I run, php update.php --aconf ../AdminSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_remoteuser.php on line 92 PHP Warning: require_once(/appl/web/devwiki/public_www/mediawiki-1.15/extensions/FCKeditor/FCKeditor.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138 PHP Fatal error: require_once(): Failed opening required '/appl/web/devwiki/public_www/mediawiki-1.15/extensions/FCKeditor/FCKeditor.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/appl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/devwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/usr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138
- This is line 92 from AdminSettings.php: if ( strlen($_SERVER['PHP_AUTH_USER']) ) {
- There isn't a FCKeditor.php file in the root dir; can it simply be copied from and existing wiki on the server?
Thanks ever so much!
-----------------------------------------
Sam.Sexton@thomsonreuters.com wrote:
Try running php ./update.php ...?
/Sam
sam.sexton@thomsonreuters.com thomsonreuters.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Tolliver Sent: 01 April 2010 15:29 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Upgrade to 1.15.2 question
Hello,
Thanks to everyone for all of your assistance, but I hope this is my last question:
Does anyone know what could be causing the following errors when I run ./update.php:
./update.php: line 1: ?php: No such file or directory ./update.php: line 2: require_once: command not found ./update.php: line 3: /appl: is a directory ./update.php: line 4: addwiki.php: command not found ./update.php: line 5: addwiki.php: command not found ./update.php: line 6: addwiki.php: command not found ./update.php: line 7: addwiki.php: command not found ./update.php: line 8: addwiki.php: command not found ./update.php: line 9: addwiki.php: command not found ./update.php: line 10: addwiki.php: command not found ./update.php: line 11: archives/: is a directory ./update.php: line 13: /appl: is a directory ./update.php: line 14: =: command not found ./update.php: line 15: syntax error near unexpected token `(' ./update.php: line 15: `$options = array( 'quick', 'nopurge' );'
Thanks, Graham
Platonides wrote:
Tolliver wrote:
Hello,
Excuse me if my question sounds like a newbie, but I still am; I inherited the Wiki Server some months ago. I am preparing to upgrade MediaWiki 1.11.0 to 1.15.2, and we currently have 30 wiki's.
My understanding is, I can upgrade each wiki individually. Having
said
that, can I perform the install process of the new version, replace
the
old wiki's with the new install individually? Hence not having any databases being affected except for the wiki I upgrade.
I trust that this question is in keeping with this forum.
Thanks, Graham
Install process? You may be taking a wrong approach. You update by replacing the old files with the new ones, then running the script at maintenance/update.php Only the database of that wiki is affected.
So to update you should just surround it with a "foreach wiki..." Good prectises advise making a db backup before updating.
If the wikis are sharing the files, it may be a bit harder, since you would need to break the links for updating individually (or update all dbs one after other at the same time).
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Here is what I get when I run, php update.php --aconf ../AdminSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_re moteuser.php on line 92 PHP Warning: require_once(/appl/web/devwiki/public_www/mediawiki-1.15/exten sions/FCKeditor/FCKeditor.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138 PHP Fatal error: require_once(): Failed opening required '/appl/web/devwiki/public_www/mediawiki-1.15/extensions/FCKedi tor/FCKeditor.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/ap pl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/de vwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/u sr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138
- This is line 92 from AdminSettings.php: if ( strlen($_SERVER['PHP_AUTH_USER']) ) {
This part of the update.php log is just a notice, and can be ignored. PHP_AUTH_USER isn't defined because no one is authenticating. You don't need authentication from the commandline though.
- There isn't a FCKeditor.php file in the root dir; can it simply be
copied from and existing wiki on the server?
Comment out the FCKeditor extension from LocalSettings.php, and then try again. Re-add it when you are done.
V/r,
Ryan Lane
Hello Ryan,
I get the following with that line removed from LocalSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_remoteuser.php on line 92 PHP Warning: require_once(extensions/WhosOnline.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 143 PHP Fatal error: require_once(): Failed opening required 'extensions/WhosOnline.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/appl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/devwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/usr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 143
Thanks, Graham ------------------ Lane, Ryan wrote:
Here is what I get when I run, php update.php --aconf ../AdminSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_re moteuser.php on line 92 PHP Warning: require_once(/appl/web/devwiki/public_www/mediawiki-1.15/exten sions/FCKeditor/FCKeditor.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138 PHP Fatal error: require_once(): Failed opening required '/appl/web/devwiki/public_www/mediawiki-1.15/extensions/FCKedi tor/FCKeditor.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/ap pl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/de vwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/u sr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138
- This is line 92 from AdminSettings.php: if ( strlen($_SERVER['PHP_AUTH_USER']) ) {
This part of the update.php log is just a notice, and can be ignored. PHP_AUTH_USER isn't defined because no one is authenticating. You don't need authentication from the commandline though.
- There isn't a FCKeditor.php file in the root dir; can it simply be
copied from and existing wiki on the server?
Comment out the FCKeditor extension from LocalSettings.php, and then try again. Re-add it when you are done.
V/r,
Ryan Lane
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Graham,
Maybe you should comment all the extensions out of Localsettings.php and re-add them when you are done.
Huib
2010/4/5, Tolliver tolliver@dal.ca:
Hello Ryan,
I get the following with that line removed from LocalSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_remoteuser.php on line 92 PHP Warning: require_once(extensions/WhosOnline.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 143 PHP Fatal error: require_once(): Failed opening required 'extensions/WhosOnline.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/appl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/devwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/usr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 143
Thanks, Graham
Lane, Ryan wrote:
Here is what I get when I run, php update.php --aconf ../AdminSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_re moteuser.php on line 92 PHP Warning: require_once(/appl/web/devwiki/public_www/mediawiki-1.15/exten sions/FCKeditor/FCKeditor.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138 PHP Fatal error: require_once(): Failed opening required '/appl/web/devwiki/public_www/mediawiki-1.15/extensions/FCKedi tor/FCKeditor.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/ap pl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/de vwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/u sr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138
- This is line 92 from AdminSettings.php: if ( strlen($_SERVER['PHP_AUTH_USER']) ) {
This part of the update.php log is just a notice, and can be ignored. PHP_AUTH_USER isn't defined because no one is authenticating. You don't need authentication from the commandline though.
- There isn't a FCKeditor.php file in the root dir; can it simply be
copied from and existing wiki on the server?
Comment out the FCKeditor extension from LocalSettings.php, and then try again. Re-add it when you are done.
V/r,
Ryan Lane
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hello,
Thanks very much, that worked!
Unfortunately, when I try to access the wiki I get a permissions error; that I will determine where the permissions need to be granted again, since the upgrade.
Forbidden
You don't have permission to access / on this server.
When I try "apachectl graceful" , I get this error: --------------------------------------------------------------------------------- apachectl: Configuration syntax error, will not run "graceful": httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax error on line 180 of /etc/httpd/conf.d/wiki-ssl.conf: Could not open configuration file /appl/web/devwiki/etc/devwiki.conf: No such file or directory
Lines in question: line 209 in httpd.conf is: Include conf.d/*.conf Line 180 of wiki-ssl.conf is: SSLOptions +StdEnvVars /appl/web/devwiki/etc/devwiki.conf (doesn't exist)
Thanks, Graham
Huib Laurens wrote:
Graham,
Maybe you should comment all the extensions out of Localsettings.php and re-add them when you are done.
Huib
2010/4/5, Tolliver tolliver@dal.ca:
Hello Ryan,
I get the following with that line removed from LocalSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_remoteuser.php on line 92 PHP Warning: require_once(extensions/WhosOnline.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 143 PHP Fatal error: require_once(): Failed opening required 'extensions/WhosOnline.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/appl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/devwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/usr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 143
Thanks, Graham
Lane, Ryan wrote:
Here is what I get when I run, php update.php --aconf ../AdminSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_re moteuser.php on line 92 PHP Warning: require_once(/appl/web/devwiki/public_www/mediawiki-1.15/exten sions/FCKeditor/FCKeditor.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138 PHP Fatal error: require_once(): Failed opening required '/appl/web/devwiki/public_www/mediawiki-1.15/extensions/FCKedi tor/FCKeditor.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/ap pl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/de vwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/u sr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138
- This is line 92 from AdminSettings.php: if ( strlen($_SERVER['PHP_AUTH_USER']) ) {
This part of the update.php log is just a notice, and can be ignored. PHP_AUTH_USER isn't defined because no one is authenticating. You don't need authentication from the commandline though.
- There isn't a FCKeditor.php file in the root dir; can it simply be
copied from and existing wiki on the server?
Comment out the FCKeditor extension from LocalSettings.php, and then try again. Re-add it when you are done.
V/r,
Ryan Lane
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hello,
Thanks to everyone for all of you assistance.
I have resolved the issue; it was just missing the devwiki.conf file, of which I shouldn't have overlooked.
Thanks again!
-------------- Tolliver wrote:
Hello,
Thanks very much, that worked!
Unfortunately, when I try to access the wiki I get a permissions error; that I will determine where the permissions need to be granted again, since the upgrade.
Forbidden
You don't have permission to access / on this server.
When I try "apachectl graceful" , I get this error:
apachectl: Configuration syntax error, will not run "graceful": httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax error on line 180 of /etc/httpd/conf.d/wiki-ssl.conf: Could not open configuration file /appl/web/devwiki/etc/devwiki.conf: No such file or directory
Lines in question: line 209 in httpd.conf is: Include conf.d/*.conf Line 180 of wiki-ssl.conf is: SSLOptions +StdEnvVars /appl/web/devwiki/etc/devwiki.conf (doesn't exist)
Thanks, Graham
Huib Laurens wrote:
Graham,
Maybe you should comment all the extensions out of Localsettings.php and re-add them when you are done.
Huib
2010/4/5, Tolliver tolliver@dal.ca:
Hello Ryan,
I get the following with that line removed from LocalSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_remoteuser.php on line 92 PHP Warning: require_once(extensions/WhosOnline.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 143 PHP Fatal error: require_once(): Failed opening required 'extensions/WhosOnline.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/appl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/devwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/usr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 143
Thanks, Graham
Lane, Ryan wrote:
Here is what I get when I run, php update.php --aconf ../AdminSettings.php:
PHP Notice: Undefined index: PHP_AUTH_USER in /appl/web/devwiki/public_www/mediawiki-1.15/extensions/Auth_re moteuser.php on line 92 PHP Warning: require_once(/appl/web/devwiki/public_www/mediawiki-1.15/exten sions/FCKeditor/FCKeditor.php): failed to open stream: No such file or directory in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138 PHP Fatal error: require_once(): Failed opening required '/appl/web/devwiki/public_www/mediawiki-1.15/extensions/FCKedi tor/FCKeditor.php' (include_path='/appl/web/devwiki/public_www/mediawiki-1.15:/ap pl/web/devwiki/public_www/mediawiki-1.15/includes:/appl/web/de vwiki/public_www/mediawiki-1.15/languages:.:/usr/share/pear:/u sr/share/php') in /appl/web/devwiki/public_www/mediawiki-1.15/LocalSettings.php on line 138
- This is line 92 from AdminSettings.php: if ( strlen($_SERVER['PHP_AUTH_USER']) ) {
This part of the update.php log is just a notice, and can be ignored. PHP_AUTH_USER isn't defined because no one is authenticating. You don't need authentication from the commandline though.
- There isn't a FCKeditor.php file in the root dir; can it simply be
copied from and existing wiki on the server?
Comment out the FCKeditor extension from LocalSettings.php, and then try again. Re-add it when you are done.
V/r,
Ryan Lane
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
You have a number of extensions installed like: require_once("extensions/extensioname/extensioname.php");
That works when you are at the wiki root, but not from maintenance dir. Change those lines to: require_once("$IP/extensions/extensioname/extensioname.php");
and all should be fine.
mediawiki-l@lists.wikimedia.org