[Pkg-mediawiki-devel] Bug#337918: marked as done (mediawiki: Images vanished)

Debian Bug Tracking System owner at bugs.debian.org
Thu Jan 19 00:19:55 UTC 2006

Your message dated Wed, 18 Jan 2006 15:33:58 -0800
with message-id <E1EzMoQ-00048W-KH at spohr.debian.org>
and subject line Bug#337918: fixed in mediawiki 1.4.13-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 7 Nov 2005 09:24:25 +0000
>From TilleA at rki.de Mon Nov 07 01:24:25 2005
Return-path: <TilleA at rki.de>
Received: from mail2.bund.de (fw-berlin.bund.de) [] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EZ3Em-0006BT-00; Mon, 07 Nov 2005 01:24:25 -0800
Received: (from root at localhost)
	by fw-berlin.bund.de (8.11.6p2G/8.11.6) id jA79NoA12198
	for submit at bugs.debian.org; Mon, 7 Nov 2005 10:23:50 +0100 (CET)
Received: (from localhost) by m2.fw.bln.ivbb.bund.de (MSCAN) id 4/m2.fw.bln.ivbb.bund.de/smtp-gw/mscan; Mon Nov 7 10:23:50
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Andreas Tille <tillea at rki.de>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: mediawiki: Images vanished
X-Mailer: reportbug 3.17
Date: Mon, 07 Nov 2005 10:23:38 +0100
Message-Id: <E1EZ3E2-0004F4-R1 at wr-linux02>
X-OriginalArrivalTime: 07 Nov 2005 09:23:40.0080 (UTC) FILETIME=[F087AB00:01C5E37C]
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: mediawiki
Version: 1.4.11-1
Severity: normal


somewhere in between the upgrade from 1.4.9 to 1.4.10 or 1.4.10 and 1.4.11
the images I uploaded to the Wiki got lost.  I did not noticed this earlier
because I have only two images until now - so there was low chance to detect
this (and no big harm until now luckyly).

My /etc/mediawiki/LocalSettings.php says:

   $wgUploadPath       = "$wgScriptPath/images";
   $wgUploadDirectory  = "$IP/images";            
   $wgDisableUploads = false ;

I just want to mention that strangely enough there is a broken link
  /var/lib/mediawiki/AdminSettings.php -> /etc/mediawiki/AdminSettings.php
because /etc/mediawiki/AdminSettings.php does not exist.  I do not know
since when this file exists.  All links and directories in /var/lib/mediawiki
are from October 12, which is probably the date when I installed the 1.4.11
package.  When I installed the mediawiki package the first time there
was no broken link.

I verified that the images I uploaded are just present on my disk via

  $ find /var/lib/mediawiki/images -type f | grep \.png

which sounds reasonable, but if I try to display the page that contains these
image I get "Fehlendes Bild" (in English probably "Missing image").  When I
just try to reupload an image to see what happens I get (try to translate
to English!!):

   Internal error
   Unable to copy file "/tmp/phpY1Y05q" to "/usr/share/mediawiki/images/temp/b/bf/20051107084213!BioNumericsInfo.png".

Moreover the page is kind of bloated by the following internal PHP messages:

Warning: move_uploaded_file(/usr/share/mediawiki/images/temp/b/bf/20051107091037!BioNumericsInfo.png): failed to open stream: No such file or directory in /usr/share/mediawiki/includes/SpecialUpload.php on line 343
Warning: move_uploaded_file(): Unable to move '/tmp/phpBjHawK' to '/usr/share/mediawiki/images/temp/b/bf/20051107091037!BioNumericsInfo.png' in /usr/share/mediawiki/includes/SpecialUpload.php on line 343

I have no idea why the program wanted to store the image under
/usr/share/mediawiki/images (which does not exist) instead of
/var/lib/mediawiki/images.  I tried to fix this ny setting a symlink
which points to /var/lib/mediawiki/images and now I was able to
reupload the image with the same name and I got

  $ find /var/lib/mediawiki/images -type f | grep \.png

I have no idea why the new image is put under archive and I have neither no
idea why after reuploading *one* image the *other* image also reappeared
in the *preview* if I want to edit the page that contains the images. But
if I save my edits all images vanished again.  So something very strange
is happening here.

Feel free to ask me for further information


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (501, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages mediawiki depends on:
ii  apache2                       2.0.54-5   next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd]   2.0.54-5   traditional model for Apache2
ii  debconf [debconf-2.0]         1.4.58     Debian configuration management sy
ii  php4                          4:4.4.0-4  server-side, HTML-embedded scripti
ii  php4-mysql                    4:4.4.0-4  MySQL module for php4

Versions of packages mediawiki recommends:
ii  mysql-server                  4.1.14-6   mysql database server (transitiona
ii  mysql-server-4.1 [mysql-serve 4.1.14-6   mysql database server binaries

-- debconf information:
* mediawiki/webserver: apache2

Received: (at 337918-close) by bugs.debian.org; 18 Jan 2006 23:53:04 +0000
>From katie at ftp-master.debian.org Wed Jan 18 15:53:04 2006
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1EzMoQ-00048W-KH; Wed, 18 Jan 2006 15:33:58 -0800
From: =?utf-8?b?TWFyYyBEZXF1w6huZXMgKER1Y2sp?= <Duck at DuckCorp.org>
To: 337918-close at bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#337918: fixed in mediawiki 1.4.13-2
Message-Id: <E1EzMoQ-00048W-KH at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Wed, 18 Jan 2006 15:33:58 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: mediawiki
Source-Version: 1.4.13-2

We believe that the bug you reported is fixed in the latest version of
mediawiki, which is due to be installed in the Debian FTP archive:

  to pool/main/m/mediawiki/mediawiki-math_1.4.13-2_i386.deb
  to pool/main/m/mediawiki/mediawiki_1.4.13-2.diff.gz
  to pool/main/m/mediawiki/mediawiki_1.4.13-2.dsc
  to pool/main/m/mediawiki/mediawiki_1.4.13-2_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 337918 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Marc Dequènes (Duck) <Duck at DuckCorp.org> (supplier of updated mediawiki package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)

Hash: SHA1

Format: 1.7
Date: Thu, 19 Jan 2006 00:11:29 +0100
Source: mediawiki
Binary: mediawiki mediawiki-math
Architecture: source all i386
Version: 1.4.13-2
Distribution: unstable
Urgency: low
Maintainer: Mediawiki Maintenance Team <pkg-mediawiki-devel at lists.alioth.debian.org>
Changed-By: Marc Dequènes (Duck) <Duck at DuckCorp.org>
 mediawiki  - website engine for collaborative work
 mediawiki-math - math rendering plugin for MediaWiki
Closes: 332727 337742 337918
 mediawiki (1.4.13-2) unstable; urgency=low
   * Backported changes from 1.5-1 WIP package:
     + Added comment in README.Debian for old packages (Closes: #337918).
     + Added configuration file for cherokee (Closes: #332727).
     + Changed default choice for webserver (Closes: 337742).
     + Added Homepage link in 'debian/control.in'.
   * Corrected watch file to scan 1.4 branch only.
   * Patched in-code software version, upstream authors often forget to
     update it.
   * Added missing upstream documentation.
   * Install missing '/etc/mediawiki/AdminSettings.php'.
 d6dca8f2a1c825ad7c78c74a13978ae2 900 web optional mediawiki_1.4.13-2.dsc
 e717ba7afe6a21a30928d912f149f6b2 11891 web optional mediawiki_1.4.13-2.diff.gz
 0c12b24ef34068a6c82343fb2c6a277e 1974238 web optional mediawiki_1.4.13-2_all.deb
 427e6dbc703f052f4219edaaaa13428a 118996 web optional mediawiki-math_1.4.13-2_i386.deb

Version: GnuPG v1.4.2 (GNU/Linux)


More information about the Pkg-mediawiki-devel mailing list