500 error when browsing 'Archival Descriptions'

83 views
Skip to first unread message

Josh Smith

unread,
Jan 14, 2020, 1:26:13 PM1/14/20
to AtoM Users
Hello all,

I'm running an almost brand new AtoM 2.5.3 - 172 on Ubuntu 18.04. "Almost brand new" in the sense that the only things I have added are 2 Archival Institutions and 1 Record Group. What happens is when I attempt to browse Archival Descriptions I get a 500 error page.

I looked around a bit and didn't find anything that addressed my problem exactly here or in the documentation. I've restarted atom-worker, cleared cache, and even rebooted my server. None of this has resolved the problem. Here is what I'm seeing in the nginx error log whenever I try to hit that page (I removed identifying information):

2020/01/14 10:17:51 [error] 6126#6126: *21 FastCGI sent in stderr: "PHP message: Invalid configuration settings: [sf_module_disabled_module] "admin", [sf_module_disabled_action] "disabled"" while reading response header from upstream, client: ___.___.___.___, server: ___.___.edu, request: "GET /index.php/informationobject/browse HTTP/1.1", upstream: "fastcgi://unix:/run/php7.2-fpm.atom.sock:", host: "___.___.edu", referrer: "https://___.___.edu/index.php/settings/global"

Here is what php symfony search:status gives me:

Elasticsearch server information:
 - Host: localhost
 - port: 9200
 - Index name: atom

Document indexing status:
 - Accession: 0/0
 - Actor: 0/0
 - Aip: 0/0
 - Function: 0/0
 - Information object: 1/1
 - Repository: 2/2
 - Term: 315/315

Any ideas? Thanks!

Josh Smith

unread,
Jan 14, 2020, 4:18:46 PM1/14/20
to AtoM Users
It appears the problem is more widespread than I realized. I've continued to try to make some additions to my site and gotten more 500 responses.

It also occurs when I attempt to update publication status. And when viewing a collection with full treeview the frame that should show the collection instead displays the "Loading" animation. Checking the browser's console reveals this 500 response:  "GET https://___.___.edu/index.php/test-series/informationobject/fullWidthTreeView?nodeLimit=50&firstLoad=true 500 (Internal Server Error)"

nginx's error log shows similar instances of what I posted in my first message:

2020/01/14 13:03:23 [error] 6126#6126: *349 FastCGI sent in stderr: "PHP message: Invalid configuration settings: [sf_module_disabled_module] "admin", [sf_module_disabled_action] "disabled"" while reading response header from upstream, client: ___.___.___.___, server: ___.___.edu, request: "GET /index.php/test-series/informationobject/fullWidthTreeView?nodeLimit=50&firstLoad=true HTTP/1.1", upstream: "fastcgi://unix:/run/php7.2-fpm.atom.sock:", host: "___.___.edu", referrer: "https://___.___.edu/index.php/test-series"
2020/01/14 13:16:55 [error] 6126#6126: *437 FastCGI sent in stderr: "PHP message: Invalid configuration settings: [sf_module_disabled_module] "admin", [sf_module_disabled_action] "disabled"" while reading response header from upstream, client: ___.___.___.___, server: ___.___.edu, request: "GET /index.php/test-series/informationobject/updatePublicationStatus HTTP/1.1", upstream: "fastcgi://unix:/run/php7.2-fpm.atom.sock:", host: "___.___.edu", referrer: "https://archives.plu.edu/index.php/test-series"


Hopefully these further examples help narrow things down.

Miguel Alejadro Contreras Flores

unread,
Jan 14, 2020, 4:43:28 PM1/14/20
to ica-ato...@googlegroups.com
Dear Friends,
Mi atom instance was running perfect until I'd update a user in users'manager, then after I started to receive this error 500:

Sorry, something went wrong.
The server returned a 500 Internal Server Error.

Try again a little later or ask in the discussion group.
Back to previous page.


In server's log files this is the error:
[error] 9272#9272: *3045030 FastCGI sent in stderr: "PHP message: The "param" key for the "myUser" factory must be an array (in /usr/share/nginx/atom/vendor/symfony/lib/config/config/factories.yml)" while reading response header from upstream, client: .16.39, server: myname.mex.mx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php7.2-fpm.atom.sock:", host: "myname.mex.mx"

Any ideas to fix this? Thanks!

Atte.
Miguel Alejandro Contreras Flores.



--
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-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/dc1d2c94-f2bd-4a67-944f-df88dac1ab61%40googlegroups.com.

Josh Smith

unread,
Jan 14, 2020, 7:43:48 PM1/14/20
to AtoM Users
I kind of solved my problem, but I don't know it will be helpful to others, but I'll post just in case. Since my install didn't have much on it I decided to just reset everything.

I followed Dan Gillean's instructions here and ran the following commands he mentions:

php symfony tools:purge


 mysql -u atom -p -e 'drop database atom; create database atom character set utf8 collate utf8_unicode_ci;'


Then I re-ran the web installer and things are working. I didn't bother backing things up since I didn't have much of anything in there. So far so good...

Dan Gillean

unread,
Jan 15, 2020, 11:48:06 AM1/15/20
to ICA-AtoM Users
Hi Josh, 

Glad to hear you've sorted things out - thanks for searching in the forum for answers, and for sharing what worked for you!

Miguel, your error message is one we have not seen before. It's possible that one of the configuration files became corrupt at some point, though I am not sure how (perhaps a timeout during installation?). You might want to compare the local configuration file in your system, at config/factories.yml, against the default installation version, which should look like this: 
Note: this file is in AtoM, so the full path if you have followed our recommended installation instructions would be: 
  • /usr/share/nginx/atom/config/factories.yml
The error seems to relate to lines 28-34, so check your version against ours, and if you see changes, you could try copying the version in the link above. If you do make changes, you will need to restart PHP-FPM after - with PHP 7.2, you can do this with the following: 
  • sudo systemctl restart php7.2-fpm
I would also suggest clearing the application cache after - run the following from AtoM's root installation directory (typically /usr/share/nginx/atom if you have followed our recommended instructions): 
  • php symfony cc
Let us know if that helps! 

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


--
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-user...@googlegroups.com.

Miguel Alejadro Contreras Flores

unread,
Jan 17, 2020, 5:49:34 PM1/17/20
to ica-ato...@googlegroups.com
Dan.
I'll follow your instructions and then reporting the results.
Thanks.


Reply all
Reply to author
Forward
0 new messages