Jump to content
tomtomgooo

Docker Update 3.5.2 to 4.0.1

Recommended Posts

tomtomgooo

Hi, I need your help with update on docker.

I run docker 3.5.2 and I try to update to 4.0.1 and I have this fail :

docker-user@Docker:~$ docker logs -f emby
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Info Main: Application path: /system/EmbyServer.dll
Info Main: Emby
        Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
        Operating system: Unix 4.4.0.62
        64-Bit OS: True
        64-Bit Process: True
        User Interactive: True
        Processor count: 4
        Program data path: /config
        Application directory: /system
Info App: Application version: 4.0.1.0
Info App: Loading assemblies
Info App: File /config/plugins/OMDb.dll has version 1.0.3.0
Info App: File /system/plugins/OMDb.dll has version 1.0.3.0
Info App: File /config/plugins/OpenSubtitles.dll has version 1.0.11.0
Info App: File /system/plugins/OpenSubtitles.dll has version 1.0.11.0
Info App: File /config/plugins/MovieDb.dll has version 1.0.6.0
Info App: File /system/plugins/MovieDb.dll has version 1.0.6.0
Info App: File /config/plugins/Fanart.dll has version 1.0.2.0
Info App: File /system/plugins/Fanart.dll has version 1.0.2.0
Info App: File /config/plugins/AudioDb.dll has version 1.0.4.0
Info App: File /system/plugins/AudioDb.dll has version 1.0.4.0
Info App: File /config/plugins/StudioImages.dll has version 1.0.0.0
Info App: File /system/plugins/StudioImages.dll has version 1.0.0.0
Info App: File /config/plugins/NfoMetadata.dll has version 1.0.10.0
Info App: File /system/plugins/NfoMetadata.dll has version 1.0.10.0
Info App: File /config/plugins/Emby.Server.CinemaMode.dll has version 1.0.10.0
Info App: File /system/plugins/Emby.Server.CinemaMode.dll has version 1.0.10.0
Info App: File /config/plugins/Tvdb.dll has version 1.0.1.0
Info App: File /system/plugins/Tvdb.dll has version 1.0.1.0
Info App: File /config/plugins/MusicBrainz.dll has version 1.0.1.0
Info App: File /system/plugins/MusicBrainz.dll has version 1.0.1.0
Info App: Loading IMVDb, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null from /config/plugins/IMVDb.dll
Info App: Loading OMDb, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /config/plugins/OMDb.dll
Info App: Loading OpenSubtitles, Version=1.0.11.0, Culture=neutral, PublicKeyToken=null from /config/plugins/OpenSubtitles.dll
Info App: Loading MovieDb, Version=1.0.6.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MovieDb.dll
Info App: Loading Fanart, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Fanart.dll
Info App: Loading statistics, Version=2.0.5.1, Culture=neutral, PublicKeyToken=null from /config/plugins/Statistics.dll
Info App: Loading Trakt, Version=3.2.1.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Trakt.dll
Info App: Loading AudioDb, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null from /config/plugins/AudioDb.dll
Info App: Loading StudioImages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/StudioImages.dll
Info App: Loading NfoMetadata, Version=1.0.10.0, Culture=neutral, PublicKeyToken=null from /config/plugins/NfoMetadata.dll
Info App: Loading Emby.Kodi.SyncQueue, Version=2.0.3.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Kodi.SyncQueue.dll
Info App: Loading Emby.Server.CinemaMode, Version=1.0.10.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Server.CinemaMode.dll
Info App: Loading Tvdb, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Tvdb.dll
Info App: Loading MusicBrainz, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MusicBrainz.dll
Info App: Loading playback_reporting, Version=1.1.3.0, Culture=neutral, PublicKeyToken=null from /config/plugins/playback_reporting.dll
Info App: Loading MediaBrowser.Api, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading MediaBrowser.WebDashboard, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading MediaBrowser.Model, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading MediaBrowser.Common, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading MediaBrowser.Controller, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading MediaBrowser.Providers, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading Emby.Photos, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading Emby.Server.Implementations, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading Emby.LiveTV, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Info App: Loading Emby.Server.MediaEncoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading Emby.Dlna, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading MediaBrowser.LocalMetadata, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading Emby.Notifications, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading Emby.Codecs.Dxva, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Info App: Loading Emby.Codecs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Info App: Loading Emby.Server.Connect, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading Emby.Server.Sync, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info App: Loading EmbyServer, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null
Info SqliteUserRepository: Sqlite version: 3.26.0
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
Info SqliteUserRepository: Default journal_mode for /config/data/users.db is wal
Info SqliteUserRepository: PRAGMA synchronous=1
Info AuthenticationRepository: Default journal_mode for /config/data/authentication.db is wal
Info AuthenticationRepository: PRAGMA synchronous=1
Info ActivityRepository: Default journal_mode for /config/data/activitylog.db is wal
Info ActivityRepository: PRAGMA synchronous=1
Info SqliteDisplayPreferencesRepository: Default journal_mode for /config/data/displaypreferences.db is wal
Info SqliteDisplayPreferencesRepository: PRAGMA synchronous=1
Info HttpServer: Adding HttpListener prefix http://+:8096/
Info HttpServer: Adding HttpListener prefix https://+:8920/
Debug XmlSerializer: Deserializing file /config/config/users/52153e24aeb64666aa70581bdfe942be/policy.xml
Info SqliteItemRepository: Default journal_mode for /config/data/library.db is wal
Info SqliteItemRepository: PRAGMA synchronous=1
Info HttpServer: WS http://192.168.1.97:8096/?api_key=de12f89b864f467181c4dcf69c78b66e. UserAgent:
Info HttpServer: WS http://192.168.1.97:8096/?api_key=de12f89b864f467181c4dcf69c78b66e&deviceId=C3F1577768F74589A37406BF0F9E6837. UserAgent:
Error HttpServer: AcceptWebSocketAsync error
        *** Error Report ***
        Version: 4.0.1.0
        Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
        Operating system: Unix 4.4.0.62
        64-Bit OS: True
        64-Bit Process: True
        User Interactive: True
        Processor count: 4
        Program data path: /config
        Application directory: /system
        System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
           at EmbyServer.SocketSharp.WebSocketSharpListener.ProcessWebSocketRequest(HttpListenerContext ctx)
        Source: EmbyServer
        TargetSite: Void MoveNext()
           at EmbyServer.SocketSharp.WebSocketSharpListener.ProcessWebSocketRequest(HttpListenerContext ctx)

Can you help me?

Thanks thomas

Share this post


Link to post
Share on other sites
EODCrafter

Do you have all your data saved locally or is it in the Docker Container? 

Share this post


Link to post
Share on other sites
EODCrafter
Docker ps -a

Docker stop 1234

Docker rm 1234

Docker pull emby/latest

Then your Docker run command with -v mounting your settings....

 

This sequence should work...Haven't used docker in awhile.....

Edited by EODCrafter

Share this post


Link to post
Share on other sites
tomtomgooo

I have a volume persistent for /config yes.

I used my own image (due to mono bug on ubuntu) so I pulled the new one from docker hub

Edited by tomtomgooo

Share this post


Link to post
Share on other sites
Luke

Are you experiencing a problem, or are you just asking about the error in the log file?

Share this post


Link to post
Share on other sites
tomtomgooo

Yes this my problem during update and I don't understand why the socket can't connect. I have tried 3 times update and everytime the same fail.

That's why I'am here, I don't know the way I need to search.

Share this post


Link to post
Share on other sites
Luke

@@tomtomgooo, what exact problem are you having?

Share this post


Link to post
Share on other sites
tomtomgooo

The problem is that I have changed my Docker image to upgrade 3.5.2 to 4.0.1 and I have this new fail on startup. (See Log). I have tried without config volume and it start correctly.

I dont understand why old config make serveur fail.

Share this post


Link to post
Share on other sites
Luke

The log looks OK to me. I think it is upgrading the database from 3.5 to 4 and that can take a little while.

Share this post


Link to post
Share on other sites
tomtomgooo

the problem is that after 8 fails (error HttpServer) it stop my container.

Error HttpServer: AcceptWebSocketAsync error
        *** Error Report ***
        Version: 4.0.1.0
        Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
        Operating system: Unix 4.4.0.62
        64-Bit OS: True
        64-Bit Process: True
        User Interactive: True
        Processor count: 4
        Program data path: /config
        Application directory: /system
        System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
           at EmbyServer.SocketSharp.WebSocketSharpListener.ProcessWebSocketRequest(HttpListenerContext ctx)
        Source: EmbyServer
        TargetSite: Void MoveNext()
           at EmbyServer.SocketSharp.WebSocketSharpListener.ProcessWebSocketRequest(HttpListenerContext ctx)

s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Share this post


Link to post
Share on other sites
Luke

Can you please locate the emby server log and attach it here? thanks.

Share this post


Link to post
Share on other sites
tomtomgooo

I have found serverlogs.txt and it is exactly the same logs that I have send in my first post. It doesn't help more sorry.

Edited by tomtomgooo

Share this post


Link to post
Share on other sites
Luke

@@tomtomgooo can you please attach the server logs anyway? thanks.

Share this post


Link to post
Share on other sites

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