Jump to content

Emby exits with System.NullReferenceException and Zero Byte Log Files


Recommended Posts

Kolomona
Posted

I was running emby-server-deb_4.0.2.0_amd64.deb on Ubuntu 18.04.2.

I noticed that the server was down. I discovered over 37,000 log files on my machine. All of the embyserver logs were zero bytes in length. There were thousands of "unhandled" log files all of the same length. The ones I checked all had the same info in them.

I apt purged 4.0.2.0 and installed emby-server-deb_4.1.1.0_amd64.deb

I discovered a "System.NullReferenceException:" that was occuring which I think is coming from Mono.

Also, the embyserver log file are still zero bytes in length, but there are not 1000s of them being generated anymore. :)

Here is a link to detailed information of my investigation.

http://cdn.kolomona.com/emby/problem01

Any help to get myserver up and running would be greatly appreciated. Thanks

Posted

Hi there, can you please attach the emby server log? Thanks !

Kolomona
Posted

The emby server log is zero bytes in length

Posted

How did you discover NullReferenceException?

Posted

What is that domain?

Kolomona
Posted

My name is Kolomona. It's my own personal domain.

 

cdn.kolomona.com is where I put assets that I share with others. (like files and images)

 

That way I don't accidentally delete them and break any links that may point to them.

 

It's my own persona; content delivery network :)

Kolomona
Posted

Any suggestions on how I can fix my server?

Posted

What is your system locale set to?

Kolomona
Posted

$ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=
Kolomona
Posted

$ sudo locale-gen en_US



$ sudo nano /etc/environment
LC_ALL="en_US.UTF-8"


$ sudo reboot

$ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8



$ sudo service emby-server status
[sudo] password for hapa:
● emby-server.service - Emby Server is a personal media server with apps on just about every device.
   Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Thu 2019-05-02 19:55:42 UTC; 4min 42s ago
  Process: 900 ExecStart=/opt/emby-server/bin/emby-server (code=exited, status=0/SUCCESS)
 Main PID: 900 (code=exited, status=0/SUCCESS)

May 02 19:55:42 KmCreations emby-server[900]:            at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
May 02 19:55:42 KmCreations emby-server[900]:            at System.Collections.Generic.List`1.AddEnumerable(IEnumerable`1 enumerable)
May 02 19:55:42 KmCreations emby-server[900]:            at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collec
May 02 19:55:42 KmCreations emby-server[900]:            at Emby.Server.Implementations.ScheduledTasks.TaskManager.AddTasks(IEnumerable`1 t
May 02 19:55:42 KmCreations emby-server[900]:            at Emby.Server.Implementations.ApplicationHost.RunStartupTasks()
May 02 19:55:42 KmCreations emby-server[900]:            at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
May 02 19:55:42 KmCreations emby-server[900]:         Source: System.Private.CoreLib
May 02 19:55:42 KmCreations emby-server[900]:         TargetSite: System.String NormalizeDatePattern(System.String)
May 02 19:55:42 KmCreations emby-server[900]:         
May 02 19:55:42 KmCreations emby-server[900]: Info Main: Shutdown complete


$ sudo /opt/emby-server/system/EmbyServer

Worked and I was able to see the welcome screen at http://MyHost:8096

 

$ sudo service emby-server start

$ sudo service emby-server status

Gives same message as above

 

So I'm now unable to start the service and the logs are still zero bytes

Kolomona
Posted

It appears that I do. I will look into the link you provided.

 

BTW, changing the local seemed to fix the NullReference error.

 

I am currently trying to track down errors that keep the service from staying running.

$ sudo apt list --installed |grep -i "icu"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libicu60/bionic,now 60.2-3ubuntu3 amd64 [installed]
libicu64/bionic,now 64.1-0.1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
Posted

I'll have to check with our package developer because i thought we had it embedded, in which case it won't matter what version you have installed. A couple people have reported this but we haven't been able to figure out the conditions in which it happens. Now that I've found that bug report, we might be able to look at rolling back or updating libicu.

Kolomona
Posted

I was also getting a "File not found" error for /opt/emby-server/system/ffmpeg when running...
 

sudo /opt/emby-server/system/EmbyServer

So I created a link to ffmpeg
sudo ln -s /usr/bin/ffmpeg /opt/emby-server/system/
and
sudo ln -s /usr/bin/ffprobe /opt/emby-server/system/



Now when I run...

sudo /opt/emby-server/system/EmbyServer

I get no errors on the console and the :8096/web/index.html?start=wizard#!/wizardstart.html page comes up just fine.

Server logs are still zero bytes though (permissions issue??)
 

 

When I try to start the service I get the following...
 

$ sudo service emby-server start
$ sudo service emby-server status
● emby-server.service - Emby Server is a personal media server with apps on just about every device.
   Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2019-05-03 03:02:02 UTC; 1s ago
 Main PID: 3851 (EmbyServer)
    Tasks: 10 (limit: 2361)
   CGroup: /system.slice/emby-server.service
           └─3851 /opt/emby-server/system/EmbyServer -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -res

May 03 03:02:03 KmCreations emby-server[3851]: Info AuthenticationRepository: Default journal_mode for /var/lib/emby/data/authentication.db is wal
May 03 03:02:03 KmCreations emby-server[3851]: Info AuthenticationRepository: PRAGMA synchronous=1
May 03 03:02:03 KmCreations emby-server[3851]: Info ActivityRepository: Default journal_mode for /var/lib/emby/data/activitylog.db is wal
May 03 03:02:03 KmCreations emby-server[3851]: Info ActivityRepository: PRAGMA synchronous=1
May 03 03:02:03 KmCreations emby-server[3851]: Info SqliteDisplayPreferencesRepository: Default journal_mode for /var/lib/emby/data/displaypreferences.db is wal
May 03 03:02:03 KmCreations emby-server[3851]: Info SqliteDisplayPreferencesRepository: PRAGMA synchronous=1
May 03 03:02:03 KmCreations emby-server[3851]: Info HttpServer: Adding HttpListener prefix http://+:8096/
May 03 03:02:03 KmCreations emby-server[3851]: Info HttpServer: Adding HttpListener prefix https://+:8920/
May 03 03:02:04 KmCreations emby-server[3851]: Info SqliteItemRepository: Default journal_mode for /var/lib/emby/data/library.db is wal
May 03 03:02:04 KmCreations emby-server[3851]: Info SqliteItemRepository: PRAGMA synchronous=1


12 seconds later...
 

$ sudo service emby-server status
● emby-server.service - Emby Server is a personal media server with apps on just about every device.
   Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Fri 2019-05-03 03:02:05 UTC; 13s ago
  Process: 3851 ExecStart=/opt/emby-server/bin/emby-server (code=exited, status=0/SUCCESS)
 Main PID: 3851 (code=exited, status=0/SUCCESS)

May 03 03:02:05 KmCreations emby-server[3851]:            at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
May 03 03:02:05 KmCreations emby-server[3851]:            at System.Collections.Generic.List`1.AddEnumerable(IEnumerable`1 enumerable)
May 03 03:02:05 KmCreations emby-server[3851]:            at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
May 03 03:02:05 KmCreations emby-server[3851]:            at Emby.Server.Implementations.ScheduledTasks.TaskManager.AddTasks(IEnumerable`1 tasks)
May 03 03:02:05 KmCreations emby-server[3851]:            at Emby.Server.Implementations.ApplicationHost.RunStartupTasks()
May 03 03:02:05 KmCreations emby-server[3851]:            at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
May 03 03:02:05 KmCreations emby-server[3851]:         Source: System.Private.CoreLib
May 03 03:02:05 KmCreations emby-server[3851]:         TargetSite: System.String NormalizeDatePattern(System.String)
May 03 03:02:05 KmCreations emby-server[3851]:         
May 03 03:02:05 KmCreations emby-server[3851]: Info Main: Shutdown complete
Posted

Yes that's just the same error as above.

Kolomona
Posted

I might be chasing at ghosts here but I tried to run the following in the terminal...

sudo /opt/emby-server/system/EmbyServer -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -res

Which I copied from the server status message above.

 

 

I've attached the results in a txt file.

 

There are a lot of errors like...

Error MediaEncoder: ProcessRun 'ffmpeg -hide_banner -version' Error Output:
    /opt/emby-server/bin/ffmpeg: error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory

Should I track down and install these libraries or am I just going down a rabbit hole?
 

 

 

embystartup.txt

Posted

So the ICU problem is gone now?

Kolomona
Posted

It appears so.

 

It went away when I changed the locale from C.UTF-8 (default from digitalocean) to en_US.UTF-8

Kolomona
Posted

I was wrong System.NullReferenceException is still there.

 

I just pulled this from...

$ sudo journalctl -u emby-server.service -b
May 03 02:46:46 KmCreations emby-server[3316]:         System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
May 03 02:46:46 KmCreations emby-server[3316]:            at System.Globalization.CalendarData.NormalizeDatePattern(String input)

I attached the full journal entry

 

 

 

 

 

journalEmby.txt

Kolomona
Posted

Any advice on how to get the server to run again?

Posted

Can you try the latest beta package? Thanks.

Kolomona
Posted

$ sudo apt remove emby-server
$ wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.0.4/emby-server-deb_4.2.0.4_amd64.deb
$ sudo dpkg -i emby-server-deb_4.2.0.4_amd64.deb

$ sudo service emby-server status
● emby-server.service - Emby Server is a personal media server with apps on just about every device.
   Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Wed 2019-05-08 00:45:31 UTC; 1min 53s ago
  Process: 2570 ExecStart=/opt/emby-server/bin/emby-server (code=exited, status=0/SUCCESS)
 Main PID: 2570 (code=exited, status=0/SUCCESS)

May 08 00:45:31 KmCreations emby-server[2570]:            at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Collections.Generic.List`1.AddEnumerable(IEnumerable`1 enumerable)
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
May 08 00:45:31 KmCreations emby-server[2570]:            at Emby.Server.Implementations.ScheduledTasks.TaskManager.AddTasks(IEnumerable`1 tasks)
May 08 00:45:31 KmCreations emby-server[2570]:            at Emby.Server.Implementations.ApplicationHost.RunStartupTasks()
May 08 00:45:31 KmCreations emby-server[2570]:            at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
May 08 00:45:31 KmCreations emby-server[2570]:         Source: System.Private.CoreLib
May 08 00:45:31 KmCreations emby-server[2570]:         TargetSite: System.String NormalizeDatePattern(System.String)
May 08 00:45:31 KmCreations emby-server[2570]:         
May 08 00:45:31 KmCreations emby-server[2570]: Info Main: Shutdown complete



$ sudo journalctl -b | grep emby
May 08 00:43:47 KmCreations sudo[2388]:     hapa : TTY=pts/0 ; PWD=/home/hapa/temp/emby ; USER=root ; COMMAND=/usr/bin/apt remove emby-server
May 08 00:45:21 KmCreations sudo[2489]:     hapa : TTY=pts/0 ; PWD=/home/hapa/temp/emby ; USER=root ; COMMAND=/usr/bin/dpkg -i emby-server-deb_4.2.0.4_amd64.deb
May 08 00:45:28 KmCreations passwd[2510]: password for 'emby' changed by 'root'
May 08 00:45:29 KmCreations emby-server[2570]: Info Main: Application path: /opt/emby-server/system/EmbyServer.dll
May 08 00:45:29 KmCreations emby-server[2570]: Info Main: Emby
May 08 00:45:29 KmCreations emby-server[2570]:         Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
May 08 00:45:29 KmCreations emby-server[2570]:         Operating system: Unix 4.15.0.48
May 08 00:45:29 KmCreations emby-server[2570]:         64-Bit OS: True
May 08 00:45:29 KmCreations emby-server[2570]:         64-Bit Process: True
May 08 00:45:29 KmCreations emby-server[2570]:         User Interactive: True
May 08 00:45:29 KmCreations emby-server[2570]:         Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
May 08 00:45:29 KmCreations emby-server[2570]:         Processor count: 1
May 08 00:45:29 KmCreations emby-server[2570]:         Program data path: /var/lib/emby
May 08 00:45:29 KmCreations emby-server[2570]:         Application directory: /opt/emby-server/system
May 08 00:45:29 KmCreations emby-server[2570]: Info App: Application version: 4.2.0.4
May 08 00:45:29 KmCreations emby-server[2570]: Info App: Loading assemblies
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/OpenSubtitles.dll has version 1.0.15.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/OpenSubtitles.dll has version 1.0.16.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/OMDb.dll has version 1.0.5.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/OMDb.dll has version 1.0.6.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/MusicBrainz.dll has version 1.0.5.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/MusicBrainz.dll has version 1.0.6.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/StudioImages.dll has version 1.0.0.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/StudioImages.dll has version 1.0.1.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/NfoMetadata.dll has version 1.0.11.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/NfoMetadata.dll has version 1.0.11.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/Fanart.dll has version 1.0.2.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/Fanart.dll has version 1.0.3.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/Tvdb.dll has version 1.0.7.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/Tvdb.dll has version 1.0.8.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/Emby.Dlna.dll has version 1.0.13.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/Emby.Dlna.dll has version 1.0.14.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/MovieDb.dll has version 1.0.8.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/MovieDb.dll has version 1.1.0.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/AudioDb.dll has version 1.0.4.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/AudioDb.dll has version 1.0.5.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/Emby.PortMapper.dll has version 1.0.1.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/Emby.PortMapper.dll has version 1.0.1.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /var/lib/emby/plugins/Emby.Server.CinemaMode.dll has version 1.0.14.0
May 08 00:45:29 KmCreations emby-server[2570]: Info App: File /opt/emby-server/system/plugins/Emby.Server.CinemaMode.dll has version 1.0.16.0
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading OpenSubtitles, Version=1.0.16.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/OpenSubtitles.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading OMDb, Version=1.0.6.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/OMDb.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading MusicBrainz, Version=1.0.6.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/MusicBrainz.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading StudioImages, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/StudioImages.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading NfoMetadata, Version=1.0.11.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/NfoMetadata.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Fanart, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Fanart.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Tvdb, Version=1.0.8.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Tvdb.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.Dlna, Version=1.0.14.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.Dlna.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading MovieDb, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/MovieDb.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading AudioDb, Version=1.0.5.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/AudioDb.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.PortMapper, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.PortMapper.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.Server.CinemaMode, Version=1.0.16.0, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Emby.Server.CinemaMode.dll
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading MediaBrowser.Api, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading MediaBrowser.WebDashboard, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading MediaBrowser.Model, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading MediaBrowser.Common, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading MediaBrowser.Controller, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading MediaBrowser.Providers, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.Photos, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.Server.Implementations, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.LiveTV, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.Server.MediaEncoding, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading MediaBrowser.LocalMetadata, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.Notifications, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.Codecs.Dxva, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.Codecs, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.Server.Connect, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading Emby.Server.Sync, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info App: Loading EmbyServer, Version=4.2.0.4, Culture=neutral, PublicKeyToken=null
May 08 00:45:30 KmCreations emby-server[2570]: Info SqliteUserRepository: Sqlite version: 3.28.0
May 08 00:45:30 KmCreations emby-server[2570]: Info SqliteUserRepository: Sqlite compiler options: COMPILER=gcc-6.3.0,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3_PARENTHESIS,ENABLE_FTS3_TOKENIZER,ENABLE_FTS4,ENABLE_FTS5,ENABLE_JSON1,ENABLE_PREUPDATE_HOOK,ENABLE_RTREE,ENABLE_SESSION,ENABLE_UNLOCK_NOTIFY,ENABLE_UPDATE_DELETE_LIMIT,LIKE_DOESNT_MATCH_BLOBS,MAX_SCHEMA_RETRY=25,MAX_VARIABLE_NUMBER=250000,OMIT_LOOKASIDE,SECURE_DELETE,THREADSAFE=1
May 08 00:45:30 KmCreations emby-server[2570]: Info SqliteUserRepository: Default journal_mode for /var/lib/emby/data/users.db is wal
May 08 00:45:30 KmCreations emby-server[2570]: Info SqliteUserRepository: PRAGMA synchronous=1
May 08 00:45:30 KmCreations emby-server[2570]: Info AuthenticationRepository: Default journal_mode for /var/lib/emby/data/authentication.db is wal
May 08 00:45:30 KmCreations emby-server[2570]: Info AuthenticationRepository: PRAGMA synchronous=1
May 08 00:45:30 KmCreations emby-server[2570]: Info ActivityRepository: Default journal_mode for /var/lib/emby/data/activitylog.db is wal
May 08 00:45:30 KmCreations emby-server[2570]: Info ActivityRepository: PRAGMA synchronous=1
May 08 00:45:30 KmCreations emby-server[2570]: Info SqliteDisplayPreferencesRepository: Default journal_mode for /var/lib/emby/data/displaypreferences.db is wal
May 08 00:45:30 KmCreations emby-server[2570]: Info SqliteDisplayPreferencesRepository: PRAGMA synchronous=1
May 08 00:45:30 KmCreations emby-server[2570]: Info HttpServer: Adding HttpListener prefix http://+:8096/
May 08 00:45:30 KmCreations emby-server[2570]: Info HttpServer: Adding HttpListener prefix https://+:8920/
May 08 00:45:30 KmCreations emby-server[2570]: Info SqliteItemRepository: Default journal_mode for /var/lib/emby/data/library.db is wal
May 08 00:45:30 KmCreations emby-server[2570]: Info SqliteItemRepository: PRAGMA synchronous=1
May 08 00:45:31 KmCreations emby-server[2570]: Info Skia: SkiaSharp version: 1.68.0.0
May 08 00:45:31 KmCreations emby-server[2570]: Error Main: Error in appHost.RunStartupTasks
May 08 00:45:31 KmCreations emby-server[2570]:         *** Error Report ***
May 08 00:45:31 KmCreations emby-server[2570]:         Version: 4.2.0.4
May 08 00:45:31 KmCreations emby-server[2570]:         Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
May 08 00:45:31 KmCreations emby-server[2570]:         Operating system: Unix 4.15.0.48
May 08 00:45:31 KmCreations emby-server[2570]:         64-Bit OS: True
May 08 00:45:31 KmCreations emby-server[2570]:         64-Bit Process: True
May 08 00:45:31 KmCreations emby-server[2570]:         User Interactive: True
May 08 00:45:31 KmCreations emby-server[2570]:         Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
May 08 00:45:31 KmCreations emby-server[2570]:         Processor count: 1
May 08 00:45:31 KmCreations emby-server[2570]:         Program data path: /var/lib/emby
May 08 00:45:31 KmCreations emby-server[2570]:         Application directory: /opt/emby-server/system
May 08 00:45:31 KmCreations emby-server[2570]:         System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Globalization.CalendarData.NormalizeDatePattern(String input)
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Globalization.CalendarData.LoadCalendarDataFromSystem(String localeName, CalendarId calendarId)
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Globalization.CalendarData..ctor(String localeName, CalendarId calendarId, Boolean bUseUserOverrides)
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Globalization.CultureData.GetCalendar(CalendarId calendarId)
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Globalization.CultureData.DateSeparator(CalendarId calendarId)
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Globalization.DateTimeFormatInfo.InitializeOverridableProperties(CultureData cultureData, CalendarId calendarId)
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Globalization.CultureInfo.get_DateTimeFormat()
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Globalization.DateTimeFormatInfo.get_CurrentInfo()
May 08 00:45:31 KmCreations emby-server[2570]:            at System.DateTimeFormat.Format(DateTime dateTime, String format, IFormatProvider provider, TimeSpan offset)
May 08 00:45:31 KmCreations emby-server[2570]:            at System.DateTimeFormat.Format(DateTime dateTime, String format, IFormatProvider provider)
May 08 00:45:31 KmCreations emby-server[2570]:            at Emby.Server.Implementations.ScheduledTasks.DailyTrigger.Start(TaskResult lastResult, ILogger logger, String taskName, Boolean isApplicationStartup)
May 08 00:45:31 KmCreations emby-server[2570]:            at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ReloadTriggerEvents(Boolean isApplicationStartup)
May 08 00:45:31 KmCreations emby-server[2570]:            at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.InitTriggerEvents()
May 08 00:45:31 KmCreations emby-server[2570]:            at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker..ctor(IScheduledTask scheduledTask, IApplicationPaths applicationPaths, ITaskManager taskManager, IJsonSerializer jsonSerializer, ILogger logger, IFileSystem fileSystem, ISystemEvents systemEvents, INetworkManager networkManager)
May 08 00:45:31 KmCreations emby-server[2570]:            at Emby.Server.Implementations.ScheduledTasks.TaskManager.<AddTasks>b__40_0(IScheduledTask t)
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Collections.Generic.List`1.AddEnumerable(IEnumerable`1 enumerable)
May 08 00:45:31 KmCreations emby-server[2570]:            at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
May 08 00:45:31 KmCreations emby-server[2570]:            at Emby.Server.Implementations.ScheduledTasks.TaskManager.AddTasks(IEnumerable`1 tasks)
May 08 00:45:31 KmCreations emby-server[2570]:            at Emby.Server.Implementations.ApplicationHost.RunStartupTasks()
May 08 00:45:31 KmCreations emby-server[2570]:            at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
May 08 00:45:31 KmCreations emby-server[2570]:         Source: System.Private.CoreLib
May 08 00:45:31 KmCreations emby-server[2570]:         TargetSite: System.String NormalizeDatePattern(System.String)
May 08 00:45:31 KmCreations emby-server[2570]:         
May 08 00:45:31 KmCreations emby-server[2570]: Info Main: Shutdown complete

 

 

Emby log still zero bytes

 

sudo reboot

sudo journalctl -b | grep emby

Outputs same as above

  • 2 weeks later...
Kolomona
Posted

I just tried with emby-server-deb_4.2.0.5_amd64.deb with same results as above :(

Posted

We're hoping an ICU update in the future will resolve this.

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...