Hi Nabil,
Any time you encounter a 500 error, the first thing we recommend is to check the webserver error logs.
Our documentation focuses on using Nginx as your webserver, so we don't test with Apache, but there is a suggested starting point for finding the webserver logs in Apache here:
Please share any related error message you find there.
Often, when 500 errors are experienced during exports performed from the clipboard, it's because the job scheduler requires a restart. AtoM uses Gearman as a job scheduler to handle long-running tasks that may time out in the web browser, including clipboard exports. Sometimes the atom-worker that Gearman manages dies, and requires a restart - you will know this is the case if the message in the webserver error logs says something like "No Gearman worker available that can handle the job."
If that is what you see, then you should try to restart the atom-worker, and then try again. To restart the atom-worker, see:
Some notes on this:
- You can check the status of the atom-worker at any time with: sudo systemctl status atom-worker.This is useful to make sure the restart was successful.
- When the worker dies, AtoM will attempt to automatically restart it - however, to prevent the system from being caught in an endless loop, we added a restart limit - 3 retries every 24 hours. You can reset this fail limit with the following command:
- sudo systemctl reset-failed atom-worker
- Then run the restart command again if the previous attempts didn't work.
Otherwise if this does not resolve the issue, then more information would be helpful. Can you tell us more about what exactly you're trying to do?
For example, are you trying to migrate content from one AtoM installation to another? If so, we recommend following the same process described in the Upgrading documentation, to migrate the whole database and uploads, rather than exporting everything and then attempting to re-import it. See:
If you are trying to move from AtoM to a different system, what type of export are you attempting - CSV export, or XML export (and if XML, what type? E.g. EAD, MODS, or DC XML)? Are you running this export from the user interface, or via the command-line?
As per my response to your other post, please also tell us more about your installation environment. Hopefully with any messages you find in the webserver error logs and more information about what you were attempting to do and the steps you were following to do it, we can provide further suggestions.
Cheers,