1
Support MariaDB unix domain socket
Source: paperless-ngx/paperless-ngx#13832 · opened by @Toorero
Description I keep it brief: If you set PAPERLESS_DBHOST to a UDS, the "init-db-wait" service will _never_ complete, prohibiting the further start of the instance. I did not find _any_ workaround the "init-db-wait" service so currently I'm sadly stuck. The check performed by "init-db-wait" can be found [here]( --- The problem is that if you're using a UDS you mustn't set --host but --socket. --- I would suggest the following: 1. Provide an option to bypass initial checks (like waiting for Redis or MariaDB), but still execute migration and other _required_ startup jobs, preferably by an environment variable like USER_IS_NON_ROOT=1 for dropping privileges. 2. Check for a connection by using the Python MariaDB connector like in my reproduction. This would then include even PAPERLESS_DB_OPTIONS. Steps to reproduce 1. Ensure /run/mysqld/mysqld.sock points to a valid MariaDB/MySQL UDS 2. Set PAPERLESS_DBHOST=/run/mysqld/mysqld.sock 3. Co…
No pledges yet. Be the first to back this.
Comments
Similar requests
[Feature Request] add waiting-for-db loop to the install script
1 vote · 0 comments
Locked Pages
1 vote · 0 comments
[Feature Request] Add a proxy env variable
1 vote · 0 comments
[Feature Request] Scoped style/instruction customization for AI suggestion prompts
1 vote · 0 comments
[Feature Request] Add Custom Fields Support to Correspondents, Document Types, and Other Entities
27 votes · 0 comments
No comments yet.