Error 500 eveywhere

150 views
Skip to first unread message

Guilherme Matheus

unread,
Feb 15, 2018, 9:54:15 AM2/15/18
to ica-ato...@googlegroups.com
Hello! I would like to know if someone could help me with this issue we're having.
Basically I get an "Error 500" message in two situations:
1- When I try to create a new archival description. When I click the "Create" button, it appears.
2-  When I try to access some Archival Descriptions.

I couldn't detect anything special about those descriptions different from the ones working which might cause the error. As well as I can't figure out what's going on with the creation process.
Is there any possibility of Atom having created a description without the required fields being filled and when it tries to fetch this description it causes such error? This is the one guess I have.

Any guesses?

Thanks in advance!

PS.: Nothing is reported in the log files
Error page:



Dan Gillean

unread,
Feb 15, 2018, 11:02:31 AM2/15/18
to ICA-AtoM Users
Hi Guilherme, 

A couple initial questions - what version of AtoM are you using? Have you followed our recommend installation instructions? If yes, are you using Ubuntu 14.04 or 16.04? If not, what changes have you made? How many descriptions is your institution record linked to? (If you've answered these in previous threads, I apologize, but it's good to include them every time, as I can't keep track of all the different AtoM installations and configurations of our community and a reminder is always helpful.)

Any time you encounter a 500 error, there are 2 things you can do to try to get more information that will help us debug the issue. The first is to check the webserver logs, to find more information on the particular 500 error. See: 
If you have installed following our recommended instructions and are using Nginx as your web server, then you can find this information with the following command: 
  • sudo tail -f /var/log/nginx/error.log
Please share any related error message that you find there. 

You can also try placing the application in Debug mode to see if more information is returned with the error message. Note that, depending on your installation, you might need a system administrator to change one of AtoM's configuration files before you have access to Debug mode. See: 
Video 4 in our series of command-line tutorial videos will also give you an overview of Debug mode and checking the webserver logs: 
These videos were created before we were offering ubuntu 16.04 support, so if you are using 16.04, a couple of the maintenance task commands will be different, such as restarting services. Otherwise, everything else is the same. 

We also now have the following slide deck which covers some of the basic maintenance tasks for AtoM, including checking the webserver logs - and this includes all the correct commands for both 14.04 and 16.04 (and the restart commands start around slide 22): 


There are also a couple commands you can try right off the bat, that tend to resolve many common problems in AtoM. All of these are covered in the slide deck above, and in our documentation on the command-line tasks page. . 

500 errors on descriptions can sometimes happen when there is corrupted data in the system - a missing value in an important database row like the slug, or the publication status. You can try regenerating slugs to see if that helps, with the following command. This should be run from AtoM's root installation directory - if you've followed our recommended installation instructions this is typically /usr/share/nginx/atom. Run the following: 
  • php symfony propel:generate-slugs
Sometimes, the hierarchical order is broken during long-running operations that time out. AtoM uses a Nested set model to maintain hierarchical relationships in AtoM's database, and you can try rebuilding the nested set with the following: 
  • php symfony propel:build-nested-set
In general, it's also a good idea to try restarting services, clearing your application cache, and reindexing - these tend to resolve many common errors. See the slides linked above for more information on how to run all of these commands! 

If none of these suggestions help, and you can share more information about the specific error you have encountered (via the error log messages, more details about your installation, etc.), we will hopefully be able to offer better suggestions on next steps :)

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/1c4b1a06-8b67-4f90-9bcc-120b812ecd47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Guilherme Matheus

unread,
Feb 16, 2018, 12:55:22 PM2/16/18
to AtoM Users
I much appreciate your help and brief reply!

We are currently using Atom 2.4.0. Actually, we're not running it on a Ubuntu server, but on a Red Hat Enterprise server version 7.3. We cannot use a Ubuntu server for reasons of force majeure. By now, there 171 descriptions, but there are about 500 more in this first collection we're digitalizing.
I passed on your suggestions to our I.T team so that they will run those commands to see if it works.

nginx log file content is shown bellow. I might be wrong but the problem seems to be some missing or corrupted data. What do you think?



2018/02/16 03:13:41 [error] 1603#0: *305542 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 03:19:11 [error] 1603#0: *305652 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 03:23:34 [error] 1601#0: *305736 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/md-199-014 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 03:23:41 [error] 1601#0: *305744 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 03:24:11 [error] 1601#0: *305757 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 03:28:41 [error] 1602#0: *305840 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 03:34:11 [error] 1602#0: *305959 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 03:38:41 [error] 1602#0: *306047 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 03:48:41 [error] 1601#0: *306238 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 03:49:11 [error] 1601#0: *306253 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 03:58:41 [error] 1601#0: *306440 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 03:59:11 [error] 1601#0: *306453 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 04:06:24 [error] 1601#0: *306607 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/md-193-049 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 04:08:22 [error] 1601#0: *306645 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?repos=524&sf_culture=en&view=table&sort=lastUpdated&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 04:08:40 [error] 1601#0: *306650 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?places=&sort=lastUpdated&view=table&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 04:08:41 [error] 1601#0: *306652 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 04:09:11 [error] 1601#0: *306672 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 04:10:29 [error] 1601#0: *306724 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?subjects=&sort=lastUpdated&view=card&languages=pt&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 04:10:42 [error] 1601#0: *306726 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?places=&sf_culture=en&view=card&sort=lastUpdated&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 04:12:36 [error] 1601#0: *306793 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&languages=pt&repos=&view=card&topLod=0&media=print&onlyMedia=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 04:13:30 [error] 1601#0: *306824 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&subjects=&view=card&sf_culture=pt&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 04:13:49 [error] 1601#0: *306830 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?collection=28227&mediatypes=137&repos=&view=card&sort=relevance&topLod=0&media=print&onlyMedia=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 04:19:11 [error] 1602#0: *306951 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 04:23:41 [error] 1602#0: *307041 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 04:29:11 [error] 1602#0: *307181 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 04:33:41 [error] 1603#0: *307279 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 04:39:11 [error] 1603#0: *307408 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 04:43:41 [error] 1601#0: *307491 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 04:44:11 [error] 1601#0: *307508 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 04:50:21 [error] 1601#0: *307645 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?levels=&sort=lastUpdated&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 04:53:41 [error] 1602#0: *307709 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 04:59:11 [error] 1602#0: *307831 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 05:03:41 [error] 1602#0: *307926 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 05:09:11 [error] 1602#0: *308036 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 05:13:41 [error] 1602#0: *308129 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 05:19:11 [error] 1602#0: *308240 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 05:23:41 [error] 1602#0: *308307 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 05:29:11 [error] 1602#0: *308398 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 05:33:41 [error] 1600#0: *308502 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 05:39:11 [error] 1600#0: *308620 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 05:43:41 [error] 1600#0: *308716 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 05:49:11 [error] 1600#0: *308827 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 05:53:41 [error] 1603#0: *308916 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 05:59:11 [error] 1603#0: *309048 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 06:03:41 [error] 1603#0: *309133 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 06:09:11 [error] 1603#0: *309243 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 06:09:15 [error] 1603#0: *309248 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?repos=&sf_culture=en&sort=lastUpdated&view=card&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 06:09:59 [error] 1603#0: *309265 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/md-193-051 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 06:10:40 [error] 1602#0: *309275 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/md-193-033 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 06:13:41 [error] 1602#0: *309338 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 06:19:11 [error] 1602#0: *309472 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 06:23:41 [error] 1602#0: *309576 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 06:28:41 [error] 1603#0: *309700 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 06:34:11 [error] 1603#0: *309843 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 06:38:41 [error] 1603#0: *309932 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 06:44:11 [error] 1603#0: *310057 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 06:48:41 [error] 1600#0: *310157 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 06:54:11 [error] 1600#0: *310273 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 06:58:41 [error] 1603#0: *310386 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 07:03:41 [error] 1600#0: *310517 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 07:04:11 [error] 1600#0: *310531 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 07:07:03 [error] 1600#0: *310591 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?collection=&mediatypes=137&sort=lastUpdated&repos=&topLod=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:09:44 [error] 1600#0: *310659 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&sf_culture=pt&subjects=&repos=524&view=card&places=&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:13:41 [error] 1601#0: *310760 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 07:14:11 [error] 1601#0: *310782 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 07:22:27 [error] 1600#0: *310982 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?levels=&sort=lastUpdated&view=table&collection=&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:23:41 [error] 1600#0: *311014 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 07:24:11 [error] 1600#0: *311033 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 07:27:00 [error] 1600#0: *311105 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?places=&collection=&sort=lastUpdated&view=table&topLod=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:29:26 [error] 1600#0: *311172 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?collection=28227&mediatypes=137&view=card&topLod=0&sort=alphabetic&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:33:41 [error] 1600#0: *311275 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 07:34:11 [error] 1600#0: *311291 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 07:39:41 [error] 1603#0: *311422 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?view=card&sf_culture=en&sort=lastUpdated&languages=pt&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:40:02 [error] 1603#0: *311428 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?view=card&sort=lastUpdated&repos=524&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:40:35 [error] 1603#0: *311443 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&sf_culture=en&mediatypes=&repos=&topLod=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:41:33 [error] 1600#0: *311464 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?places=&subjects=&repos=&sort=lastUpdated&sf_culture=pt&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:43:28 [error] 1600#0: *311498 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&sf_culture=en&view=card&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:44:08 [error] 1600#0: *311515 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&sf_culture=pt&repos=&topLod=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:44:22 [error] 1600#0: *311525 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&view=card&places=&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:44:35 [error] 1600#0: *311529 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?repos=&subjects=&sort=lastUpdated&view=card&topLod=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:45:00 [error] 1600#0: *311540 FastCGI sent in stderr: "PHP message: Parent Resource id '28253' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=relevance&page=6&languages=en&collection=437&topLod=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:45:25 [error] 1600#0: *311534 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?places=&sf_culture=pt&view=card&subjects=&sort=lastUpdated&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:45:45 [error] 1600#0: *311552 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?view=table&languages=pt&sort=lastUpdated&topLod=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:46:04 [error] 1600#0: *311562 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sf_culture=pt&sort=lastUpdated&repos=&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:46:35 [error] 1600#0: *311574 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&repos=&places=&collection=&view=card&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:46:50 [error] 1600#0: *311579 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?places=&sf_culture=en&sort=lastUpdated&repos=&view=card&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:47:08 [error] 1600#0: *311586 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sf_culture=en&sort=lastUpdated&view=card&topLod=0&media=print&onlyMedia=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:48:06 [error] 1600#0: *311603 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sf_culture=pt&sort=lastUpdated&repos=&topLod=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:48:33 [error] 1600#0: *311625 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&sf_culture=pt&subjects=&view=card&topLod=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:48:41 [error] 1600#0: *311639 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7500/", host: "spaplarchive01.tjpe.gov.br:8001"
2018/02/16 07:48:50 [error] 1600#0: *311644 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&view=card&subjects=&sf_culture=pt&topLod=0 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:49:05 [error] 1600#0: *311649 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?page=1&sf_culture=pt&view=card&collection=&sort=lastUpdated&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 07:49:11 [error] 1600#0: *311652 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 07:54:11 [error] 1602#0: *311788 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.251.196, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7400/", host: "spaplarchive01.tjpe.gov.br:81"
2018/02/16 08:02:02 [error] 1602#0: *312000 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?sort=lastUpdated&languages=pt&repos=&view=table&topLod=0&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 08:32:06 [error] 1601#0: *312669 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/md-193-060 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 08:39:07 [error] 1601#0: *312815 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/informationobject/browse?collection=28227&mediatypes=137&topLod=0&sort=alphabetic&media=print HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
2018/02/16 08:45:33 [error] 1603#0: *312954 FastCGI sent in stderr: "PHP message: Parent Resource id '33361' does not exist" while reading response header from upstream, client: 172.20.11.51, server: _, request: "GET /index.php/md-193-037 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.atom.sock:", host: "atom.tjpe.jus.br"
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.

Dan Gillean

unread,
Feb 16, 2018, 1:20:40 PM2/16/18
to ICA-AtoM Users
Hi again Guilherme, 

It's possible that the "Parent Resource id XXXX does not exist" errors are a result of a corrupted nested set - if so, then hopefully the command I sent you previously will resolve it. If not, then yes, it is possible that there is data corruption. 

If you want to investigate for data corruption, you can check first to see if all descriptions have a publication status. If that doesn't work, then it could in some rare cases be data missing in the object table of the database. Here are a couple user forum posts with some instructions to try if you are still running into issues or errors that you suspect are related to database corruption: 
Regarding using RHEL - I would also recommend that you double-check that ALL required dependencies are available and installed. Since RHEL and CentOS are essentially variations of the same distribution, you might find it useful to look through some of the posts in our forum tagged as "CentOS"":
For example, another user has previously shared some instructions on how they got AtoM working on RHEL 7.1, here: 
We have not tested these instructions ourselves, but hopefully they will give you some ideas. 

Good luck, and keep us posted! 

Cheers, 


Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.

cescoba...@gmail.com

unread,
Feb 20, 2018, 4:16:37 PM2/20/18
to AtoM Users
Did you try running "php symfony propel: build-nested-set"?

Guilherme Matheus

unread,
Feb 21, 2018, 9:45:31 AM2/21/18
to AtoM Users
Hello, Daniel.

Well, I have tried what you suggested and not only we were still not able to create new descriptions, but all descriptions previously created were completely erased, nothing left. We had taken a snapshot before executing those commands, so nothing actually has been lost.
I've read the contents you suggested me and asked the IT team to check again the installation prerequisites and server settings according to those files found on the forum posts you recommended. We knew it would be quite hard to deploy an Atom instance on a RHEL server, anyway. We are discussing about migrating to a Ubuntu server as a bunch of people have been suggesting.

Thank you very much for helping us!
I'll be back in touch updating or if we need any help.
...

Dan Gillean

unread,
Feb 21, 2018, 10:22:56 AM2/21/18
to ICA-AtoM Users
Hi Guilherme, 

Wow! I'm glad to hear you had backup snapshots! I'm curious to know what command caused your records to disappear - it's possible that they were simply erased from the search index, but still present in the database. For example, if you try to run the search:populate command, but the operation halted because of an error, then your descriptions would no longer show up in search/browse until you resolved the issue and reran the populate command so it could complete as expected. 

I'm glad to hear that you are looking into deploying your site using Ubuntu - it's definitely possible to install using RHEL, but we at Artefactual are less able to offer assistance for other distributions. If you do stick with RHEL, hopefully the installation guide I linked in one of my previous responses will be of use. 

Good luck! 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

...

[Message clipped]  

Reply all
Reply to author
Forward
0 new messages