Re: [atom-users] Error 500 on one of my 3 repository

58 views
Skip to first unread message

Dan Gillean

unread,
Sep 16, 2019, 1:12:36 PM9/16/19
to ICA-AtoM Users
Salut Nick, 

Your message was caught in Google's spam folder so apologies for the delay. You can read more about this here

Can you tell us more about your AtoM installation? Such as: 
  • What operating system do you have AtoM installed on? Am I seeing correctly in the error message that this is Debian? What version?
  • What is the full version of AtoM you have installed?
  • What version of PHP are you using?
  • You mention using Apache - what other changes have you made from our recommended installation instructions?
The first couple errors in here don't look like they relate to AtoM. Lower down, they appear to me like they might be filesystem permissions issues. 

AtoM expects the www-data user to be the owner of all files and directories. You could try resetting your filesystem permissions. For an Ubuntu/Nginx installation, this is normally done with: 
  • sudo chown -R www-data:www-data /usr/share/nginx/atom
In your case, you will need to modify the file path to point to your root installation directory. I'm guessing it is something like /var/www/atom, but you'll need to double-check. 

I would also suggest double-checking the Apache configuration. We no longer maintain documentation for Apache so we are fairly limited in the help we can offer, but you can look at older versions of the documentation to get a starting point, for comparison: 
Keep in mind that this example configuration assumed that AtoM is using PHP 5.x, but AtoM 2.5 and later now require PHP 7.0 or 7.2, so other changes may be needed. 

I would recommend that you clear the application cache and restart PHP-FPM after making changes. If you alter your webserver configuration, you will also need to restart/reload the web server. 

Hope that helps! 

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


On Mon, Sep 16, 2019 at 12:58 PM Nick Simoneau <nicksi...@gmail.com> wrote:
Hi, I need your help with a problem we have this morning. I try to reach one of my repository (atom/index.php/repository/browse) and I face this issue:

 Oops! An Error Occurred

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.


This is my appache log:

[Sun Sep 15 07:35:02.112312 2019] [mpm_prefork:notice] [pid 1170] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations

[Sun Sep 15 07:35:02.112328 2019] [core:notice] [pid 1170] AH00094: Command line: '/usr/sbin/apache2'

[Sun Sep 15 09:37:47.484488 2019] [:error] [pid 31451] [client 106.12.207.66:35120] script '/var/www/html/elrekt.php' not found or unable to stat

[Sun Sep 15 09:37:49.093786 2019] [:error] [pid 30343] [client 106.12.207.66:35730] script '/var/www/html/index.php' not found or unable to stat

[Sun Sep 15 16:36:08.982943 2019] [:error] [pid 30343] [client 157.230.137.87:44437] script '/var/www/html/wp-login.php' not found or unable to stat

[Sun Sep 15 17:27:13.215765 2019] [:error] [pid 30346] [client SERVERIP:59608] RecursiveDirectoryIterator::__construct(uploads/r/societe-dhistoire-et-de-genealogie-de-victoriaville/1/1/7/117bbce3ad57be775aacedce1e3384f834508c4e77d1989e5cbf0fc78e507a46/117c0627f7b35d47591fcc47399703faa194a88021f46164b06377cb5daafeb6): failed to open dir: Permission denied, referer: http://SERVERIP/atom/index.php/repository/browse

[Sun Sep 15 17:28:01.718752 2019] [:error] [pid 30343] [client SERVERIP:59608] RecursiveDirectoryIterator::__construct(uploads/r/societe-dhistoire-et-de-genealogie-de-victoriaville/1/1/7/117bbce3ad57be775aacedce1e3384f834508c4e77d1989e5cbf0fc78e507a46/117c0627f7b35d47591fcc47399703faa194a88021f46164b06377cb5daafeb6): failed to open dir: Permission denied, referer: http://SERVERIP/atom/index.php/repository/browse

[Sun Sep 15 17:29:15.345019 2019] [:error] [pid 31450] [client SERVERIP:59608] RecursiveDirectoryIterator::__construct(uploads/r/societe-dhistoire-et-de-genealogie-de-victoriaville/1/1/7/117bbce3ad57be775aacedce1e3384f834508c4e77d1989e5cbf0fc78e507a46/117c0627f7b35d47591fcc47399703faa194a88021f46164b06377cb5daafeb6): failed to open dir: Permission denied, referer: http://SERVERIP/atom/index.php/repository/browse




Does anyone can help me to fix that?

--
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/01bfa3c4-b7ef-43a1-b0a3-18efa83dcd96%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages