Database refuses connections no matter what #529
Replies: 3 comments 3 replies
-
Is there a particular reason why you are not using the official mariadb image? |
Beta Was this translation helpful? Give feedback.
-
I'm experiencing the same issue -- had Photoview running fine and scanned my entire photo collection for 2 or 3 days. Brought the container down, then tried to bring it back up again, and I kept getting the same database connection refused message. I'm running the official mariadb image (10.5). Any ideas, @viktorstrate ? Edit: Portainer shows MariaDB status as running fine. Photoview status is in a perpetual "starting" state (since it just keeps trying to establish database connection to no avail). |
Beta Was this translation helpful? Give feedback.
-
Please try the setup from my PR #863 - it contains fixes for many issues, reported here. Let me know if it doesn't work for you. |
Beta Was this translation helpful? Give feedback.
-
Edit: So a few days later I tried just spinning up this container once more (I had both the UI and DB containers stopped for several days), and now things just seem to be working again. I have no idea why it's working; I changed nothing. It seems to be fixed now, but it's a total mystery as to why it didn't work for so long.
Hey folks, I'm sort of going crazy figuring out what's going on here. I recently had to rebuild my docker environment due to some unforeseen circumstances. I had my old docker-compose files so it wasn't a big deal, but photoview isn't playing nice. For some reason I continually get these errors:
The IP listed there is the one docker's network assigns to it. The main container's IP is in the same network/subnet as well so that shouldn't be a problem.
I run into this problem under all of these circumstances:
Is there something obvious I'm missing here? It's weird that this just worked before but now is giving me errors.
Here's my current docker-compose Stack. I'm using "photoview" as a password instead of "photosecret" due to an issue long ago and just never updated it, but that wasn't a problem before.
Beta Was this translation helpful? Give feedback.
All reactions