-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when executing docker run #72
Comments
Have you tried changing the ports in the addon or in the docker? There's no reason any port can't work as 3000 isn't an irobot port, just an addon port. |
As what @xnemesis said, you can change the binding to a different port
Just make sure you reference 3005 in the other yaml files |
Thank you !!!! I have changed to port 3005 and so I can "see" the robot data on this page : http://192.168.1.15:3005/api/local/info/state So that part is OK. But still I get the same error after starting this docker command : WARNING: NODE_ENV value of 'production' did not match any deployment config file names. |
something is trying to reach this URL which is not correct - check and see if its in your configuration somewhere? |
Also I noticed that I need to run te following according to the documentation : docker run -name php-nginx -p 3001:8080 -v /<HA_CONFIG>/roomba:/app -e NGINX_WEBROOT=/app webhippie/php-nginx:latest Not sure what should be. I used the following : docker run -name php-nginx -p 3001:8080 -v /192.168.1.15:8443/roomba:/app -e NGINX_WEBROOT=/app webhippie/php-nginx:latest I get this error : unknown shorthand flag: 'n' in -name |
The -v command needs the first part needs to reflect the For the error - You need to use two dashes for name
|
the path to the HA folder ... In what format should that be ? The full URL Like http://192.168.1.15:8443/config ? |
Are you running docker on the same server as home assistant? It needs to be the full path to the config folder. If it's on a different server, then you might be better running the HA community store addon |
Yes, on the same server ... So exactly like this http://192.168.1.15:8443/config. ??? Also when starting nginx docker I get the following error : docker run --name php-nginx -p 3001:8080 -v /192.168.1.15:8443/config/vacuum:/app -e NGINX_WEBROOT=/app webhippie/php-nginx:latest docker: Error response from daemon: invalid mode: /app. BIG THANKS FOR YOUR HELP !!!! |
Actually... What model robot do you have? The php container isn't really needed as iRobot removed the ability to do coordinates in all the i/s/j series |
I have an irobot Roomba i5 series. |
Skip the php container, not needed. |
So, I best remove the nginx php server right ? And then how do I continue with the other errors ? |
The rest980 container is running still .... |
Yes you can remove that container. I suggest reviewing the configuration, specifically the entries in the secrets file |
Just to be sure Jeremy, the location of secrets.yaml is in te config folder. The location of the vacuum.yaml also ? |
Secrets yes. For the vacuum I recommend using packages feature - it's documented in the instructions |
When executing the following :
run --name rest980 -e BLID=************************ -e PASSWORD=***************** -e ROBOT_IP=192.168.1.74 -e FIRMWARE_VERSION=2 -p 3000:3000 koalazak/rest980:latest
I get Error : Error response from daemon: driver failed programming external connectivity on endpoint rest980 (68bf65ec9dbec368600a893459155a094efb3642814959db4d75a873b8bacebd): Bind for 0.0.0.0:3000 failed: port is already allocated.
It seems port 3000 is already in use by another addon (Doubletake). Can I simply use any other port ?
THANK YOU !!!!
The text was updated successfully, but these errors were encountered: