-
Hello - question and request for help from a very inexperienced docker/linux/NAS user. I'm trying to install on Synology NAS running Docker. I've tried following the steps outlined here to install via SSH into the NAS and the docker-compose route, as well as via Portainer following the instructions here. When I go the SSH route, everything goes fine, but the webserver container will run for 2-3 seconds and then restart in a continuous loop. When I check the log, it seems to be crashing on a password error with postgres. The last line in the long string of errors is: django.db.utils.OperationalError: FATAL: password authentication failed for user "paperless" When I go the Portainer route, it seems to be running, but when I go into the logs for the paperless container, I still see the same error popping up and the URL to the webUI shows a blank page with "Not Found" 05:22:16 [Q] ERROR FATAL: password authentication failed for user "paperless" In portainer, I can see that the environment variables for the postgresdb, user and pw are all set consistent with the paperless container. I've tried deleting and setup several times over and I'm confident I'm following all the steps correctly, yet I keep running into the same error, so I'm stuck at thinking it's something specific to how the postgres db is being setup. Perhaps I should try sqlite instead, but it seems that's the less preferred option? Another thought - Synology's initial DSM setup discourages using the default "admin" user account, and recommends the admin account be disabled (which I did) and instead made me setup a separate user account that has all the same admin privileges. Could this be part of the cause? Any assistance is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
UPDATE - I was able to get it running by using a different version of the docker-compose.yml file from the forum post here. Comparing the posted yml file to the one I downloaded from the instructions, there's only one difference I can see in the db section: Github release file: I'm a total rookie at this, so perhaps I misunderstood the setup documentation, and I was supposed to specify the location for the postgres db, but that appears to be the cause of my problem. Thanks! |
Beta Was this translation helpful? Give feedback.
UPDATE - I was able to get it running by using a different version of the docker-compose.yml file from the forum post here.
Comparing the posted yml file to the one I downloaded from the instructions, there's only one difference I can see in the db section:
Working yml file:
volumes:
- /volume1/docker/paperless-ng/database:/var/lib/postgresql/data
Github release file:
volumes:
- pgdata:/var/lib/postgresql/data
I'm a total rookie at this, so perhaps I misunderstood the setup documentation, and I was supposed to specify the location for the postgres db, but that appears to be the cause of my problem.
Thanks!