-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation failure #10
Comments
Hi Milos, Thanks for trying our Dockerized Omeka S stack. The error you mention could mean that the mySQL database is not ready. To troubleshoot, you could take the following steps:
Looking forward to your reply. |
Hi Maarten, My answers:
2: Yes, the omeka database exists and has tables. Theit content seems to be the same as in the
Then,
thanks! |
Thanks for sharing that info. I've been looking into it and at first I noticed that your mySQL container is running For some reason I suspect caching to be a problem. Could you try to delete all running containers and volumes and create a fresh environment with:
Then, clear the cache in your browser and try to access http://omeka.local or http://omeka.local/admin again. Let me know the outcome. Best regards, |
Hi Maarten,
I've tried to install everything from scratch on a different machine (Mint 22), but with the same result. Docker was, however, the same (version 27.3.1). Which is the version of your docker? Isn't there somewhere a log file where one could get more information? |
Hi Milos, I'm glad to read that a fresh build of the Docker environment at least had some effect: a different error. I sometimes see this "SQLSTATE[HY000] [2002] Connection refused." error as well, but in those cases I just need to wait a bit longer (30 seconds) for the database tables to be populated and the database ready to accept connections. Usually, when I wait a few more seconds and refresh the page the Connection refused error is gone and everything works as it should do.
I'm running:
All relevant log files should normally be sent to the Docker logs by this tail command in docker-entrypoint.sh so you could read them using
(or any other log file listed in the tail command linked above). The Connection refused error you're currently getting indicates there is something wrong with the omekas->database connection. In order to troubleshoot this further I would like to know some more:
This should give output like:
Best regards, |
Thank you, Maarten, it works now. Now I am going to study the setup. Thank you once more Best regards |
Hello,
I've tried today to install omekas (on Debian Bookworm). The process went without problems, but omeka.local does not work (the others are OK):
When I open omeka.local, I get a page with message
Install Omeka S
Some installation requirements were not satisfied.
An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory
I've checked output from docker compose logs -f, but no file is mentioned there.
What can be the reason?
Thanks in advance
Milos
The text was updated successfully, but these errors were encountered: