Jump to content

Recommended Posts

Posted

thank you. Will do.

Posted (edited)

I tried reinstalling emby with the auto update variable enabled but when I start up I get this error in the log files.

 

"Empty path name is not legal"

 

Error, Main, UnhandledException
21:10:47   *** Error Report ***
21:10:47    Version: 3.0.5641.4
21:10:47    Command line: /opt/emby-server/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe
21:10:47    Operating system: Unix 3.10.35.0
21:10:47    Processor count: 4
21:10:47    64-Bit OS: True
21:10:47    64-Bit Process: True
21:10:47    Program data path: /config
21:10:47    Mono: 4.0.1 (tarball Tue Jun 2 13:22:02 UTC 2015)
21:10:47    Application Path: /opt/emby-server/MediaBrowser.Server.Mono.exe
21:10:47    Empty path name is not legal.
21:10:47    System.ArgumentException
21:10:47     at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) [0x00000] in <filename unknown>:0
21:10:47     at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
21:10:47     at System.IO.StreamReader..ctor (System.String path, Boolean detectEncodingFromByteOrderMarks) [0x00000] in <filename unknown>:0
21:10:47     at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename unknown>:0
21:10:47     at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
21:10:47     at EmbyTV.TunerHost.HostDefinitions.M3UPlaylist.GetChannels (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
21:10:47     at EmbyTV.TunerHost.HostDefinitions.M3UPlaylist.GetDeviceInfo (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
21:10:47     at EmbyTV.LiveTvService+<RefreshConfigData>d__38.MoveNext () [0x00000] in <filename unknown>:0
21:10:47    --- End of stack trace from previous location where exception was thrown ---
21:10:47     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
21:10:47     at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__1 (System.Object state) [0x00000] in <filename unknown>:0
21:10:47    
21:10:47    UnhandledException
21:10:47    Empty path name is not legal.
21:10:47    System.ArgumentException
21:10:47    at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) [0x00000] in <filename unknown>:0
21:10:47    at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
21:10:47    at System.IO.StreamReader..ctor (System.String path, Boolean detectEncodingFromByteOrderMarks) [0x00000] in <filename unknown>:0
21:10:47    at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename unknown>:0
21:10:47    at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
21:10:47    at EmbyTV.TunerHost.HostDefinitions.M3UPlaylist.GetChannels (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
21:10:47    at EmbyTV.TunerHost.HostDefinitions.M3UPlaylist.GetDeviceInfo (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
21:10:47    at EmbyTV.LiveTvService+<RefreshConfigData>d__38.MoveNext () [0x00000] in <filename unknown>:0
21:10:47--- End of stack trace from previous location where exception was thrown ---
21:10:47    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
21:10:47    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__1 (System.Object state) [0x00000] in <filename unknown>
Edited by FlyGuy94
hurricanehrndz
Posted

 

I tried reinstalling emby with the auto update variable enabled but when I start up I get this error in the log files.

 

"Empty path name is not legal"

 

Error, Main, UnhandledException
21:10:47   *** Error Report ***
21:10:47    Version: 3.0.5641.4
21:10:47    Command line: /opt/emby-server/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe
21:10:47    Operating system: Unix 3.10.35.0
21:10:47    Processor count: 4
21:10:47    64-Bit OS: True
21:10:47    64-Bit Process: True
21:10:47    Program data path: /config
21:10:47    Mono: 4.0.1 (tarball Tue Jun 2 13:22:02 UTC 2015)
21:10:47    Application Path: /opt/emby-server/MediaBrowser.Server.Mono.exe
21:10:47    Empty path name is not legal.
21:10:47    System.ArgumentException
21:10:47     at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) [0x00000] in <filename unknown>:0
21:10:47     at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
21:10:47     at System.IO.StreamReader..ctor (System.String path, Boolean detectEncodingFromByteOrderMarks) [0x00000] in <filename unknown>:0
21:10:47     at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename unknown>:0
21:10:47     at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
21:10:47     at EmbyTV.TunerHost.HostDefinitions.M3UPlaylist.GetChannels (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
21:10:47     at EmbyTV.TunerHost.HostDefinitions.M3UPlaylist.GetDeviceInfo (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
21:10:47     at EmbyTV.LiveTvService+<RefreshConfigData>d__38.MoveNext () [0x00000] in <filename unknown>:0
21:10:47    --- End of stack trace from previous location where exception was thrown ---
21:10:47     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
21:10:47     at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__1 (System.Object state) [0x00000] in <filename unknown>:0
21:10:47    
21:10:47    UnhandledException
21:10:47    Empty path name is not legal.
21:10:47    System.ArgumentException
21:10:47    at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) [0x00000] in <filename unknown>:0
21:10:47    at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
21:10:47    at System.IO.StreamReader..ctor (System.String path, Boolean detectEncodingFromByteOrderMarks) [0x00000] in <filename unknown>:0
21:10:47    at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename unknown>:0
21:10:47    at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
21:10:47    at EmbyTV.TunerHost.HostDefinitions.M3UPlaylist.GetChannels (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
21:10:47    at EmbyTV.TunerHost.HostDefinitions.M3UPlaylist.GetDeviceInfo (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
21:10:47    at EmbyTV.LiveTvService+<RefreshConfigData>d__38.MoveNext () [0x00000] in <filename unknown>:0
21:10:47--- End of stack trace from previous location where exception was thrown ---
21:10:47    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
21:10:47    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__1 (System.Object state) [0x00000] in <filename unknown>

 

Please post full docker run command.

Posted

docker run -d --net=host -v /volume1/backup/backupconfig:/config -v /volume1/video:/media -v /volume1/games:/games -e TZ=Europe/Brussels -e AUTO_UPDATES_ON=true --name=EmbyServer emby/embyserver

hurricanehrndz
Posted

Interesting! who is the owner of /volume1/backup/backupconfig? and permissions? For debugging purposes run with out the config volume mapped, please and report back.

Posted

Is seems you are right without the /config mounted it starts up fine. The owner of backupconfig is admin (me) with read/write rights. Last time I used the exact same folder with the same owner and permissions and it was never an issue.

Posted

Ok so I tried again deleting the backupconfig folder and re-adding it didn't work same error. But if I made a new folder with the exact same permissions as the backupconfig folder. It worked perfectly. I don't know about you but I find that weird :huh:   

hurricanehrndz
Posted

Emby-sever for docker by default is setup to run under uid 99 and gid 100, if that is not your userid and gid, please look into using the appropriate environment variables. See the docker page.

 

Sent from my D6603 using Tapatalk

Posted

Hey guys,

 

I'm running emby server as a docker on my Synology NAS

 

Every thing is working so far. As there is no way to do an net=host command on Synology I have to "mount" all ports manual. This works but not for the upnp function. No upnp device detects my emby server. Also the emby plugin for Fire TV doesn't work...

 

Anyone has a clue?

post-47947-0-99162100-1435049699_thumb.jpg

Posted

Hey guys,

 

I'm running emby server as a docker on my Synology NAS

 

Every thing is working so far. As there is no way to do an net=host command on Synology I have to "mount" all ports manual. This works but not for the upnp function. No upnp device detects my emby server. Also the emby plugin for Fire TV doesn't work...

 

Anyone has a clue?

 

You can just handle the ports manually. As for the fire, please see http://emby.media/community/index.php?/forum/53-windows/

Posted

sorry, but your link is pointing to forum not a post :-/ actually i don't find anything about ports there 

 

a Wiki overview about used ports also would be great, but i guess you have this on a very, very long todo list ;-)

Posted

the used ports are displayed right on the front page of the server dashboard

  • 2 weeks later...
Gernash
Posted

Is there any way to Speed test file transfer speed from the Docker image to a network client? 

 

The issue I'm experiencing is when viewing a HD file, emby is transcodeing it (%50 load) but on the Client side(web browser) the media streams for 3sec pause 3sec pause 3sec etc Like filling a buffer.

Gernash
Posted

Next question to all the iptable Guru's out there

 

My understanding  eth0--->docker0 "WAN"(randumb ip address)----Docker NAT----Docker containers IP (Dynamic randumb 172.17.0.x)

 

Is there a way to Dynamically translate/route the Container ip address to eth0 to essentially open all the containers ports without having to manually set NAT port forwards in Docker? So you can just point a static route in the server to the container ip?

 

Due to the difficulty of forwarding ports like 123,1900 etc (I'm aware of NTP date change issue changing global values within Docker.)

 

Or is this just crazy talk?

Gernash
Posted

Ohh another question does anyone know how(if it's possible) to masq their eth0 port to another address in the same RANGE then bind Docker to it. (still trying to dodge the open port issue)

FlyGuy94
Posted

I updated docker and now my emby server is no longer able to access the internet but after I dug a bit deeper and from a terminal inside the docker environment I was able to access the internet with dns name resolving. I get this error when trying to check for updates to emby or try to sync to trakt. "Error: NameResolutionFailure "


When I look into the logs I find this 


 



Error: NameResolutionFailure

stdout



18:41:31

    MediaBrowser.Model.Net.HttpException

stdout



18:41:31

     at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>c__async4.MoveNext () [0x00000] in <filename unknown>:0


 


Something broke with emby when I updated docker.


FlyGuy94
Posted

 

I updated docker and now my emby server is no longer able to access the internet but after I dug a bit deeper and from a terminal inside the docker environment I was able to access the internet with dns name resolving. I get this error when trying to check for updates to emby or try to sync to trakt. "Error: NameResolutionFailure "

When I look into the logs I find this 

 

Error: NameResolutionFailure
stdout
18:41:31
    MediaBrowser.Model.Net.HttpException
stdout
18:41:31
     at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>c__async4.MoveNext () [0x00000] in <filename unknown>:0

 

Something broke with emby when I updated docker.

 

Just a worse care scenario. If I try to reinstall emby via the docker terminal. Will it still use the existing config? So with the watchlist plugins enz... I don't want to lose it all again :( especially when I can' t sync to trakt.

FlyGuy94
Posted

I was able to fix my problem. Just in case someone else runs into this I will explane what I did to resolve my issue.

 

1) Make a backup from your docker environment. I use synology (If you use something else do some research I guess sorry) Stop your docker-container and klik on settings -> export and choose full container backup.

2) Uninstall docker and remove configuration/containers so basically everything (on synology make sure you tik the box when uninstalling from the package manager to remove everything)

3) Reinstall docker

4) Import your backup 

5) Profit??? fingers crossed!!! 

  • Like 1
Saner2oo2
Posted

out of interest, does the docker container for emby support auto-updating via the gui, or doi have to push it somehow.

bncbnc83
Posted

Hello :)

Why is it i lose all series information on restart and i have to update on start. another time it was my movie collection i had to update on every restart.

i think it setup right. all updates on restart is deactivated

sudo docker run -d --net=host  -v /home/config:/config -v /home/film/Film:/film -v /home/film/Serier:/Serier -e TZ=Europe/Brussels -e MB_USER_ID=1002 -e MB_GROUP_ID=1003 --name=mbserver emby/embyserver

hurricanehrndz
Posted

Next question to all the iptable Guru's out there

 

My understanding  eth0--->docker0 "WAN"(randumb ip address)----Docker NAT----Docker containers IP (Dynamic randumb 172.17.0.x)

 

Is there a way to Dynamically translate/route the Container ip address to eth0 to essentially open all the containers ports without having to manually set NAT port forwards in Docker? So you can just point a static route in the server to the container ip?

 

Due to the difficulty of forwarding ports like 123,1900 etc (I'm aware of NTP date change issue changing global values within Docker.)

 

Or is this just crazy talk?

--net=host

hurricanehrndz
Posted

Just a worse care scenario. If I try to reinstall emby via the docker terminal. Will it still use the existing config? So with the watchlist plugins enz... I don't want to lose it all again :( especially when I can' t sync to trakt.

This is an issue with the docker update. Reinstalling the docker container will not help.

hurricanehrndz
Posted

Just a worse care scenario. If I try to reinstall emby via the docker terminal. Will it still use the existing config? So with the watchlist plugins enz... I don't want to lose it all again :( especially when I can' t sync to trakt.

Nothing broke with emby, this is a bug in docker. 

hurricanehrndz
Posted

out of interest, does the docker container for emby support auto-updating via the gui, or doi have to push it somehow.

Nope, it does via an environment variable.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...