Hi Helen,
I'm really sorry to hear you're still struggling to get AtoM properly installed. It's a bit hard to get a full sense of what's going on here, but I'll try to offer a few general suggestions.
First, if you're still at the configuration and installation stage and having problems, I still think it might be worth installing 2.6 now, to avoid having to upgrade in the near future. We've added a lot of performance enhancements in the 2.6 release, and we've also replaced the Flash-based video player with an HTML5 one - if you intend to use video in your site at all, most browsers have announced they are fully removing Flash support after December 20, 2020. You can read more about all the enhancements and new features in the
2.6 release notes, or a summary in the forum announcement about 2.6
here.
I don't think I've seen that particular error message before, but here are a couple things you could try next:
First, if the database is locking things, perhaps you should try restarting it. In Ubuntu 16.04 or 18.04, you can typically do this with:
- sudo systemctl restart mysql
You can of course also try restarting elasticsearch if you haven't already:
- sudo systemctl restart elasticsearch
If you don't have any data to worry about, you could also try:
- Dropping and recreating the database
- For 2.4, this command typically looks like: mysql -u username -p -e 'drop database new_database; create database
new_database character set utf8 collate utf8_unicode_ci;' - new_database character set utf8 collate utf8_unicode_ci;'
- (don't forget to replace username in the command above with the database username you used during installation)
- Running the tools:purge task - this will delete any residual data in the system: php symfony tools:purge. This command should be run from AtoM's root installation directory.
I'm not sure if those steps will help or not, but if you don't yet have data, they also won't hurt. If you end up using a later version of AtoM, you'll find updated commands to drop/recreate the database on our Upgrading documentation page.
You could also try returning to the web installer configuration page and making sure you've properly entered your Elasticsearch connection credentials. Take the base URL of your site, and try adding /sfInstallPlugin/configureSite to it - this should re-open the web installer, where you can check that the Elasticsearch host, port and index name are entered correctly. If you've followed our instructions to the letter, see for example:
Hope this helps!