Jump to content

Emby Server auf meiner Synology gecrasht?


koelner21

Recommended Posts

koelner21

Hallo,

ich habe das Problem, dass mein Emby Server nicht mehr starten will. Klicke ich auf ausführen kommt kurz die Info, dass er läuft und dann geht er selbstständig wieder aus. 

Ich hatte den Server geupdatet und danach wollte ich den externen Zugang neu einrichten, da ich durch die Audio Station den extern en Zugang über den Port 8443 anderweitig verwendet hatte. Es lief alles vorher und auch als ich den Pc ausgemacht habe war noch alles ok. Als ich den Pc ausgemacht habe wurde noch die Bibliothek gescannt und zwei Tage später geht er einfach nicht mehr. 

Ich habe den Server schon deinstalliert und eine ältere Version installiert, aber leider mit identischem Ergebnis. 

Ich habe ich die Logs auch schon angeschaut, aber kann nichts finden, aber suche bestimmt an der falschen Stelle, da es ja auch keine Datei "Error" gibt.

Link to comment
Share on other sites

koelner21

2023-08-06 21:41:24.320 Error Main: Error in appHost.Init
    *** Error Report ***
    Version: 4.8.0.2
    Command line: /volume4/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume2/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /volume2/Emby/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology_{version}_x86_64.spk
    Operating system: Linux version 4.4.59+ (root@build7) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP PREEMPT Tue Mar 21 22:25:33 CST 2023
    Framework: .NET 6.0.2
    OS/Process: x64/x64
    Runtime: volume4/@appstore/EmbyServer/system/System.Private.CoreLib.dll
    Processor count: 2
    Data path: /volume2/Emby
    Application path: /volume4/@appstore/EmbyServer/system
    SQLitePCL.pretty.SQLiteException: Error: no such column: IsFolder - create index if not exists idx_MediaItems4 on MediaItems(Guid,Type,IsFolder,IsVirtualItem);create index if not exists idx_MediaItems45 on MediaItems(TopParentId,Guid) where TopParentId not null;create index if not exists idx_MediaItems36 on MediaItems(SeriesPresentationUniqueKey,Type,IsFolder,IsVirtualItem) where SeriesPresentationUniqueKey not null;create index if not exists idx_MediaItems10 on MediaItems(Type,TopParentId,Id);create index if not exists idx_MediaItems11 on MediaItems(Type,TopParentId,PresentationUniqueKey);create index if not exists idx_MediaItems46 on MediaItems(TopParentId,IsVirtualItem) where TopParentId not null;create index if not exists idx_MediaItems47 on MediaItems(TopParentId,Type,IsVirtualItem,PresentationUniqueKey,DateCreated) where TopParentId not null;create index if not exists idx_MediaItems48 on MediaItems(TopParentId,IsFolder,IsVirtualItem,PresentationUniqueKey,DateCreated) where TopParentId not null;create index if not exists idx_MediaItems49 on MediaItems(TopParentId,MediaType,IsVirtualItem,PresentationUniqueKey) where TopParentId not null;create index if not exists idx_MediaItems50 on MediaItems(Type, TopParentId, AlbumId) where TopParentId not null;create index if not exists idx_MediaItems51 on MediaItems(Type,IsSeries) where Type=27;create index if not exists idxItemLinks_1 on ItemLinks(LinkedId, Type, ItemId)
    SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
       at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, String& tail)
       at SQLitePCL.pretty.DatabaseConnection.PrepareAllEnumerator(IDatabaseConnection This, String sql)+MoveNext()
       at SQLitePCL.pretty.DatabaseConnection.ExecuteAll(IDatabaseConnection This, String sql)
       at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager)
       at Emby.Server.Implementations.ApplicationHost.InitDatabases()
       at Emby.Server.Implementations.ApplicationHost.Init()
       at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
    Source: SQLitePCL.pretty
    TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.String ByRef)
    
2023-08-06 21:41:24.347 Info Main: Shutdown complete

Link to comment
Share on other sites

21 hours ago, koelner21 said:

2023-08-06 21:41:24.320 Error Main: Error in appHost.Init
    *** Error Report ***
    Version: 4.8.0.2
    Command line: /volume4/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume2/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /volume2/Emby/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology_{version}_x86_64.spk
    Operating system: Linux version 4.4.59+ (root@build7) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP PREEMPT Tue Mar 21 22:25:33 CST 2023
    Framework: .NET 6.0.2
    OS/Process: x64/x64
    Runtime: volume4/@appstore/EmbyServer/system/System.Private.CoreLib.dll
    Processor count: 2
    Data path: /volume2/Emby
    Application path: /volume4/@appstore/EmbyServer/system
    SQLitePCL.pretty.SQLiteException: Error: no such column: IsFolder - create index if not exists idx_MediaItems4 on MediaItems(Guid,Type,IsFolder,IsVirtualItem);create index if not exists idx_MediaItems45 on MediaItems(TopParentId,Guid) where TopParentId not null;create index if not exists idx_MediaItems36 on MediaItems(SeriesPresentationUniqueKey,Type,IsFolder,IsVirtualItem) where SeriesPresentationUniqueKey not null;create index if not exists idx_MediaItems10 on MediaItems(Type,TopParentId,Id);create index if not exists idx_MediaItems11 on MediaItems(Type,TopParentId,PresentationUniqueKey);create index if not exists idx_MediaItems46 on MediaItems(TopParentId,IsVirtualItem) where TopParentId not null;create index if not exists idx_MediaItems47 on MediaItems(TopParentId,Type,IsVirtualItem,PresentationUniqueKey,DateCreated) where TopParentId not null;create index if not exists idx_MediaItems48 on MediaItems(TopParentId,IsFolder,IsVirtualItem,PresentationUniqueKey,DateCreated) where TopParentId not null;create index if not exists idx_MediaItems49 on MediaItems(TopParentId,MediaType,IsVirtualItem,PresentationUniqueKey) where TopParentId not null;create index if not exists idx_MediaItems50 on MediaItems(Type, TopParentId, AlbumId) where TopParentId not null;create index if not exists idx_MediaItems51 on MediaItems(Type,IsSeries) where Type=27;create index if not exists idxItemLinks_1 on ItemLinks(LinkedId, Type, ItemId)
    SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
       at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, String& tail)
       at SQLitePCL.pretty.DatabaseConnection.PrepareAllEnumerator(IDatabaseConnection This, String sql)+MoveNext()
       at SQLitePCL.pretty.DatabaseConnection.ExecuteAll(IDatabaseConnection This, String sql)
       at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager)
       at Emby.Server.Implementations.ApplicationHost.InitDatabases()
       at Emby.Server.Implementations.ApplicationHost.Init()
       at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
    Source: SQLitePCL.pretty
    TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.String ByRef)
    
2023-08-06 21:41:24.347 Info Main: Shutdown complete

Did you try to go back and forth between versions? This isn’t supported, I would install the latest 4.8 version. Thanks.

Link to comment
Share on other sites

koelner21

Habe es inzwischen gelöst, da ich die Lösung aus einem anderen Beitrag angewendet habe. Emby -> Plugins -> alle .dll Dateien raus kopiert und dann ging sofort alles wieder. 

Eins von diesen Plugins hat den Fehler erzeugt SecurityCams oder TopPicks 

Und der neue ext. Port funktioniert auch ohne Zertifikat problemlos. 

 

Trotzdem Danke.

 

  • Thanks 1
Link to comment
Share on other sites

  • 1 month later...
Kamika242

Ich habe genau das gleiche Problem, hatte testweise mal die Beta installiert, die weckt die Syno jedoch jede Stunde auf, für die Suche nach Updates, völlig unsinnig. Beta deinstalliert, neugestartet und wieder die 4.7.14.0 installiert, Server lässt sich nicht mehr starten. Nochmal ein Update auf die Beta gemacht, funktioniert alles wieder, aber eben nicht zufriedenstellend. Schade, am Anfang sah es so aus, daß man mit Emby weniger Gefrickel und Probleme wie mit anderen Mediaservern hat.

Link to comment
Share on other sites

  • 2 weeks later...
On 9/18/2023 at 2:32 PM, Kamika242 said:

Ich habe genau das gleiche Problem, hatte testweise mal die Beta installiert, die weckt die Syno jedoch jede Stunde auf, für die Suche nach Updates, völlig unsinnig. Beta deinstalliert, neugestartet und wieder die 4.7.14.0 installiert, Server lässt sich nicht mehr starten. Nochmal ein Update auf die Beta gemacht, funktioniert alles wieder, aber eben nicht zufriedenstellend. Schade, am Anfang sah es so aus, daß man mit Emby weniger Gefrickel und Probleme wie mit anderen Mediaservern hat.

Re: 

 

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