I have upgraded from 1.24.2 to 1.25.1
PHP 5.4.39-0+deb7u2 (cgi-fcgi) MariaDB 10.0.19-MariaDB-1~wheezy
I moved all the files, upacked the full tarball (not the core). I then copied back the Localsettings.php and the /images/.
The images are not displayed. I ran update.php.
I tried to create a new Localsettings.php, so at least I can upload new images now.
I see "Error creating thumbnail: File missing" on the old images.
And original files seem to be missing too.
/images/0/06/Three_Mill_Lane_b1.jpg
I assume the database does not match the data in /images/
Any ideas?
Gordo
Do you have a file with that name anywhere in the /images directory structure?
On Wednesday, May 27, 2015, Gordon Joly gordon.joly@pobox.com wrote:
I have upgraded from 1.24.2 to 1.25.1
PHP 5.4.39-0+deb7u2 (cgi-fcgi) MariaDB 10.0.19-MariaDB-1~wheezy
I moved all the files, upacked the full tarball (not the core). I then copied back the Localsettings.php and the /images/.
The images are not displayed. I ran update.php.
I tried to create a new Localsettings.php, so at least I can upload new images now.
I see "Error creating thumbnail: File missing" on the old images.
And original files seem to be missing too.
/images/0/06/Three_Mill_Lane_b1.jpg
I assume the database does not match the data in /images/
Any ideas?
Gordo
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I did check just after the install, but it seems that the files have gone!
Gordon
On 27/05/15 11:16, John wrote:
Do you have a file with that name anywhere in the /images directory structure?
On Wednesday, May 27, 2015, Gordon Joly gordon.joly@pobox.com wrote:
I have upgraded from 1.24.2 to 1.25.1
PHP 5.4.39-0+deb7u2 (cgi-fcgi) MariaDB 10.0.19-MariaDB-1~wheezy
I moved all the files, upacked the full tarball (not the core). I then copied back the Localsettings.php and the /images/.
The images are not displayed. I ran update.php.
I tried to create a new Localsettings.php, so at least I can upload new images now.
I see "Error creating thumbnail: File missing" on the old images.
And original files seem to be missing too.
/images/0/06/Three_Mill_Lane_b1.jpg
I assume the database does not match the data in /images/
Any ideas?
Gordo
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Do you have a copy from the old setup?
On Wed, May 27, 2015 at 12:08 PM, Gordon Joly gordon.joly@pobox.com wrote:
I did check just after the install, but it seems that the files have gone!
Gordon
On 27/05/15 11:16, John wrote:
Do you have a file with that name anywhere in the /images directory structure?
On Wednesday, May 27, 2015, Gordon Joly gordon.joly@pobox.com wrote:
I have upgraded from 1.24.2 to 1.25.1
PHP 5.4.39-0+deb7u2 (cgi-fcgi) MariaDB 10.0.19-MariaDB-1~wheezy
I moved all the files, upacked the full tarball (not the core). I then copied back the Localsettings.php and the /images/.
The images are not displayed. I ran update.php.
I tried to create a new Localsettings.php, so at least I can upload new images now.
I see "Error creating thumbnail: File missing" on the old images.
And original files seem to be missing too.
/images/0/06/Three_Mill_Lane_b1.jpg
I assume the database does not match the data in /images/
Any ideas?
Gordo
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Yes, I have a copy (daily backups). The "solution" is to edit the page and all the images appear. I would suggest that this will not work for my Mediawiki instances!
One issue is that (under Virtualmin) all the files in /images/ are owned by the user (r3m), rather than "www-data" (apache2).
drwxrwxr-x 15 r3m r3m 4096 May 29 11:03 . drwxrwxr-x 15 mediawiki mediawiki 4096 May 29 11:24 .. drwxrwxrwx 3 r3m r3m 4096 Nov 11 2012 0 drwxr-xr-x 3 r3m r3m 4096 May 28 15:54 1 drwxr-xr-x 3 r3m r3m 4096 Apr 17 2013 3 drwxr-xr-x 3 r3m r3m 4096 May 29 11:02 4 drwxr-xr-x 3 r3m r3m 4096 Apr 17 2013 5 drwxr-xr-x 3 r3m r3m 4096 May 29 11:03 7 drwxrwxrwx 11 r3m r3m 4096 May 29 11:03 archive drwxr-xr-x 3 r3m r3m 4096 May 29 11:01 c drwxr-xr-x 3 r3m r3m 4096 Dec 19 2013 e drwxr-xr-x 3 r3m r3m 4096 Jun 20 2014 f -rw-rw-r-- 1 r3m r3m 180 Oct 1 2014 .htaccess drwxrwxrwx 2 r3m r3m 4096 May 29 11:03 lockdir -rw-rw-r-- 1 r3m r3m 203 Oct 1 2014 README drwxr-xr-x 3 r3m r3m 4096 Apr 17 2013 temp drwxrwxrwx 11 r3m r3m 4096 May 29 11:03 thumb
ls -latd images/ drwxrwxr-x 15 r3m r3m 4096 May 29 11:03 images/
New images uploaded work fine, it is just the older images. So, I have the images, they are in the database, but the thumbs are missing.
Gordon
On 27/05/15 18:00, John wrote:
Do you have a copy from the old setup?
On Wed, May 27, 2015 at 12:08 PM, Gordon Joly gordon.joly@pobox.com wrote:
I did check just after the install, but it seems that the files have gone!
Gordon
On 27/05/15 11:16, John wrote:
Do you have a file with that name anywhere in the /images directory structure?
On Wednesday, May 27, 2015, Gordon Joly gordon.joly@pobox.com wrote:
I have upgraded from 1.24.2 to 1.25.1
PHP 5.4.39-0+deb7u2 (cgi-fcgi) MariaDB 10.0.19-MariaDB-1~wheezy
I moved all the files, upacked the full tarball (not the core). I then copied back the Localsettings.php and the /images/.
The images are not displayed. I ran update.php.
I tried to create a new Localsettings.php, so at least I can upload new images now.
I see "Error creating thumbnail: File missing" on the old images.
And original files seem to be missing too.
/images/0/06/Three_Mill_Lane_b1.jpg
I assume the database does not match the data in /images/
Any ideas?
Gordo
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
You might check permissions on the thumb subdirectory. You say the images are in the database; are the old images in the images subdirectories 1-f?
Fred
On Fri, 29 May 2015 11:46:07 +0100 Gordon Joly gordon.joly@pobox.com wrote:
On 29/05/15 11:42, Gordon Joly wrote:
New images uploaded work fine, it is just the older images. So, I have the images, they are in the database, but the thumbs are missing.
Gordon
I have feeling that
php maintenance/update.php
will help.
Will experiment further....
Gordon
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Helllo. I´ve got also a problem with images: http://www.plateau-trivial.de/wiki/
Editing an saving any page doesn´t have an effect. It´s strange that iamges from other folders are shown. (pi is a pic from another domain) Also strange is that thumbnails do work: http://www.plateau-trivial.de/wiki/thumb.php?f=Suedfr.png&w=200
The directlink to the picture leads directley to an internal server error 500: http://www.plateau-trivial.de/wiki/images/Suedfr.png
Any ideas?
Am 29.05.2015 um 14:14 schrieb Gordon Joly:
On 29/05/15 13:02, FRED BAUDER wrote:
You might check permissions on the thumb subdirectory. You say the images are in the database; are the old images in the images subdirectories 1-f?
Fred
Yes. They are all the same user (r3m).
Thanks,
Gordon
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Fri, May 29, 2015 at 4:50 PM, Christian Ermisch nemesus@plateau-trivial.de wrote:
Helllo. I´ve got also a problem with images: http://www.plateau-trivial.de/wiki/
Editing an saving any page doesn´t have an effect. It´s strange that iamges from other folders are shown. (pi is a pic from another domain) Also strange is that thumbnails do work: http://www.plateau-trivial.de/wiki/thumb.php?f=Suedfr.png&w=200
The directlink to the picture leads directley to an internal server error 500: http://www.plateau-trivial.de/wiki/images/Suedfr.png
I'm not sure, but this sounds similar to what I had after updating. It was caused by "FollowSymLinks" .htaccess option being forbidden on my hosting service, so I had to change "Options +FollowSymLinks" to "Options +SymLinksIfOwnerMatch" in images/.htaccess.
Thank you very much! I had to change
"Options +FollowSymLinks" in "# Options +FollowSymLinks"
Now it works: http://www.plateau-trivial.de/wiki/index.php?title=Hauptseite
Cheers!
Am 29.05.2015 um 16:13 schrieb Jani Uusitalo:
On Fri, May 29, 2015 at 4:50 PM, Christian Ermisch nemesus@plateau-trivial.de wrote:
Helllo. I´ve got also a problem with images: http://www.plateau-trivial.de/wiki/
Editing an saving any page doesn´t have an effect. It´s strange that iamges from other folders are shown. (pi is a pic from another domain) Also strange is that thumbnails do work: http://www.plateau-trivial.de/wiki/thumb.php?f=Suedfr.png&w=200
The directlink to the picture leads directley to an internal server error 500: http://www.plateau-trivial.de/wiki/images/Suedfr.png
I'm not sure, but this sounds similar to what I had after updating. It was caused by "FollowSymLinks" .htaccess option being forbidden on my hosting service, so I had to change "Options +FollowSymLinks" to "Options +SymLinksIfOwnerMatch" in images/.htaccess.
On 29/05/15 16:11, Christian Ermisch wrote:
Thank you very much! I had to change
"Options +FollowSymLinks" in "# Options +FollowSymLinks"
Now it works: http://www.plateau-trivial.de/wiki/index.php?title=Hauptseite
Cheers!
In 1.25.1
MW_1.25.1/FULL/mediawiki-1.25.1/images# cat .htaccess
# Protect against bug 28235 <IfModule rewrite_module> RewriteEngine On RewriteCond %{QUERY_STRING} .[^\/:*?\x22<>|%]+(#|?|$) [nocase] RewriteRule . - [forbidden] # Fix for bug T64289 Options +FollowSymLinks </IfModule>
Fix for bug T64289?
https://phabricator.wikimedia.org/T64289
Gordo
cat .htaccess
# Protect against bug 28235 <IfModule rewrite_module> RewriteEngine On RewriteCond %{QUERY_STRING} .[^\/:*?\x22<>|%]+(#|?|$) [nocase] RewriteRule . - [forbidden] # Fix for bug T64289 # Options +FollowSymLinks </IfModule>
My system only works with the above. The "Options +FollowSymLinks" was added for servers on Mac hardware.
I know have (in one instance of Mediawiki)
# Fix for bug T64289 # Options +FollowSymLinks Options +SymLinksIfOwnerMatch
I have started an conversation in phabricator....
Gordo
OOPS.
Looks like images are not displayed correctly in 1.24.2 so the issue is nothing to do with the upgrade 1.24.2 to 1.25.1
Many thanks for the comments made above.
Gordon
in 1.24.2 I had no problems with images. Anyway, now it works for me in 1.25.1
Chreers
Am 29.05.2015 um 17:56 schrieb Gordon Joly:
OOPS.
Looks like images are not displayed correctly in 1.24.2 so the issue is nothing to do with the upgrade 1.24.2 to 1.25.1
Many thanks for the comments made above.
Gordon
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
OK dankje. komt goed ..
ruud
Christian Ermisch schreef op 29-5-2015 om 18:01:
in 1.24.2 I had no problems with images. Anyway, now it works for me in 1.25.1
Chreers
Am 29.05.2015 um 17:56 schrieb Gordon Joly:
OOPS.
Looks like images are not displayed correctly in 1.24.2 so the issue is nothing to do with the upgrade 1.24.2 to 1.25.1
Many thanks for the comments made above.
Gordon
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
https://en.wikipedia.org/wiki/Chown
Fred
On Fri, 29 May 2015 11:42:41 +0100 Gordon Joly gordon.joly@pobox.com wrote:
Yes, I have a copy (daily backups). The "solution" is to edit the page and all the images appear. I would suggest that this will not work for my Mediawiki instances!
One issue is that (under Virtualmin) all the files in /images/ are owned by the user (r3m), rather than "www-data" (apache2).
drwxrwxr-x 15 r3m r3m 4096 May 29 11:03 . drwxrwxr-x 15 mediawiki mediawiki 4096 May 29 11:24 .. drwxrwxrwx 3 r3m r3m 4096 Nov 11 2012 0 drwxr-xr-x 3 r3m r3m 4096 May 28 15:54 1 drwxr-xr-x 3 r3m r3m 4096 Apr 17 2013 3 drwxr-xr-x 3 r3m r3m 4096 May 29 11:02 4 drwxr-xr-x 3 r3m r3m 4096 Apr 17 2013 5 drwxr-xr-x 3 r3m r3m 4096 May 29 11:03 7 drwxrwxrwx 11 r3m r3m 4096 May 29 11:03 archive drwxr-xr-x 3 r3m r3m 4096 May 29 11:01 c drwxr-xr-x 3 r3m r3m 4096 Dec 19 2013 e drwxr-xr-x 3 r3m r3m 4096 Jun 20 2014 f -rw-rw-r-- 1 r3m r3m 180 Oct 1 2014 .htaccess drwxrwxrwx 2 r3m r3m 4096 May 29 11:03 lockdir -rw-rw-r-- 1 r3m r3m 203 Oct 1 2014 README drwxr-xr-x 3 r3m r3m 4096 Apr 17 2013 temp drwxrwxrwx 11 r3m r3m 4096 May 29 11:03 thumb
ls -latd images/ drwxrwxr-x 15 r3m r3m 4096 May 29 11:03 images/
New images uploaded work fine, it is just the older images. So, I have the images, they are in the database, but the thumbs are missing.
Gordon
On 27/05/15 18:00, John wrote:
Do you have a copy from the old setup?
On Wed, May 27, 2015 at 12:08 PM, Gordon Joly gordon.joly@pobox.com wrote:
I did check just after the install, but it seems that the files have gone!
Gordon
On 27/05/15 11:16, John wrote:
Do you have a file with that name anywhere in the /images directory structure?
On Wednesday, May 27, 2015, Gordon Joly gordon.joly@pobox.com wrote:
I have upgraded from 1.24.2 to 1.25.1
PHP 5.4.39-0+deb7u2 (cgi-fcgi) MariaDB 10.0.19-MariaDB-1~wheezy
I moved all the files, upacked the full tarball (not the core). I then copied back the Localsettings.php and the /images/.
The images are not displayed. I ran update.php.
I tried to create a new Localsettings.php, so at least I can upload new images now.
I see "Error creating thumbnail: File missing" on the old images.
And original files seem to be missing too.
/images/0/06/Three_Mill_Lane_b1.jpg
I assume the database does not match the data in /images/
Any ideas?
Gordo
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Just to say that I upgraded a second MediaWiki without problems. I think I may have some problems with copying the images directory back into place.
Gordon
Product Version MediaWiki 1.25.1 PHP 5.4.39-0+deb7u2 (cgi-fcgi) MariaDB 10.0.19-MariaDB-1~wheezy
On 27/05/15 11:16, John wrote:
Do you have a file with that name anywhere in the /images directory structure?
On Wednesday, May 27, 2015, Gordon Joly gordon.joly@pobox.com wrote:
I have upgraded from 1.24.2 to 1.25.1
PHP 5.4.39-0+deb7u2 (cgi-fcgi) MariaDB 10.0.19-MariaDB-1~wheezy
I moved all the files, upacked the full tarball (not the core). I then copied back the Localsettings.php and the /images/.
The images are not displayed. I ran update.php.
I tried to create a new Localsettings.php, so at least I can upload new images now.
I see "Error creating thumbnail: File missing" on the old images.
And original files seem to be missing too.
/images/0/06/Three_Mill_Lane_b1.jpg
I assume the database does not match the data in /images/
Any ideas?
Gordo
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 29/05/15 18:19, Gordon Joly wrote:
Just to say that I upgraded a second MediaWiki without problems. I think I may have some problems with copying the images directory back into place.
Gordon
Product Version MediaWiki 1.25.1 PHP 5.4.39-0+deb7u2 (cgi-fcgi) MariaDB 10.0.19-MariaDB-1~wheezy
Checking one more time, the PNG files work but the JPG files do not.
Fix: as suggested elsewhere, comment out "Options +FollowSymLinks"
Protect against bug 28235 <IfModule rewrite_module> RewriteEngine On RewriteCond %{QUERY_STRING} .[^\/:*?\x22<>|%]+(#|?|$) [nocase] RewriteRule . - [forbidden] # Fix for bug T64289 # Options +FollowSymLinks </IfModule>
Gordo
mediawiki-l@lists.wikimedia.org