-
Notifications
You must be signed in to change notification settings - Fork 164
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
Docker - can't setup docker on raspberry pi running LibreELEC #315
Comments
did you port forward 8099 on your router? |
8099 and 8080, which is the WAN and LAN port in port forwarding rules? Is this part of the syntax correct? this is where my file is located on the pi. In you other answer
Where are these files? From the readme it just tell us to do one those things above in my first post.. Even this command
|
I forwarded both 8080 and 8099 on my router. The way I understand it, port 8080 is for webserver access (README.md part A) while port 8099 is where the Docker will listen (README.md part B.3, step 5).
I didn't go with that option. I ran the container with the use of environment variables (README.md part B.3, step 3, option 1)
These files are both inside the Docker Image you pull from omertu/googlehomekodi and the Docker Container you ran from that Image. I learned that if you edited these files inside the Image you won't be able to run the container from the image. Both the Docker Image and Container are inside libreELEC. From my trial and errors I found that the Docker addon needs a running Container to function. To run a Container you first need an Image. I pulled the default Image from omertu/googlehomekodiand then ran the Container from it. I then copied my customized files into the Container. The path [container name]:/home/node/app/ is inside the running Docker Container. What I did was;
I needed step 3-5 because I changed contents in those 3 files and wanted to use them in googlehomekodi. Step 1 and 2 should be enough if you want to run googlehomekodi as default. For me the README.md was straight forward. I ran to issues because I wanted to run a customized version of googlehomekodi. I ended up adding some extra steps to accomplish it. I hope that helps you. The terms are a little confusing for me since I didn't have any experience with this, but like I said after a lot of trial and errors I got it to work. Let me know if you have any other questions. PS: I'm on libreELEC 9.2.4 on Raspberry Pi 4 |
Sorry for my late response, I was busy with my life. But here is my help if still needed:
what does that even mean? does the run command throw an error? does the container start? what steps of the troubleshoot section do work, what steps dont?
No this is WRONG!
though I would advice you NOT to mount the whole |
it runs, no errors that I can see
yes
step 3 - page does not load or ask for the token password when using my libreelec IP address e.g. 192.168.0.200:8099 I have port forward the docker rule as following so I think that is correct rule e.g.
So just to be clear.. -Do I place the file kodi-hosts.config.js. into a directory e.g. /storage/config? And then I type this command exactly as this Do I need to run all of these commands in terminal one command at a time
|
If the container starts up correctly,it should load. Port-forwarding is not yet involved at this point.
the right side, after the colon is not written in UPPERCASE, therefore it is NOT part of the placeholder and therefore should not be touched!
paste the entire lot and just press enter. it is one single command spread over multiple lines for readability. |
I followed the guide to setup docker kodi addon on my raspberry pi (libreELEC)
but it still won't run.
Does anyone know what I can do to solve this problem?
What I have done..
Install the Docker engine
If you want to run it on a LibreELEC system
You can simply install the offical service addon Docker
Note: Enable the feature Wait for network before starting kodi under Settings > LibreELEC > Network
Get the latest GoogleHomeKodi docker image
docker pull omertu/googlehomekodi
docker run \
--detach \
--publish 8099:8099 \
--restart always \
-e KODI_PROTOCOL="http" \
-e KODI_IP="192.168.0.2" \
-e KODI_PORT="8080" \
-e KODI_USER="kodi" \
-e KODI_PASSWORD="password" \
-e AUTH_TOKEN="myConnectionPassword" \
--name googlehomekodi \
omertu/googlehomekodi
or with the use of the config file:
Create a copy of the kodi-hosts.config.js.dist file and name it kodi-hosts.config.js.
Edit the file and make sure the kodiConfig and globalConfig sections match your environment.
Run it
docker run \
--detach \
--publish 8099:8099 \
--restart always \
-v YOUR_CONFIG_DIR:/storage/kodi-hosts.config.js. \
--name googlehomekodi \
omertu/googlehomekodi
The text was updated successfully, but these errors were encountered: