Page 1 of 1

504 Error when searching for Place with no associated events

Posted: Tue Dec 28, 2021 1:05 pm
by Paul Barrett
TNG Admin > Places > Check "No associated events

56k places
DSM 7.01
php 7.4 Mem set to 515MB (increased from 128MB)
DS1821+ 16GB RAM
AMD Ryzen V1500B Quad Core 2.2GHz

504 Gateway timeout error.

Any suggestions please Steve?

Re: 504 Error when searching for Place with no associated events

Posted: Tue Dec 28, 2021 3:05 pm
by steven
I've tried using this feature on my live site and received the same error. This is not a memory problem but is caused by Apache timing out when running a long PHP script.

Additionally importing a very large GEDCOM will cause the same error.

To avoid this error I set up a local version of TNG that runs within my LAN and not the web. This version runs on NGINX so it does not experience the time out errors associated with Apache. Here are instructions for using a local TNG installation.