Jump to content

cannot connect to Emby


Go to solution Solved by Luke,

Recommended Posts

zfrenchy
Posted

After updating Unraid to 6.12.10 then Emby to 4.8.8.0, I cannot access to Emby on any of my devices on the LAN, getting ERR_CONNECTION_REFUSED

Even the WebUI in Unraid do not work, getting same error message.

Emby Server stopped for some reason, any advice where to look at ?

 

Emby log attached

Emby Log.txt

  • Solution
Posted

Hi, please see this and let us know if it helps get you back up and running:

Corrupt Database

  • Like 1
zfrenchy
Posted

still the same, ERR_CONNECTION_REFUSED

Posted

What exactly did you do?

zfrenchy
Posted

Using Kruzader Docker, I deleted library.db-shm & library.db-wal, start Emby, not good

I tried to run the integrity check, but didn't works, then I jumped to last try, rename library.db to library.corrupt

Start Emby, still bad.

Happy2Play
Posted
1 minute ago, zfrenchy said:

Using Kruzader Docker, I deleted library.db-shm & library.db-wal, start Emby, not good

I tried to run the integrity check, but didn't works, then I jumped to last try, rename library.db to library.corrupt

Start Emby, still bad.

Can you post a new log.

Happy2Play
Posted (edited)

Don't know how you are getting these logs but something is off there.  But either way you still have a bad database.

Error Main: Error in appHost.Init
        *** Error Report ***
        Version: 4.8.8.0
        Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
        Operating system: Linux version 6.1.79-Unraid (root@Develop-612) (gcc (GCC) 12.2.0, GNU ld version 2.40-slack151) #1 SMP PREEMPT_DYNAMIC Fri Mar 29 13:34:03 PDT 2024
        Framework: .NET 6.0.25
        OS/Process: x64/x64
        Runtime: system/System.Private.CoreLib.dll
        Processor count: 8
        Data path: /config
        Application path: /system
        SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed
        SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
           at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
           at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3_stmt stmt, Int32 rc)
           at SQLitePCL.pretty.StatementImpl.MoveNext()
           at SQLitePCL.pretty.DatabaseConnection.ExecuteAll(IDatabaseConnection This, String sql)
           at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, SyncRepository syncRepo)
           at Emby.Server.Implementations.ApplicationHost.InitDatabases()
           at Emby.Server.Implementations.ApplicationHost.Init()
           at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)
        Source: SQLitePCL.pretty
        TargetSite: Void CheckOk(SQLitePCLEx.sqlite3, Int32)

Info Main: Shutdown complete

@Lukethis is for the library.db correct?

Edited by Happy2Play
zfrenchy
Posted
7 minutes ago, Happy2Play said:

Don't know how you are getting these logs but something is off there.  But either way you still have a bad database.

Click on the docker / logs ...

zfrenchy
Posted

If ...

I uninstall Emby from Unraid, then ...

Re-installed ...

 

Will I loose all of my Emby and Unraid related settings ?

Happy2Play
Posted
1 minute ago, zfrenchy said:

If ...

I uninstall Emby from Unraid, then ...

Re-installed ...

 

Will I loose all of my Emby and Unraid related settings ?

To my knowledge no but don't know every platform uninstaller as on Windows you have to explicitly remove all trace option on uninstaller.

 

Happy2Play
Posted
7 minutes ago, zfrenchy said:

If ...

I uninstall Emby from Unraid, then ...

Re-installed ...

 

Will I loose all of my Emby and Unraid related settings ?

But that being said uninstall reinstall is pointless as the databases are maintained.

I would delete or rename the db again and retest.  But majority of stuff only resides in DB now so essentially deleting the database is starting over.

Happy2Play
Posted

Do you by chance have backups?

zfrenchy
Posted

I updated Unraid, again today, to 6.12.11

I deleted all library.xxx files, restart Emby, NOW IT WORKS !

  • Like 1
  • Thanks 1

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