no thumbnails of new images after migrating server

leiferikson
leiferikson's picture

Joined: 2003-05-22
Posts: 40
Posted: Mon, 2014-07-14 20:43

hiho,
after migrating to a new server all seems to work well. I installed the 3.07 Version and testet the gallery. New Images could be uploaded.
Then I migrated my gallerycontent to the new server, everything ok. But now new Images have no thummbnails anymore. I updated to 3.0.9 but it is not getting better.
Problem 1: I can´t switch to Imagemagick even that I knao it is installed.
Problem 2: No thumbnails of the new images.
I tried the FAQ 3 Troubelshouting but in my /modules/gallery/helpers/graphic.php thereis is a different code!
Any guess what to do?

thnx Torsten

Operating system: Linux 3.2.0-4-amd64
Apache: Apache/2.2.22 (Debian)
PHP: 5.4.4-14+deb7u8
MySQL: 5.5.35-0+wheezy1
Graphics toolkit: gd

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2014-07-15 04:00
Quote:
Problem 1: I can´t switch to Imagemagick even that I knao it is installed.

Is it's location in the [url=http://en.wikipedia.org/wiki/PATH_(variable)]system path[/url]?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2014-07-15 04:11

You can also try to change the graphics_toolkit_path in Admin->Settings->Advance to the value where IM is installed.

Also look into open_base directory as an issue as well.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
leiferikson
leiferikson's picture

Joined: 2003-05-22
Posts: 40
Posted: Tue, 2014-07-15 20:23

hiho floridave!
thx for the answer. I changed it to "/usr/local/bin:/opt/local/bin:/opt/bin:/usr/bin"
my IM (convert) is installed in /usr/bin. But it does not help. When in teh admin-mode I can#t see why IM does not work.

now all my thumbs are broken...

www.bilderbahr.de (new 3.0.9)

 
leiferikson
leiferikson's picture

Joined: 2003-05-22
Posts: 40
Posted: Tue, 2014-07-15 20:28

in my phpinfo() I found:

imagick.locale_fix 0 0
imagick.progress_monitor 0 0

These are php-options I got on my server:
Fast-CGI
CGI
Mod-PHP
SuPHP
PHP-FPM
hm , what type of php is good for gallery?

thx torsten

www.bilderbahr.de (new 3.0)
www.bilderbar.de (old gallery)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2014-07-15 20:32

http://www.bilderbahr.de/ or http://www.bilderbahr.de/index.php shows a 404.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
leiferikson
leiferikson's picture

Joined: 2003-05-22
Posts: 40
Posted: Wed, 2014-07-16 08:43

hello Floridave,

I tried the option cgi yesterday, but that was not correct.
now it works, but the thumbnails still broken.

www.bilderbahr.de (new 3.0)

 
leiferikson
leiferikson's picture

Joined: 2003-05-22
Posts: 40
Posted: Thu, 2014-07-17 19:39

hiho,

it seems odd. Today I checked via ssh login on my server and could identify that image magick works. But the gallery cannot upöoad images. . .

this is the log:

Quote:
#0 /var/www/xx/xx/web7/web/webseite/g3/modules/gallery/helpers/gallery_graphics.php(145): photo_Core::get_file_metadata('/is/htdocs/wp11...')
#1 [internal function]: gallery_graphics_Core::composite('/var/www/client...', '/var/www/client...', Array, Object(Item_Model))
#2 /var/www/clients/xx/xx/web/webseite/g3/modules/gallery/helpers/graphics.php(171): call_user_func_array('gallery_graphic...', Array)
#3 /var/www/clients/xx/xx/web/webseite/g3/modules/gallery/helpers/gallery_task.php(111): graphics_Core::generate(Object(Item_Model))
#4 [internal function]: gallery_task_Core::rebuild_dirty_images(Object(Task_Model))
#5 /var/www/clients/xx/xx/web/webseite/g3/modules/gallery/helpers/task.php(90): call_user_func_array('gallery_task::r...', Array)
#6 /var/www/clients/client4/web7/web/webseite/g3/modules/gallery/controllers/admin_maintenance.php(195): task_Core::run('57')
#7 [internal function]: Admin_Maintenance_Controller->run('57')
#8 /var/www/clients/xx/xx/web/webseite/g3/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#9 [internal function]: Admin_Controller->__call('maintenance', Array)
#10 /var/www/clients/xx/xx/web/webseite/g3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#11 [internal function]: Kohana_Core::instance(NULL)
#12 /var/www/clients/client4/web7/web/webseite/g3/system/core/Event.php(208): call_user_func_array(Array, Array)
#13 /var/www/xx/xx/web7/web/webseite/g3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#14 /var/www/clients/xx/xx/web/webseite/g3/index.php(116): require('/var/www/client...')
#15 {main}
2014-07-17 21:32:02 +02:00 --- error: Caught exception rebuilding images: Angus Young von ACDC
@todo UNREADABLE_FILE

what to do now?

www.bilderbahr.de (new 3.0)
www.bilderbar.de (old gallery)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-07-17 20:55
Quote:
@todo UNREADABLE_FILE

Perhaps the user that php runs as does not permissions to the files or the php user might not have permisions to use IM.

Can you testwith GD as the toolkit?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
leiferikson
leiferikson's picture

Joined: 2003-05-22
Posts: 40
Posted: Fri, 2014-07-18 08:28

Hiho Floridave,
thanx for your answer. At the moment it is GD that is not working on server, that why the thumbnails are broken.
bilderbahr.de

In the adminpanel I can not choose imageMagick and Graphikmagick, both are faded out.
GD deos not work, I don´t know how to test GD with my ssh-login.

So how can I solve this problem? There are suexec and But I am painter not an unixexpert. I attach a file

www.bilderbahr.de (new 3.0)
www.bilderbar.de (old gallery)

 
spags

Joined: 2010-03-26
Posts: 120
Posted: Fri, 2014-07-18 09:30

I don't think that any of the options in your screen shot will help you. Based on the limited options you have, I suspect your new host may not be up to the task of running the software. You might have to ask your host if you are able to install ImageMagicK and GraphicsMagick from your SSH login (and if so, how - you may not have permissions to do this). Otherwise you would have to ask them if they could install both of these for you.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2014-07-18 14:01

If GD is not working then you have a host with some very restrictive environment. GD is standard and default for PHP distributions.
As spags said your host is the one to approach.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
leiferikson
leiferikson's picture

Joined: 2003-05-22
Posts: 40
Posted: Wed, 2014-07-23 09:02

hiho,

now I changed my serveropt PHP to: fast-cgi and enabled "SuEXEC" in my ISP. Now it works with GD at least.
It works again.

www.bilderbahr.de (new 3.0)
www.bilderbar.de (old gallery)