Skip to content

Commit 16dfd16

Browse files
committed
Fix ckan-worker crash by running as root user
The ckan-worker supervisor process was configured to run as user=ckan, but Azure PostgreSQL requires SSL and psycopg2 looks for a client cert at /root/.postgresql/postgresql.crt which the ckan user cannot access. This matches all other supervisor processes which already run as root.
1 parent d2a65b9 commit 16dfd16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ckan/ckan_supervisor.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ command=%(ENV_CKAN_VENV)s/bin/ckan -c %(ENV_CONFIG)s jobs worker
6767

6868

6969
; User the worker runs as.
70-
user=ckan
70+
user=root
7171

7272

7373
; Start just a single worker. Increase this number if you have many or

0 commit comments

Comments
 (0)