Jump to content

Upgrade requires deletion of ~/.config/emby-server


2hansen

Recommended Posts

2hansen

During the latest server upgrades I haven't been able to start the new version of the server correctly without deleting (or re-naming) the ~/.config/emby-server folder - which then removes all my custom settings.

 

If I do not do that the server starts, but without it actually working. I cannot playback from clients, the dashboard shows an "Could not resolve <hostname>..."-error.

 

My upgrade process is like this:

 

A) Stop server

B) Delete MediaBrowser.Server.Mac from Applications 

C) Run new installer

D) Start MediaBrowser.Server.Mac

 

Maybe I am doing something wrong?

 

 

Link to comment
Share on other sites

pdxsurreal

I've had the same issue as 2hansen. Even deleting the Emby .config folder was only a temporary fix, though. It always seems to hang during the first media scan. I've tried the most recent Mac installer package, but no joy. I'm not sure exactly what I'm doing wrong--everything was working great until the latest update. I wish I had saved the installer for the older version.

Link to comment
Share on other sites

CubexDE

I am having this same issue. The newest version worked fine for a while, then at one point the scan would stop at the same percentage and never move but the server was otherwise responsive. At one point it stayed at 21.7% for over 8 hours before I manually ended it even though I am using the time limit option and have it set to 1 hour. Eventually I shut down the server and restarted it only to have it now be completely unresponsive. All attempts to open it in a browser fail and using the taskbar icon to access it just makes it crash instantly. I've restarted my computer, reinstalled several times, etc. to no avail.

 

Deleting all my settings is not an option.

Link to comment
Share on other sites

I am having this same issue. The newest version worked fine for a while, then at one point the scan would stop at the same percentage and never move but the server was otherwise responsive. At one point it stayed at 21.7% for over 8 hours before I manually ended it even though I am using the time limit option and have it set to 1 hour. Eventually I shut down the server and restarted it only to have it now be completely unresponsive. All attempts to open it in a browser fail and using the taskbar icon to access it just makes it crash instantly. I've restarted my computer, reinstalled several times, etc. to no avail.

 

Deleting all my settings is not an option.

 

Did you see this?

 

http://emby.media/community/index.php?/topic/20653-upgrade-requires-deletion-of-configemby-server/?p=201464

Link to comment
Share on other sites

CubexDE

I installed the new version and did the XXX.local hack and my server is still totally unresponsive and inaccessible. I would love to post log files but I can't figure out where they are.

Link to comment
Share on other sites

geno27

I installed the new version and did the XXX.local hack and my server is still totally unresponsive and inaccessible. I would love to post log files but I can't figure out where they are.

Can you access the logs through the dashboard's help tab? Otherwise go to Finder and make sure hidden folders are visible (google how to do it). Then go to your HD----[username]----.config-----mediabrowser-server-----logs. At least I believe that's where I went previously.

Link to comment
Share on other sites

or if he can get to the server dashboard, the log path is displayed in the Paths section right on the main page.

Link to comment
Share on other sites

CubexDE

I can't access the dashboard no-way-no-how, but I was able to find the "logs" folder. I am staring at a long list of text files. Which one(s) are useful to post? Should I only be posting part of them?

Link to comment
Share on other sites

CubexDE

unhandled_bff9a786-4d39-484a-81fa-f336876daf9a.txt 

Type definitions should start with a '{', expecting serialized type 'User', got string starting with: "{\"UsesIdForConfigurationPath\":true,\"Password\"
System.Runtime.Serialization.SerializationException
  at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType (ServiceStack.Text.TypeConfig typeConfig, System.String strType, ServiceStack.EmptyCtorDelegate ctorFn, System.Collections.Generic.Dictionary`2 typeAccessorMap) [0x00000] in <filename unknown>:0 
  at ServiceStack.Text.Common.DeserializeType`1+<>c__DisplayClass3[ServiceStack.Text.Json.JsonTypeSerializer].<GetParseMethod>b__1 (System.String value) [0x00000] in <filename unknown>:0 
  at ServiceStack.Text.Json.JsonReader`1[MediaBrowser.Controller.Entities.User].Parse (System.String value) [0x00000] in <filename unknown>:0 
  at ServiceStack.Text.JsonSerializer.DeserializeFromString[User] (System.String value) [0x00000] in <filename unknown>:0 
  at ServiceStack.Text.JsonSerializer.DeserializeFromStream[User] (System.IO.Stream stream) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Common.Implementations.Serialization.JsonSerializer.DeserializeFromStream[User] (System.IO.Stream stream) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Implementations.Persistence.SqliteUserRepository+<RetrieveAllUsers>c__Iterator2.MoveNext () [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[MediaBrowser.Controller.Entities.User].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[MediaBrowser.Controller.Entities.User]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToList[User] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Implementations.Library.UserManager+<LoadUsers>c__async3.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Collections.Generic.IEnumerable`1[MediaBrowser.Controller.Entities.User]].GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Implementations.Library.UserManager+<Initialize>c__async0.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterResources>c__async2.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Startup.Common.ApplicationHost+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Mac.MainClass+<StartServer>c__async0.MoveNext () [0x00000] in <filename unknown>:0 

server-63565895525.txt

2015-04-29 09:12:05.7051 Info - Main: Emby
	Command line: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MacOS/MediaBrowser.Server.Mac
	Operating system: Unix 14.3.0.0
	Processor count: 2
	64-Bit OS: False
	64-Bit Process: False
	Program data path: /Users/benjaminanderson/.config/mediabrowser-server
	Mono: 3.12.1 ((detached/0849ec7)
	Application Path: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MonoBundle/MediaBrowser.Server.Mac.exe
2015-04-29 09:12:07.4541 Info - App: Application version: 3.0.5588.1
2015-04-29 09:12:07.9861 Info - App: Application configuration:
	{"EnableUPnP":true,"PublicPort":8096,"PublicHttpsPort":8098,"HttpServerPortNumber":8096,"HttpsPortNumber":8098,"EnableHttps":false,"EnableUserSpecificUserViews":false,"CertificatePath":"","EnableInternetProviders":true,"IsPortAuthorized":true,"ItemsByNamePath":"","MetadataPath":"","SeasonZeroDisplayName":"Specials","SaveLocalMeta":true,"EnableLocalizedGuids":true,"EnableLibraryMetadataSubFolder":false,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":95,"MinResumeDurationSeconds":300,"RealtimeMonitorDelay":30,"EnableDashboardResponseCaching":true,"EnableDashboardResourceMinification":true,"DashboardSourcePath":"","MergeMetadataAndImagesByName":false,"EnableStandaloneMetadata":false,"ImageSavingConvention":"Compatible","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Movie","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["The Open Movie Database","TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","FanArt","The Open Movie Database","Screen Grabber"]},{"ItemType":"Series","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheTVDB","TheMovieDb","The Open Movie Database"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","FanArt","TheMovieDb"]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","FanArt"]},{"ItemType":"Episode","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheTVDB"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","TheMovieDb","Screen Grabber"]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"BoxSet","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","FanArt"]}],"EnableAutomaticRestart":true,"EnableRealtimeMonitor":false,"PathSubstitutions":[],"ServerName":"","WanDdns":"","UICulture":"en-us","PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":false,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":true},"FindInternetTrailers":true,"InsecureApps9":["Chromecast","iOS","Unknown app","MediaPortal","Media Portal","iPad","iPhone","Windows Phone"],"SaveMetadataHidden":false,"ContentTypes":[],"EnableAudioArchiveFiles":false,"EnableVideoArchiveFiles":false,"RemoteClientBitrateLimit":0,"EnableDebugLevelLogging":true,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"CachePath":""}
2015-04-29 09:12:08.0677 Info - App: Loading GoogleDrive, Version=3.0.5582.40813, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading ServerRestart, Version=1.0.1.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Api, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.WebDashboard, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Model, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Common, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Controller, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Providers, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Common.Implementations, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Server.Implementations, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.MediaEncoding, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.Dlna, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.LocalMetadata, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.XbmcMetadata, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.Server.Mac, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.Server.Startup.Common, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:09.0133 Info - SqliteUserRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/users.db
2015-04-29 09:12:09.2944 Info - SqliteItemRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/chapters.db
2015-04-29 09:12:09.3436 Info - SqliteItemRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/mediainfo.db
2015-04-29 09:12:09.4285 Info - SqliteFileOrganizationRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/fileorganization.db
2015-04-29 09:12:09.4900 Info - AuthenticationRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/authentication.db
2015-04-29 09:12:09.5310 Info - SyncRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/sync14.db
2015-04-29 09:12:10.0492 Error - App: Error loading ImageMagick. Will revert to GDI.
	*** Error Report ***
	Version: 3.0.5588.1
	Command line: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MacOS/MediaBrowser.Server.Mac
	Operating system: Unix 14.3.0.0
	Processor count: 2
	64-Bit OS: False
	64-Bit Process: False
	Program data path: /Users/benjaminanderson/.config/mediabrowser-server
	Mono: 3.12.1 ((detached/0849ec7)
	Application Path: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MonoBundle/MediaBrowser.Server.Mac.exe
	libMagickWand-6.Q8.dylib
	System.DllNotFoundException
	  at (wrapper managed-to-native) ImageMagickSharp.WandInterop:MagickWandGenesis ()
	  at ImageMagickSharp.Wand.InitializeEnvironment () [0x00000] in <filename unknown>:0 
	  at ImageMagickSharp.Wand..ctor () [0x00000] in <filename unknown>:0 
	  at ImageMagickSharp.Wand.<.cctor>b__5 () [0x00000] in <filename unknown>:0 
	  at System.Lazy`1[ImageMagickSharp.Wand].InitValue () [0x00000] in <filename unknown>:0 
	
2015-04-29 09:12:11.3988 Info - App: FFMpeg: /Users/benjaminanderson/.config/mediabrowser-server/ffmpeg/20150110/ffmpeg
2015-04-29 09:12:11.3988 Info - App: FFProbe: /Users/benjaminanderson/.config/mediabrowser-server/ffmpeg/20150110/ffprobe
2015-04-29 09:12:11.6180 Info - ActivityRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/activitylog.db
2015-04-29 09:12:11.7911 Info - SqliteDisplayPreferencesRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/displaypreferences.db
2015-04-29 09:12:11.8155 Info - SqliteItemRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/library.db
2015-04-29 09:12:11.8408 Info - SqliteProviderInfoRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/refreshinfo.db
2015-04-29 09:12:11.8814 Info - SqliteUserDataRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/userdata_v2.db
2015-04-29 09:12:11.9037 Info - SqliteNotificationsRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/notifications.db
2015-04-29 09:12:12.0935 Error - Main: UnhandledException
	*** Error Report ***
	Version: 3.0.5588.1
	Command line: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MacOS/MediaBrowser.Server.Mac
	Operating system: Unix 14.3.0.0
	Processor count: 2
	64-Bit OS: False
	64-Bit Process: False
	Program data path: /Users/benjaminanderson/.config/mediabrowser-server
	Mono: 3.12.1 ((detached/0849ec7)
	Application Path: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MonoBundle/MediaBrowser.Server.Mac.exe
	Type definitions should start with a '{', expecting serialized type 'User', got string starting with: "{\"UsesIdForConfigurationPath\":true,\"Password\"
	System.Runtime.Serialization.SerializationException
	  at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType (ServiceStack.Text.TypeConfig typeConfig, System.String strType, ServiceStack.EmptyCtorDelegate ctorFn, System.Collections.Generic.Dictionary`2 typeAccessorMap) [0x00000] in <filename unknown>:0 
	  at ServiceStack.Text.Common.DeserializeType`1+<>c__DisplayClass3[ServiceStack.Text.Json.JsonTypeSerializer].<GetParseMethod>b__1 (System.String value) [0x00000] in <filename unknown>:0 
	  at ServiceStack.Text.Json.JsonReader`1[MediaBrowser.Controller.Entities.User].Parse (System.String value) [0x00000] in <filename unknown>:0 
	  at ServiceStack.Text.JsonSerializer.DeserializeFromString[User] (System.String value) [0x00000] in <filename unknown>:0 
	  at ServiceStack.Text.JsonSerializer.DeserializeFromStream[User] (System.IO.Stream stream) [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Common.Implementations.Serialization.JsonSerializer.DeserializeFromStream[User] (System.IO.Stream stream) [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Implementations.Persistence.SqliteUserRepository+<RetrieveAllUsers>c__Iterator2.MoveNext () [0x00000] in <filename unknown>:0 
	  at System.Collections.Generic.List`1[MediaBrowser.Controller.Entities.User].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
	  at System.Collections.Generic.List`1[MediaBrowser.Controller.Entities.User]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
	  at System.Linq.Enumerable.ToList[User] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Implementations.Library.UserManager+<LoadUsers>c__async3.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Collections.Generic.IEnumerable`1[MediaBrowser.Controller.Entities.User]].GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Implementations.Library.UserManager+<Initialize>c__async0.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterResources>c__async2.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Startup.Common.ApplicationHost+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Mac.MainClass+<StartServer>c__async0.MoveNext () [0x00000] in <filename unknown>:0 
	

Those are the two most recent, both from my most recent attempt to run the server (both created on April 29th at 9:12 AM).

Link to comment
Share on other sites

unhandled_bff9a786-4d39-484a-81fa-f336876daf9a.txt 

Type definitions should start with a '{', expecting serialized type 'User', got string starting with: "{\"UsesIdForConfigurationPath\":true,\"Password\"
System.Runtime.Serialization.SerializationException
  at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType (ServiceStack.Text.TypeConfig typeConfig, System.String strType, ServiceStack.EmptyCtorDelegate ctorFn, System.Collections.Generic.Dictionary`2 typeAccessorMap) [0x00000] in <filename unknown>:0 
  at ServiceStack.Text.Common.DeserializeType`1+<>c__DisplayClass3[ServiceStack.Text.Json.JsonTypeSerializer].<GetParseMethod>b__1 (System.String value) [0x00000] in <filename unknown>:0 
  at ServiceStack.Text.Json.JsonReader`1[MediaBrowser.Controller.Entities.User].Parse (System.String value) [0x00000] in <filename unknown>:0 
  at ServiceStack.Text.JsonSerializer.DeserializeFromString[User] (System.String value) [0x00000] in <filename unknown>:0 
  at ServiceStack.Text.JsonSerializer.DeserializeFromStream[User] (System.IO.Stream stream) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Common.Implementations.Serialization.JsonSerializer.DeserializeFromStream[User] (System.IO.Stream stream) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Implementations.Persistence.SqliteUserRepository+<RetrieveAllUsers>c__Iterator2.MoveNext () [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[MediaBrowser.Controller.Entities.User].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[MediaBrowser.Controller.Entities.User]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToList[User] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Implementations.Library.UserManager+<LoadUsers>c__async3.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Collections.Generic.IEnumerable`1[MediaBrowser.Controller.Entities.User]].GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Implementations.Library.UserManager+<Initialize>c__async0.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterResources>c__async2.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Startup.Common.ApplicationHost+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Server.Mac.MainClass+<StartServer>c__async0.MoveNext () [0x00000] in <filename unknown>:0 

server-63565895525.txt

2015-04-29 09:12:05.7051 Info - Main: Emby
	Command line: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MacOS/MediaBrowser.Server.Mac
	Operating system: Unix 14.3.0.0
	Processor count: 2
	64-Bit OS: False
	64-Bit Process: False
	Program data path: /Users/benjaminanderson/.config/mediabrowser-server
	Mono: 3.12.1 ((detached/0849ec7)
	Application Path: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MonoBundle/MediaBrowser.Server.Mac.exe
2015-04-29 09:12:07.4541 Info - App: Application version: 3.0.5588.1
2015-04-29 09:12:07.9861 Info - App: Application configuration:
	{"EnableUPnP":true,"PublicPort":8096,"PublicHttpsPort":8098,"HttpServerPortNumber":8096,"HttpsPortNumber":8098,"EnableHttps":false,"EnableUserSpecificUserViews":false,"CertificatePath":"","EnableInternetProviders":true,"IsPortAuthorized":true,"ItemsByNamePath":"","MetadataPath":"","SeasonZeroDisplayName":"Specials","SaveLocalMeta":true,"EnableLocalizedGuids":true,"EnableLibraryMetadataSubFolder":false,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":95,"MinResumeDurationSeconds":300,"RealtimeMonitorDelay":30,"EnableDashboardResponseCaching":true,"EnableDashboardResourceMinification":true,"DashboardSourcePath":"","MergeMetadataAndImagesByName":false,"EnableStandaloneMetadata":false,"ImageSavingConvention":"Compatible","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Movie","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["The Open Movie Database","TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","FanArt","The Open Movie Database","Screen Grabber"]},{"ItemType":"Series","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheTVDB","TheMovieDb","The Open Movie Database"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","FanArt","TheMovieDb"]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","FanArt"]},{"ItemType":"Episode","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Nfo"],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheTVDB"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","TheMovieDb","Screen Grabber"]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"BoxSet","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","FanArt"]}],"EnableAutomaticRestart":true,"EnableRealtimeMonitor":false,"PathSubstitutions":[],"ServerName":"","WanDdns":"","UICulture":"en-us","PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":false,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":true},"FindInternetTrailers":true,"InsecureApps9":["Chromecast","iOS","Unknown app","MediaPortal","Media Portal","iPad","iPhone","Windows Phone"],"SaveMetadataHidden":false,"ContentTypes":[],"EnableAudioArchiveFiles":false,"EnableVideoArchiveFiles":false,"RemoteClientBitrateLimit":0,"EnableDebugLevelLogging":true,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"CachePath":""}
2015-04-29 09:12:08.0677 Info - App: Loading GoogleDrive, Version=3.0.5582.40813, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading ServerRestart, Version=1.0.1.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Api, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.WebDashboard, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Model, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Common, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Controller, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Providers, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Common.Implementations, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0677 Info - App: Loading MediaBrowser.Server.Implementations, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.MediaEncoding, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.Dlna, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.LocalMetadata, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.XbmcMetadata, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.Server.Mac, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:08.0685 Info - App: Loading MediaBrowser.Server.Startup.Common, Version=3.0.5588.1, Culture=neutral, PublicKeyToken=null
2015-04-29 09:12:09.0133 Info - SqliteUserRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/users.db
2015-04-29 09:12:09.2944 Info - SqliteItemRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/chapters.db
2015-04-29 09:12:09.3436 Info - SqliteItemRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/mediainfo.db
2015-04-29 09:12:09.4285 Info - SqliteFileOrganizationRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/fileorganization.db
2015-04-29 09:12:09.4900 Info - AuthenticationRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/authentication.db
2015-04-29 09:12:09.5310 Info - SyncRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/sync14.db
2015-04-29 09:12:10.0492 Error - App: Error loading ImageMagick. Will revert to GDI.
	*** Error Report ***
	Version: 3.0.5588.1
	Command line: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MacOS/MediaBrowser.Server.Mac
	Operating system: Unix 14.3.0.0
	Processor count: 2
	64-Bit OS: False
	64-Bit Process: False
	Program data path: /Users/benjaminanderson/.config/mediabrowser-server
	Mono: 3.12.1 ((detached/0849ec7)
	Application Path: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MonoBundle/MediaBrowser.Server.Mac.exe
	libMagickWand-6.Q8.dylib
	System.DllNotFoundException
	  at (wrapper managed-to-native) ImageMagickSharp.WandInterop:MagickWandGenesis ()
	  at ImageMagickSharp.Wand.InitializeEnvironment () [0x00000] in <filename unknown>:0 
	  at ImageMagickSharp.Wand..ctor () [0x00000] in <filename unknown>:0 
	  at ImageMagickSharp.Wand.<.cctor>b__5 () [0x00000] in <filename unknown>:0 
	  at System.Lazy`1[ImageMagickSharp.Wand].InitValue () [0x00000] in <filename unknown>:0 
	
2015-04-29 09:12:11.3988 Info - App: FFMpeg: /Users/benjaminanderson/.config/mediabrowser-server/ffmpeg/20150110/ffmpeg
2015-04-29 09:12:11.3988 Info - App: FFProbe: /Users/benjaminanderson/.config/mediabrowser-server/ffmpeg/20150110/ffprobe
2015-04-29 09:12:11.6180 Info - ActivityRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/activitylog.db
2015-04-29 09:12:11.7911 Info - SqliteDisplayPreferencesRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/displaypreferences.db
2015-04-29 09:12:11.8155 Info - SqliteItemRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/library.db
2015-04-29 09:12:11.8408 Info - SqliteProviderInfoRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/refreshinfo.db
2015-04-29 09:12:11.8814 Info - SqliteUserDataRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/userdata_v2.db
2015-04-29 09:12:11.9037 Info - SqliteNotificationsRepository: Sqlite 3.8.2 opening /Users/benjaminanderson/.config/mediabrowser-server/data/notifications.db
2015-04-29 09:12:12.0935 Error - Main: UnhandledException
	*** Error Report ***
	Version: 3.0.5588.1
	Command line: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MacOS/MediaBrowser.Server.Mac
	Operating system: Unix 14.3.0.0
	Processor count: 2
	64-Bit OS: False
	64-Bit Process: False
	Program data path: /Users/benjaminanderson/.config/mediabrowser-server
	Mono: 3.12.1 ((detached/0849ec7)
	Application Path: /Applications/MediaBrowser.Server.Mac.localized/MediaBrowser.Server.Mac.app/Contents/MonoBundle/MediaBrowser.Server.Mac.exe
	Type definitions should start with a '{', expecting serialized type 'User', got string starting with: "{\"UsesIdForConfigurationPath\":true,\"Password\"
	System.Runtime.Serialization.SerializationException
	  at ServiceStack.Text.Common.DeserializeTypeRefJson.StringToType (ServiceStack.Text.TypeConfig typeConfig, System.String strType, ServiceStack.EmptyCtorDelegate ctorFn, System.Collections.Generic.Dictionary`2 typeAccessorMap) [0x00000] in <filename unknown>:0 
	  at ServiceStack.Text.Common.DeserializeType`1+<>c__DisplayClass3[ServiceStack.Text.Json.JsonTypeSerializer].<GetParseMethod>b__1 (System.String value) [0x00000] in <filename unknown>:0 
	  at ServiceStack.Text.Json.JsonReader`1[MediaBrowser.Controller.Entities.User].Parse (System.String value) [0x00000] in <filename unknown>:0 
	  at ServiceStack.Text.JsonSerializer.DeserializeFromString[User] (System.String value) [0x00000] in <filename unknown>:0 
	  at ServiceStack.Text.JsonSerializer.DeserializeFromStream[User] (System.IO.Stream stream) [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Common.Implementations.Serialization.JsonSerializer.DeserializeFromStream[User] (System.IO.Stream stream) [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Implementations.Persistence.SqliteUserRepository+<RetrieveAllUsers>c__Iterator2.MoveNext () [0x00000] in <filename unknown>:0 
	  at System.Collections.Generic.List`1[MediaBrowser.Controller.Entities.User].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
	  at System.Collections.Generic.List`1[MediaBrowser.Controller.Entities.User]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
	  at System.Linq.Enumerable.ToList[User] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Implementations.Library.UserManager+<LoadUsers>c__async3.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Collections.Generic.IEnumerable`1[MediaBrowser.Controller.Entities.User]].GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Implementations.Library.UserManager+<Initialize>c__async0.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterResources>c__async2.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Startup.Common.ApplicationHost+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
	  at MediaBrowser.Server.Mac.MainClass+<StartServer>c__async0.MoveNext () [0x00000] in <filename unknown>:0 
	

Those are the two most recent, both from my most recent attempt to run the server (both created on April 29th at 9:12 AM).

 

Ok, somehow it appears your users.db database has been corrupted. please shutdown the server and delete the file data/users.db (accessed from the top of the program data folder).

 

It's difficult to say how this happened, most likely one of your crashes occurred in the middle of writing a db entry. I will add safeguards to the database to prevent this in the future. But for now you'll have to recreate your users.

Link to comment
Share on other sites

CubexDE

Did this, somehow my main user account remained intact and so all my view tracking is still good. How I don't know. I did have to recreate the other accounts but their view tracking wasn't important so this didn't bother me. Thanks for the fix.

 

P.S. Would it help if I posted the contents of the users.db file? I saved a backup of the corrupted copy.

Link to comment
Share on other sites

sure, if you want i'll take a look. i worked on this today, adding some synchronization to force it to shutdown more cleanly. 

Link to comment
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...