You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: could not prepare Kong prefix at /var/run/kong: nginx configuration is invalid (exit code 1):
�nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /var/run/kong/nginx.conf:7
nginx: the configuration file /var/run/kong/nginx.conf syntax is ok
nginx: [emerg] bind() to unix:/var/run/kong/worker_events.sock failed (13: Permission denied)
nginx: configuration file /var/run/kong/nginx.conf test failed
Run with --v (verbose) or --vv (debug) for more details
Error: could not prepare Kong prefix at /var/run/kong: nginx configuration is invalid (exit code 1):
�nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /var/run/kong/nginx.conf:7
nginx: the configuration file /var/run/kong/nginx.conf syntax is ok
nginx: [emerg] bind() to unix:/var/run/kong/worker_events.sock failed (13: Permission denied)
nginx: configuration file /var/run/kong/nginx.conf test failed
Run with --v (verbose) or --vv (debug) for more details
I tried your steps and setup kong master successfully on my MacOS. which Operating system do you use? And make sure you have delete all the original kong docker container.
db-1 | LOG: autovacuum launcher started
kong-1 | Error: could not prepare Kong prefix at /var/run/kong: nginx configuration is invalid (exit code 1):
kong-1 | nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /var/run/kong/nginx.conf:7
kong-1 | nginx: the configuration file /var/run/kong/nginx.conf syntax is ok
kong-1 | nginx: [emerg] bind() to unix:/var/run/kong/worker_events.sock failed (13: Permission denied)
kong-1 | nginx: configuration file /var/run/kong/nginx.conf test failed
kong-1 |
kong-1 |
kong-1 | Run with --v (verbose) or --vv (debug) for more details```
Is there an existing issue for this?
Kong version (
$ kong version
)latest
Current Behavior
Error: could not prepare Kong prefix at /var/run/kong: nginx configuration is invalid (exit code 1):
�nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /var/run/kong/nginx.conf:7
nginx: the configuration file /var/run/kong/nginx.conf syntax is ok
nginx: [emerg] bind() to unix:/var/run/kong/worker_events.sock failed (13: Permission denied)
nginx: configuration file /var/run/kong/nginx.conf test failed
Run with --v (verbose) or --vv (debug) for more details
Error: could not prepare Kong prefix at /var/run/kong: nginx configuration is invalid (exit code 1):
�nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /var/run/kong/nginx.conf:7
nginx: the configuration file /var/run/kong/nginx.conf syntax is ok
nginx: [emerg] bind() to unix:/var/run/kong/worker_events.sock failed (13: Permission denied)
nginx: configuration file /var/run/kong/nginx.conf test failed
Run with --v (verbose) or --vv (debug) for more details
Expected Behavior
No response
Steps To Reproduce
$ git clone https://github.com/Kong/docker-kong
$ cd docker-kong/compose/
$ KONG_DATABASE=postgres docker-compose --profile database up
Anything else?
No response
The text was updated successfully, but these errors were encountered: