Celedhrim / docker-kodi-server

Runs Kodi in headless mode with docker
MIT License
79 stars 20 forks source link

Cant access http port #9

Closed Gomez closed 6 years ago

Gomez commented 6 years ago

For some reason i cant access the webport: Here is what i have:

kodi-server-profile/userdata/guisettings.xml

 <webserverport>8089</webserverport>

docker ps

CONTAINER ID        IMAGE                          COMMAND                CREATED             STATUS              PORTS               NAMES
e96e2a400495        celedhrim/kodi-server:latest   "/opt/kodi-server/li   4 minutes ago       Up 4 minutes                            modest_wozniak
/kodi-server-profile/userdata# netstat -tulp | grep kodi
tcp        0      0 *:1928                  *:*                     LISTEN      30100/kodi.bin
tcp6       0      0 [::]:9090               [::]:*                  LISTEN      30100/kodi.bin
udp        0      0 *:8881                  *:*                                 30100/kodi.bin
udp        0      0 *:1900                  *:*                                 30100/kodi.bin
udp        0      0 *:15165                 *:*                                 30100/kodi.bin
udp        0      0 *:7728                  *:*                                 30100/kodi.bin
udp6       0      0 [::]:9777               [::]:*                              30100/kodi.bin

Someone a idea? How does a working installation looks like?

Celedhrim commented 6 years ago

Hi !

I have this :

~# netstat -tulp | grep kodi
tcp        0      0 0.0.0.0:1845            0.0.0.0:*               LISTEN      12223/kodi.bin
tcp        0      0 0.0.0.0:8089            0.0.0.0:*               LISTEN      12223/kodi.bin
tcp        0      0 0.0.0.0:1661            0.0.0.0:*               LISTEN      12223/kodi.bin
tcp6       0      0 [::]:8089               [::]:*                  LISTEN      12223/kodi.bin
tcp6       0      0 [::]:9090               [::]:*                  LISTEN      12223/kodi.bin
udp        0      0 0.0.0.0:11073           0.0.0.0:*                           12223/kodi.bin
udp        0      0 0.0.0.0:7786            0.0.0.0:*                           12223/kodi.bin
udp        0      0 0.0.0.0:1088            0.0.0.0:*                           12223/kodi.bin
udp        0      0 0.0.0.0:9798            0.0.0.0:*                           12223/kodi.bin
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           12223/kodi.bin
udp6       0      0 [::]:9777               [::]:*                              12223/kodi.bin

Try to see your logs , or try the profile on a full kodi.

Gomez commented 6 years ago

Thanks for your quick response & the project!

Haven't got correct access to the docker image, how can i view the logs?

Celedhrim commented 6 years ago

Log are in the profile

kodi-server-profile/temp/kodi.log
Gomez commented 6 years ago

Thanks again, that helped.

I think kodi does not find the file shares and the update takes time. Is it enough to update a path in sources.xml and restart the docker?

Gomez commented 6 years ago

Strange, kodi sets this always back to false:

<webserver default="true">false</webserver>

On my working kodi its true and works. But after copy over, it gets disabled.

Gomez commented 6 years ago

A clean reboot and some docker cleanup solved it. Works now!