Hello,
I seem to be getting 504 errors every time I try to import from tools > Synchronize. All images seem to get added, but I end up with a big error saying "Some checksums are missing". When I try to compute checksums under batch manager I end up getting a 504 error there as well.
I'm also getting image thumbnail issues as described in my other thread here incase that plays into it at all: https://piwigo.org/forum/viewtopic.php?id=31481
Environment:
Piwigo 11.5.0 Check for upgrade
Operating system: Linux
PHP: 7.4.23 (Show info) [2021-09-22 21:59:25]
MySQL: 5.5.5-10.5.12-MariaDB-log [2021-09-22 21:59:25]
Graphics Library: ImageMagick 7.0.11-13
Offline
HTTP code 504 is the Gateway Timeout, one of the machines involved with the request didn't answer in time. Might be a wrong or insufficient proxy configuration or a network routing problem. Check your server's error log(s) and talk to your hosting provider.
Offline
Hi,
I have selfhosted piwigo on raspi4 using docker. I too faced this issue (after I installed videojs plugin - not sure this is relevant). But I somewhat resolved it by increasing timeout values in following files. I say somewhat because it still gives me 504 errors but not always as before.
Note : I am not an expert in PHP or webadmin but found some info through net. Kindly check if it works for you. If not, maybe someone else can help.
File :
nginx/site-confs/default
add fastcgi_read_timeout 300; in location section. E.g. :
eg.
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# With php5-cgi alone:
fastcgi_pass 127.0.0.1:9000;
# With php5-fpm:
#fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_read_timeout 300;
include /etc/nginx/fastcgi_params;
}
File : /etc/php7/php-fpm.d/www.conf
added line : request_terminate_timeout = 300
Also in :
File : /etc/nginx/nginx.conf
Add following in http{..} section
http {
#...
fastcgi_read_timeout 300;
#...
restarted the containers and thats it.
Offline