Salut Nadia,
Before offering some troubleshooting suggestions, I would like to provide a few general reminders:
First, please note that we do not test or support Xampp installations - hopefully other community users can offer you guidance, but it can be difficult to match the dependency requirements in Xampp.
In your case, I recommend that you take a look at the technical requirements and installation documentation for AtoM 2.5.0 if that's what you'd like to install. You will find that:
- PHP 7.2 is the latest PHP version supported in 2.5 (and 2.6 currently). We will be upgrading this for 2.7, and there are already some fixes in 2.6.x that will help with compatibility, but in version 2.5, I would expect you to see errors, warnings, and notices when trying to use PHP 7.3.
- AtoM 2.5 expects MySQL server v5.7. If you are running 5.0, there will almost certainly be problems!
- It's worth checking what version of Elasticsearch you have installed as well. AtoM 2.5 supports up to version 5.6 - later versions (such as 6.x and 7.x) or versions earlier than 5 are very likely to cause issues!
If you need to install AtoM on a Windows server, we strongly recommend a full Ubuntu 18.04 virtual machine, rather than a preconfigured environment like Xampp. That way you can follow the official installation documentation once you've created the base Ubuntu virtual appliance. Alternatively, if this is for testing or development on a personal computer such as a laptop, we already provide cross-platform environments, such as our Vagrant box:
Keep in mind that AtoM is intended to be installed on a server for use in a production environment. The Vagrant box is NOT intended to be used in production as your primary public-facing AtoM site!
If you do intend to keep using Xampp, then you may need to downgrade some things (such as the PHP version) and upgrade others (such as the MySQL server version).
Finally, keep in mind that version 2.5 is fairly old at this point - almost 2 years old! We have made a number of performance improvements in 2.6.x, and there have been 2 security releases that patch issues that also affect version 2.5! Please see our release notes for more information:
If you really cannot install 2.6 instead, there are patches provided for 2.5 - we strongly recommend you apply them. See the release announcements for v2.6.2 and 2.6.4 for more information and a link to the patches:
Now, a few troubleshooting tips:
Typically, whenever you encounter a 500 error, we first recommend that you take a look at the webserver error logs for more information. In Nginx these can be accessed at /var/log/nginx/error.log. You can try the following for Apache, to see if it works - if not, you will need to consult the Apache documentation:
One of the most common reasons we see 500 errors relating to Elasticsearch is because there is not enough memory available. Elasticsearch is very memory-intensive during installation and configuration. On our Technical requirements page we recommend the following for production-ready AtoM installations:
- Processor: 2 vCPUs @ 2.3GHz
- Disk space (processing): 50GB at a minimum for AtoM’s core stack plus more storage would be required for supporting any substantial number of digital objects.
If at all possible I would suggest increasing the available RAM in your installation environment. Once installed and configured, this could possibly be reduced some (4GB of RAM seems to work okay for most medium-sized installations), but it will help the installation process a lot if you have more RAM during the configuration stage.
So, check your dependencies and upgrade or downgrade as needed; check the available RAM and increase it if possible; and if none of that helps, check the Apache error logs and share what you find there - hopefully we will be able to offer further suggestions.
Let us know how it goes!
Cheers,