Hi there,
Firsty I'm a newbie to AtoM and happy to be part of this vibrant community. I'm a developer at Newcastle University and we chose AtoM as our software solution for our Library's Special Collections and Archives department after speaking to many other UK institutions who also use AtoM as well as those who use other solutions.
Server Environment
I've been following the
installation instructions for the latest version, 2.5. I'm running a slightly different server environment to that listed within here (Centos 7.7 and using Apache 2.4.6) however I have done the equivelant bits of config including installing all of the various dependencies and extensions required. The server spec exceeds the minimum hardware requirements. All services, e.g. MySQL 8.0.19 are locally hosted on the same server.
Installation - early issues with SELinux
When navigating to the web-based installation I initially hit a few issues due to SELinux, specifically due to filesystem permissions which I was able to fix. Furthermore, on the Configure Search part of the installation (ElasticSeach) SELinux was also stopping things from working by denying permission to the server. For the sake of the installation I have temporarily disabled SELinux and will come back to it later...
Installation - current issue
After I disable SELinux and AtoM is successfully able to connect to the local ElasticSearch server I click on Save and Continue. This then takes hours and hours of the browser loading before eventually returning the attached error message. I have tried a clean installation three times resulting in the same outcome (sometimes takes less time, sometimes ages e.g. overnight before revealing the attached error message).
The error message, in brief, reports (also attached):
500 | Internal Server Error | PDOException
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
Naturally I did some looking around on this forum and found a few similar posts - not during installation, but same the same error message. I went to this one here and ended up on the AtoM Troubleshooting pages, before going to the MySQL v8.0 online documentation which then told me to try changing the wait_timeout. However this is already set to 8 hours - would the installation usually take this long? Furthermore, as advised in the AtoM Troubleshooting guide I tried starting MySQL with --log-warnings=2 enabled however this option was deprecated in MySQL v8. The new --verbose feature (without testing it) seems to imply it is for command line SQL logging...?
It has populated the database tables/structure, however now if I go to the web root now I get a blank page (with blank source code also).
Anyway, I'm a little stuck/lost as to what to try now so would grately appreciate any help from anyone who can point me in the right direction and help me through this installation. I have full access to the server to be able to make any required configuration changes. Appreciate I may need to start a clean installation again.
Many thanks in advance,
Stephen