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

52 views
Skip to first unread message

Açuceno Chiconela

unread,
Aug 22, 2023, 9:51:03 AM8/22/23
to AtoM Users
I installed wamp in version 3.3.0 64bits, and I'm trying to install Atom, however after placing the Atom 2.7.3.tar.gz files inside wamp's www folder, I ran localhost for it to start the installation... then the error appears, "Sorry, something went wrong. The server returned a 500 Internal Server Error."

although I'm still not sure where the error reflects, I entered the apache error report log and found the following

[Tue Aug 22 15:21:18.977308 2023] [mpm_winnt:notice] [pid 5768:tid 336] AH00364: Child: All worker threads have exited.
[Tue Aug 22 15:21:19.680374 2023] [mpm_winnt:notice] [pid 11384:tid 320] AH00455: Apache/2.4.54 (Win64) PHP/8.0.26 mod_fcgid/2.3.10-dev configured -- resuming normal operations
[Tue Aug 22 15:21:19.680374 2023] [mpm_winnt:notice] [pid 11384:tid 320] AH00456: Apache Lounge VS16 Server built: Nov  2 2022 10:09:33
[Tue Aug 22 15:21:19.680374 2023] [core:notice] [pid 11384:tid 320] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.54.2\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.54.2'
[Tue Aug 22 15:21:19.695996 2023] [mpm_winnt:notice] [pid 11384:tid 320] AH00418: Parent: Created child process 11492
[Tue Aug 22 15:21:21.133487 2023] [mpm_winnt:notice] [pid 11492:tid 348] AH00354: Child: Starting 64 worker threads.

Can someone help me?

Dan Gillean

unread,
Aug 22, 2023, 3:45:34 PM8/22/23
to ica-ato...@googlegroups.com
Hi Açuceno,

We do not test or develop AtoM using WAMP, and I suspect you may be encountering compatibility issues. For example, from what I can see, WAMPServer defaults to using MySQL 5.7, while AtoM requires MySQL 8.0. Also, while it is possible to run AtoM using Apache, we use Nginx in testing and development, meaning there may be additional configuration to figure out on your own. AtoM requires a number of PHP extensions to work which are likely not installed by default in the WAMP environment, and definitely requires Elasticsearch, which must be installed as well, along with any other missing dependencies. 

Given that 1) AtoM is normally intended to be installed on a server for production use, and 2) WAMP is generally not recommended as a production-ready public facing solution, I am guessing that you are trying to set up a local test environment on a personal computer like a laptop or desktop. Is this the case? If yes, then you might want to consider trying one of our ready-made development environments instead, such as the Vagrant box if you are using a Windows PC. See: 
Some of the later slides on updating the Vagrant box are out of date (so you should look at the recent documentation for things like how to restart PHP-FPM), but overall the slides also include much more detail, especially for Windows users on how to set up an SSH agent. I recommend following these if you would like to set up a test instance of AtoM on your personal computer! 

Otherwise, if you want to try to continue with your WAMP environment, we are very limited in the support we can offer. A few starting suggestions: 
  • Make sure your WAMPServer has enough resources, such as memory, CPU, etc. You can check our technical requirements here
  • Make sure you have all the required dependencies and PHP extensions installed. You can review our supported installation documentation here to see what we install. These installation steps all assume you are using the unix/Linux command line on an Ubuntu release to do the installation - so you may need to find your own equivalent ways of installing in your WAMP environment. 
  • AtoM does NOT include any kind of automated installer like you might find in a desktop Windows application - the downloadable tarball is just zipped code, and must be manually configured after all the dependencies are installed. Again, see the installation documentation - though you will have to figure out on your own how to recreate these steps in your environment. 
  • Based on the error message you found in the Apache web server logs, you may need to configure and then restart the job scheduler. Installation instructions for Ubuntu Linux are here in our general installation instructions - and then we have more detailed configuration and restart instructions here
  • There are others who have succeeded in using WAMP for setting up a local AtoM test environment. You can see posts in the user forum that are a) labeled "Windows" and b) mention "WAMP" here: 
Good luck!

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/d137b18e-42c4-45ec-9b94-51a0e405229fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages