Replies: 3 comments 1 reply
-
Hello @D3ltorohd, Paperless depends on the database being healthy before it can proceed. It looks like your database never reaches a healthy status during the health check, causing your deployment to fail. This isn’t a Portainer issue, but I’d recommend checking the permissions on the deployment using the CIFS share and reviewing the database logs to identify why it’s failing to deploy. The Paperless community might be able to offer more information on what the Database is doing during deployment as well. |
Beta Was this translation helpful? Give feedback.
-
Hm my volume creation is right ? And the path in the stack is right written ? This is the error message. `initdb: error: directory "/var/lib/postgresql/data" exists but is not empty initdb: hint: If you want to create a new database system, either remove or empty the directory "/var/lib/postgresql/data" or run initdb with an argument other than "/var/lib/postgresql/data".` I did found the folder, when i connect to the docker system via ssh. Must i have this |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your explanation. So i will try it, to become the right definition for the volume path. One thing, i did not understand right. Should i use volumes: two time or should it looks like this ?
or this one in the service paperless for example.
I tried it, but this comes as an error ? Or should i find on paperless docu how to define the external path, i understand that right ?
I tried many different ways to set the external thing but nothing works. |
Beta Was this translation helpful? Give feedback.
-
Ask a Question!
Hello Com,
i have some problems, creating my first stack for paperlessngx to use external folders from the network (CIFS).
When i will deploy,after a while it comes this message.
Failed to deploy a stack: compose up operation failed: dependency failed to start: container PaperlessNGX-DB is unhealthy
I dont know where the error is. So lets start, what i have done.
The first , i add some volumes to save the data later on another system and not in the docker container itself. Its a Linux system with CIFS Shared Folders. From Windows i can connect to this folders read and write. So this is one of the volumes i have create with portainer.
So, this i do for 6 other volumes. Then i go to the Stack Section create new one, and at this lines, i found in another guide.
i have change only the volume path, the uid gid to 1000:1000 thats what i use on the docker system and the port 8033:8000. Port 8000 is already there so i change to 8033.
So go to deploy and after some time, the error message from my post comes. Done.
Greet's
D3ltoro
Beta Was this translation helpful? Give feedback.
All reactions