Announcement

#1 2012-08-12 12:06:17

photo_friend
Member
Berlin
1970-01-01
201

[resolved] Update problem to Piwigo 2.4.3 // 500 Internal Server Error

If I start the piwigo Update process with step1 "Dump Database", then I get this error message:

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache Server at XXXXXXXX.xxxPort 80"

What should I do?

Offline

 

#2 2012-08-12 12:49:02

Eric
Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: [resolved] Update problem to Piwigo 2.4.3 // 500 Internal Server Error

Hi photo_friend,

As declared, this is a server error due to misconfiguration. Can you check the server error log? There can be more information about what happened. If not, check your hosting support.

Any way, the error occurs at database dump. You can perform this dump by another way : phpmyadmin. And, then, continue update.

Offline

 

#3 2012-08-12 13:18:18

photo_friend
Member
Berlin
1970-01-01
201

Re: [resolved] Update problem to Piwigo 2.4.3 // 500 Internal Server Error

Eric wrote:

Hi photo_friend,

As declared, this is a server error due to misconfiguration. Can you check the server error log? There can be more information about what happened. If not, check your hosting support.

Any way, the error occurs at database dump. You can perform this dump by another way : phpmyadmin. And, then, continue update.

I could find in my server logfiles these information:
[Sun Aug 12 13:05:59 2012] [warn] [client 78.0.22.148] mod_fcgid: read data timeout in 45 seconds, referer: http://xxxxxxx.xxx/photo/admin.php?page … p;to=2.4.3
[Sun Aug 12 13:05:59 2012] [error] [client 78.0.22.148] Premature end of script headers: admin.php, referer: http://xxxxxxxx.xxx/photo/admin.php?pag … p;to=2.4.3

Can you tell my how to fix this problem? Thanks a lot!!!!

Offline

 

#4 2012-08-15 15:38:20

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Update problem to Piwigo 2.4.3 // 500 Internal Server Error

hi

Eric wrote:

You can perform this dump by another way : phpmyadmin. And, then, continue update.

so did you try like Eric said?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2012-08-17 22:01:11

photo_friend
Member
Berlin
1970-01-01
201

Re: [resolved] Update problem to Piwigo 2.4.3 // 500 Internal Server Error

flop25 wrote:

hi

Eric wrote:

You can perform this dump by another way : phpmyadmin. And, then, continue update.

so did you try like Eric said?

If I use the export function in the Web phpmyAdmin to make the sql dump, everything works well. Why then the piwigo update process doesn't works?

Also if I use the function "Repair and optimize database" (Tools / Maintenance) I get this error Message.


[Fri Aug 17 21:47:05 2012] [warn] [client 93.219.183.136] mod_fcgid: read data timeout in 45 seconds, referer: http://XXXXXX.XXX/photo/admin.php?page= … p;to=2.4.3
[Fri Aug 17 21:47:05 2012] [error] [client 93.219.183.136] Premature end of script headers: admin.php, referer: http://XXXXXX.XXX/photo/admin.php?page= … p;to=2.4.3
[Fri Aug 17 22:27:04 2012] [warn] [client 93.219.183.136] mod_fcgid: read data timeout in 45 seconds, referer: http://XXXXXX.XXX/photo/admin.php?page=maintenance
[Fri Aug 17 22:27:04 2012] [error] [client 93.219.183.136] Premature end of script headers: admin.php, referer: http://XXXXXX.XXX/photo/admin.php?page=maintenance

Thanks a lot
Hagen

Last edited by photo_friend (2012-08-17 22:43:43)

Offline

 

#6 2012-08-19 11:03:03

Syky01
Guest

Re: [resolved] Update problem to Piwigo 2.4.3 // 500 Internal Server Error

Hi, I have very simillar problem. After update to version 2.4.3 i got verry often error 504 timeout (after 2 - 3 loaded pages).

Long running script in most case is i.php

 

#7 2012-08-19 11:48:41

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Update problem to Piwigo 2.4.3 // 500 Internal Server Error

Syky01 wrote:

Hi, I have very simillar problem. After update to version 2.4.3 i got verry often error 504 timeout (after 2 - 3 loaded pages).

Long running script in most case is i.php

Your case is absolutely not related. Do not interfere with other thread thx


@photo_friend your previous messages were about error after dump. what's the problem about the update


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2012-08-23 20:48:19

photo_friend
Member
Berlin
1970-01-01
201

Re: [resolved] Update problem to Piwigo 2.4.3 // 500 Internal Server Error

flop25 wrote:

Syky01 wrote:

Hi, I have very simillar problem. After update to version 2.4.3 i got verry often error 504 timeout (after 2 - 3 loaded pages).

Long running script in most case is i.php

Your case is absolutely not related. Do not interfere with other thread thx


@photo_friend your previous messages were about error after dump. what's the problem about the update

Hello,

I have increased the memory_limit now I get the Error if I try to make the database dump: "Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/vhosts/lvps83-169-44-174.dedicated.hosteurope.de/httpdocs/photo/admin/include/mysqldump.php on line 233"
What's the reason for this error?

I will not start the update process again, before all steps works well. Otherwise I'm afraid the update process stocks in the middle. I have tried the update process one month before and I got error messages meanwhile the database was getting updated for the latest piwigo version.

Offline

 

#9 2012-08-23 20:56:01

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Update problem to Piwigo 2.4.3 // 500 Internal Server Error

The reason is written in the error : "Maximum execution time of 60 seconds exceeded"
Your hoster has set 60 seconds as the maximum execution time for a script (even for phpmyadmin which is a little stupid) ; you should ask to your hoster, what they recommend for a database dump


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#10 2012-08-24 16:32:06

photo_friend
Member
Berlin
1970-01-01
201

Re: [resolved] Update problem to Piwigo 2.4.3 // 500 Internal Server Error

flop25 wrote:

The reason is written in the error : "Maximum execution time of 60 seconds exceeded"
Your hoster has set 60 seconds as the maximum execution time for a script (even for phpmyadmin which is a little stupid) ; you should ask to your hoster, what they recommend for a database dump

Hello! I have changed the value to 500 sec and now it works fine. Moreover the PHP Parameter "memory_limit" was too low.
Thanks for your help. This task can be closed.

Offline

 

Board footer

Powered by FluxBB

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