-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
[error] failed to initialize database, got error Error 1045: Access denied for user 'photoview' #870
Comments
Try the setup from my PR #863 - I fixed several issues there. It may help you as well. |
Seems to be working with those settings! Thank you! I need to do some more testing tomorrow. One quick question, what data does this section in .env refer to? Does it refer to Photoview settings etc. or photos?
|
It refers to the Makefile's backup function: if you'll run |
Aah, thank you for explaining! After some testing, everything seems to be working just fine, except some of the photos just appear as white rectangles. This only happens for the latest 50-100 photos, if I scroll more then everything seems to be fine. I also get this error message when clicking on any of those white rectangles: Quick EDIT: Doesn't seem to be browser or bad cookies related. I tried Firefox and Chome, both freshly installed in Windows Sandbox. |
The error message says that these photos are not scanned or the data is partly corrupted in the DB. |
I've done the scan multiple times, I even enabled the periodical scan which has occurred once. I'll try setting up the container again. |
Are you sure that the access to the media sources' location is stable? Please attach the full log from If everything is fine but the issue is still there, most probably your DB is corrupted. Make a backup and recreate it from scratch, make sure that everything is stable, then run the scanning job and don't interrupt it until finished. |
The error occurs with photos from 2023, I went through all of the just from Windows Explorer, and everything works fine. I went ahead and deleted the "storage" and "database" folders and spun up the container again. The same problem, here is the logs, I'm not knowledgeable enough to see if something is wrong. I also made a Photoprism container which had no problems displaying the same images. |
Did you run the ImageMagick command for images, which cause an issue? Was there some error or warning? I see the only error Photoprism has image auto-fix functionality during the scanning job run, which is why you don't see this problem there. Anyway, all this thread about missing \ corrupted images is not related to the original topic - it will be better to submit another issue here, move this thread there and continue the discussion: this way we won't mix things and keep the discussion focused on the reported problem |
Describe the bug
When trying to start the container, I get this error:
[error] failed to initialize database, got error Error 1045: Access denied for user 'photoview'@'192.168.128.3' (using password: YES)
To Reproduce
Steps to reproduce the behavior:
running docker compose up -d
Expected behavior
For the container to launch
Your environment:
Ubuntu (22.04.2 LTS (Jammy Jellyfish)) with Docker (Docker version 24.0.4, build 3713ee1) and Docker Compose installed (Docker Compose version v2.19.1)
Additional context
My docker-compose.yaml file:
https://pastebin.com/mrsy0aYB
Logs:
https://pastebin.com/g38EUq9i
What am I doing wrong?
The text was updated successfully, but these errors were encountered: