#1 2015-06-10 07:23:03

steve909
Member
2015-06-10
4

[Solved] Install problems on Debian Jessie

Hello all,
First post!
I had piwigo running fine on a Debian Wheezy server, but I have just done a full new install of Debian Jessie on the same machine. I made sure I had php5, apache, mysql, ImageMagick, etc all installed and I followed the advice here https://www.digitalocean.com/community/ … untu-14-04 in order to create a mysql database and user.
I copied over the piwigo files to /var/www/html/ and restarted apache (actually I think I rebooted).
I point a browser at my debian server and up comes the piwigo installation page. I enter all the information and hit 'start installation' but the page just goes white and piwigo never installs. No errors or other information is given. If I go to the piwigo url, I see the install page again.
Any ideas how I can get past this? Is there any particular problem with Jessie?

Thanks in advance.

Piwigo version: 2.7.4
PHP version: PHP 5.6.9-0+deb8u1
MySQL version: Server version: 5.5.43-0+deb8u1
Piwigo URL: http://

Last edited by steve909 (2015-06-16 00:54:46)

Offline

 

#2 2015-06-10 13:04:48

xbgmsharp
Member
1970-01-01
215

Re: [Solved] Install problems on Debian Jessie

You should check the Apache (or any webserver) error log.
Open a term and run the following command:

Code:

# tail -f /var/log/apache2/error.log

You more likely miss a php5 package. If using apache2 and Jessie, this are the minimum package require.

Code:

# apt-get install libapache2-mod-php5 php5-mysql php5-gd

To ensure PHP5 module is enable:

Code:

# a2enmod php5

Offline

 

#3 2015-06-10 18:58:08

steve909
Member
2015-06-10
4

Re: [Solved] Install problems on Debian Jessie

Hello,
Thanks for the response, appreciate the advice. I will follow when I get home from work.

Offline

 

#4 2015-06-11 03:02:33

steve909
Member
2015-06-10
4

Re: [Solved] Install problems on Debian Jessie

Thank you!
Checked and I was missing php5-mysql, installed that and now piwigo is up and running!

Really appreciate the response, thanks for pointing me in the right direction.

Next thing... how do I mark as solved?

Offline

 

#5 2015-06-12 08:06:22

nicolas
Former Piwigo Team
2004-12-30
1233

Re: [Solved] Install problems on Debian Jessie

If you want to create thumbmail from web interface I suggest you to install imagemagick plugin for better performance and better images :

Code:

apt-get install php5-imagick

Offline

 

#6 2015-06-16 00:54:02

steve909
Member
2015-06-10
4

Re: [Solved] Install problems on Debian Jessie

Thanks for your replies. Sorry to resurrect this again, but I started to upload photos in earnest over the weekend as the piwigo admin user. BTW I had installed imagick, Nicolas, as well as php5-gd.
I could upload photos no problem and view them as admin but when I created an ordinary user and tried to view the photos I had an error thrown up saying that the table piwigo.piwigo_protectalbum did not exist and this was reported as a 'fatal mysql error'. I'd uploaded quite a few photos by then... how I laughed! I deleted the local/config/database.inc.php file and installed again, but no change.
Now, I've no real evidence to support this but on the server I did a minimum debian netinstall installation so I thought, ok lets start again from the top as it seemed something hadn't installed or another dependency was missing.
I dropped the piwigo database and followed the LAMP installation instructions as directed in the link in my original post.
Once that was done I then followed the original piwigo installation instructions, after deleting everything from /var/www/html (bar a back up of the original index.html file that is).
This time, hey presto! I'm cooking on the front burner.
I'm convinced, in case anyone has similar troubles, that I should have paid more attention to preparing the minimal debian jessie installation before installing piwigo.

PS I still can't figure out how to mark as 'solved'! (EDIT: I have now!) I'm off now to investigate what others do to change their root folder from /var/www/html - my little SSD is filling up!
Thanks

Last edited by steve909 (2015-06-16 00:55:22)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact