zygmunt Posted November 10, 2019 Share Posted November 10, 2019 Hi, Anyone here running the unifi-controller on plain k8s? I'm trying it out in minikube on Ubuntu with a persistent hostPath volume. First I had some trouble accessing the mounted volume but got it working by passing in the minkube vm docker user UID/GID as environmental variables in the pod, ie PGID=1000 and PUID=1000". Now I can connect to port 8443 and logs etc. are stored in the mounted directory. Seems as if everything ought to be correctly setup. Now though the mongodb process don't have permissions to bind a socket for some reason. 2019-11-10T17:54:00.555+0000 E NETWORK [initandlisten] listen(): bind() failed Operation not permitted for socket: /usr/lib/unifi/run/mongodb-27117.sock If I enter the shell inside the pod both the unifi and mongodb processes run as user abc 911:911. I'm not sure how to interpret this in relation to the environment variables set, or why the mongodb process can't bind a socket. The unfi process can bind sockets (I guess?) as I can hit port 8443 and get a result back? Any help is appreciated. Quote Link to comment
JonathanM Posted November 10, 2019 Share Posted November 10, 2019 3 hours ago, zygmunt said: Any help is appreciated. https://forums.unraid.net/topic/78060-support-linuxserverio-unifi-controller/?do=findComment&comment=788264 Quote Link to comment
zygmunt Posted November 11, 2019 Author Share Posted November 11, 2019 20 hours ago, jonathanm said: https://forums.unraid.net/topic/78060-support-linuxserverio-unifi-controller/?do=findComment&comment=788264 Ooh, I thought he referred to the application support forums. Just found out linuxserver.io has forums to. Thanks! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.