Hi Everyone,
We upgraded to 1.32.6 today. Everything looks OK. The 1.32.6 release
announcement said this is the last upgrade, and we should switch to
1.33 or 1.34.
We rent a CentOS 7 VM. It is fully patched. We enabled Software
Collections (SCL) to get something more modern for Apache and PHP. SCL
provides:
* Apache 2.4.34
* PHP 7.1.30
* MariaDB 5.5.64
Also see https://www.cryptopp.com/wiki/Special:Version.
When we try the next upgrade to 1.34.0, we get the following when
trying to update the Vendor gear:
# php -d extension=phar.so composer.phar update
Do not run Composer as root/super user! See
https://getcomposer.org/root for details
> ComposerHookHandler::onPreUpdate
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- This package requires php >=7.2.9 but your PHP version (7.1.30)
does not satisfy that requirement.
Problem 2
- Installation request for mediawiki/mediawiki-codesniffer 28.0.0
-> satisfiable by mediawiki/mediawiki-codesniffer[v28.0.0].
- mediawiki/mediawiki-codesniffer v28.0.0 requires php >= 7.2.0 ->
your PHP version (7.1.30) does not satisfy that requirement.
What is the highest version of Mediawiki we can upgrade to?
Thanks in advance.
Hello Friendly Mediawiki People,
Fresh format-disk-and-install Buster 64-bit.
This is my third attempt, with the mediawiki installer having problems
logging in to MariaDB every time.
I've installed mediawiki (Jessie?) with zero problems.
NOTE-----MariaDB was installed with a simple "sudo apt -y install
mediawiki" as described below.
Ran "sudo apt -y install mediawiki" without installing any other software.
Rebooted.
Opened browser to http://localhost/mediawiki/.
Got this screen:
MediaWiki 1.31.4
LocalSettings.php not found.
Please set up the wiki first.
Clicked the "set up the wiki" link.
Got this status "The environment has been checked. You can install MediaWiki."
Clicked Continue.
Got this:
Cannot access the database: No such file or directory (localhost).
Check the host, username and password and try again.
Started MariaDB with this command line:
sudo mysqld_safe --skip-grant-tables &
Able to log in as the MariaDB root user via mysql -u root.
Attempted to set the root password since mediawiki setup didn't like
the login info.
Unable to reset the root password:
MariaDB [(none)]> SET PASSWORD FOR 'root'@'localhost' =
PASSWORD('secret_password');
ERROR 1131 (42000): You are using MariaDB as an anonymous user
and anonymous users are not allowed to modify user settings
MariaDB [(none)]> select user();
+--------+
| user() |
+--------+
| root@ |
+--------+
Exit mysql client.
Ran "sudo apt -y purge mediawiki" hoping to destroy the MariaDB
databases so I could get a fresh start solving mediawiki's db login
problems.
Rebooted.
Ran "sudo apt -y install mediawiki" again, no MariaDB installation
messages which meant the "purge mediawiki" did not also purge MariaDB
(which it installed.)
No success.
Seems that the mediawiki installer has defaults for the 'root'
database user with a blank password, doesn't work with that either.
What is wrong?
Thanks.
Hi all,
Tomorrow we will be issuing a security and maintenance release to all
supported branches of MediaWiki.
It will also coincide with the with formal release of 1.34.0, which has
been a little bit delayed due to the US holidays and the Wikimedia
Technical Conference whilst the last few couple of outstanding issues could
be fixed. It also meant that a followup release to the REL1_34 branch
wouldn't be needed only a couple of weeks after the 1.34.0 release was cut.
The new releases will be:
1.34.0
1.33.2
1.32.6
1.31.6
This will resolve 1 issue in MediaWiki core (when running on older PHP
versions), and also includes some fixes previously committed to git, such
as minor security and hardening patches.
Fixes will be available in these respective release branches, and also
master. Tarballs will be available for the above mentioned point releases
as well.
1.32.6 will also be the final release for 1.32 (barring any unforeseen
issues), which is scheduled to become end of life in January 2020 [1]. If
you're using 1.32, it is recommended that you upgrade to the latest point
release of the 1.33 branch (1.33.2, to be released tomorrow) or 1.34.0 to
carry on using a maintained and supported release.
This security release includes fixes for MediaWiki core.
A summary of some of the security fixes that have gone into non bundled
MediaWiki extensions will also follow.
[1] https://www.mediawiki.org/wiki/Version_lifecycle
Thanks!
Sam
Hi, there,
I partially solved the problem thanks to a precious suggestion (thanks Hershel): to update the version of Metrolook to 1.33 (which I had not done).
Now the skin is the correct one, I see the SideBar and also the images.
I still have the problem of not being able to access my wiki with my administrator credentials (WikiSysop) or with those of any other user, i.e: NO LOGIN at all.
Given that the update script did not show any errors except this one (for Anonymous and some other user):
... rev_id=8578
User name "Anonymous" is usable, cannot create an anonymous actor for it. Run maintenance/cleanupUsersWithNoId.php to fix this situation
What else can I do?
Valerio Pelliccioni
W: https://tunearch.org/
From: "Valerio M. Pelliccioni" <vmp(a)silkwood.it>
Date: Monday, 16 December 2019 at 11:53
To: MediaWiki announcements and site admin list <mediawiki-l(a)lists.wikimedia.org>
Subject: Failed to upgrade from 1.32.5 to 1.33.1
Hi, there,
I'm not new to the MediaWiki update process.
I have already updated major and minor releases in the past (i.e. from 1.29 to 1.32 and from 1.32 to 1.32.5).
Today I tried to update to 1.33.1 and after performing all the preparatory steps:
. Check the requirements
. Read the release notes
. Back up existing files and the database
. Unpack the new files in a new and empty folder on my server
. Upgrade extensions
. Copied all files (and directories) from the old installation (images, LocalSettings, skins, etc.)
I run the update script but, unlike the previous updates, the wiki
. did not show my default skin (Metrolook),
. did not show images,
. did not show the SideBar
. and especially did not allow me (WikiSysop, nor other users) to login (the wiki asked me to provide a password longer than 8 characters)
I didn't investigate any further; these result was enough for me to go back to my footsteps...restored the wikiDB, run the update script in the old (1.32.5) maintenance directory and now everything works fine (as expected).
Did I forget any steps, or made something wrong during the update process?
ProductVersion
MediaWiki1.32.5
PHP7.2.17-0ubuntu0.18.04.1 (apache2handler)
MariaDB10.1.38-MariaDB-0ubuntu0.18.04.1
Any little help is appreciated.
Valerio Pelliccioni
W: https://tunearch.org
Hi, there,
I'm not new to the MediaWiki update process.
I have already updated major and minor releases in the past (i.e. from 1.29 to 1.32 and from 1.32 to 1.32.5).
Today I tried to update to 1.33.1 and after performing all the preparatory steps:
. Check the requirements
. Read the release notes
. Back up existing files and the database
. Unpack the new files in a new and empty folder on my server
. Upgrade extensions
. Copied all files (and directories) from the old installation (images, LocalSettings, skins, etc.)
I run the update script but, unlike the previous updates, the wiki
. did not show my default skin (Metrolook),
. did not show images,
. did not show the SideBar
. and especially did not allow me (WikiSysop, nor other users) to login (the wiki asked me to provide a password longer than 8 characters)
I didn't investigate any further; these result was enough for me to go back to my footsteps...restored the wikiDB, run the update script in the old (1.32.5) maintenance directory and now everything works fine (as expected).
Did I forget any steps, or made something wrong during the update process?
ProductVersion
MediaWiki1.32.5
PHP7.2.17-0ubuntu0.18.04.1 (apache2handler)
MariaDB10.1.38-MariaDB-0ubuntu0.18.04.1
Any little help is appreciated.
Valerio Pelliccioni
W: https://tunearch.org
Hi,
A new episode of the MediaWiki podcast Between the Brackets has been
released: this one is an interview with Gergő Tisza, also known as user
"Tgr", a developer at the Wikimedia Foundation. You can listen to the
episode here:
http://betweenthebrackets.libsyn.com/episode-49-gerg-tisza
Also, I forgot to send an announcement email about the previous episode,
two weeks ago - an interview with Jan Höffler of ReplicationWiki:
http://betweenthebrackets.libsyn.com/episode-48-jan-hffler
I hope you enjoy both!
-Yaron
Hello everyone,
I have troubles running several wikis on a same installation.
In fact I cannot use neither symlinks nor subdomain redirections to do it. So I have tried a hand-mde solution with a copy of index.php.
i.e. : I want to run 4 wikis, that I have called :
- andra
- anthony
- nita
- crep
To go to andra for example I type the address :
pascal.lautre.net/w/andra.php
and I have created a LocalSettings-$wikiname.php for each of the 4 wikis, setting a switch in the main LocalSettings.php to include the appropriate one.
But I've got all my vairables and paths erased when the wiki redirects, it calls index.php/Accueil for example and I have no way to know what was the original call.
I have even tried to use a hook, the BeforePageRedirect hook, but it worked only for loading the Accueil page (I guess it would be called HOme in english, or Welcome), after, I have the problem again when I try to connect, the link points to index.php instead of andra.php.
Here is the code of my LocalSettings.php:
<?php
$ppw = "/w";
if (! isset($pascal_request_uri)) {
$pascal_request_uri = split("/", $_SERVER['REQUEST_URI'])[2];
}
$wgHooks['BeforePageRedirect'][] = function ($out, &$redirect, &$code) {
GLOBAL $pascal_request_uri;
GLOBAL $ppw;
$redirect = ereg_replace("/index.php", "/$pascal_request_uri", $redirect);
return true;
};
switch ($pascal_request_uri) {
case "andra.php":
case "anthony.php":
case "nita.php":
case "crep.php":
require_once("LocalSettings-$pascal_request_uri");
break;
default:
echo "<p>NO wiki specified. please choose a wiki, ex: <br>\n";
echo $_SERVER['SERVER_NAME'] . "$ppw/idees.php<br>\n";
exit(1);
}
Thank you for any help!
Pascal