Jump to content

Emby server not running. Only Emby tray


Recommended Posts

Posted
1 hour ago, AshotAntonyan said:

Found it:

Windows cannot access the file for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program EmbyServer

OK sounds like you need to resolve an issue with your disk drive, right?

  • 1 year later...
Posted

Dear, I still had the same problem again, Emby server starts, but closes immediately. try with different versions. 

Posted

Dear, when I manually install Emby server 4.9 it first works, with complete empty database.

As soon as I shutdown Emby and replace database with my backup, I get these problems.

My current data base only works with versions 4.7.11 :(

 

Posted
3 hours ago, VBElec said:

Dear, when I manually install Emby server 4.9 it first works, with complete empty database.

As soon as I shutdown Emby and replace database with my backup, I get these problems.

My current data base only works with versions 4.7.11 :(

 

Hi, please take a look at this and let us know if it helps get you squared away:

Corrupt Database

Posted

Dear, every time emby server start, it seems to be that he make the library corrupt.

Posted
34 minutes ago, VBElec said:

Dear, every time emby server start, it seems to be that he make the library corrupt.

Did you go through repair database steps ? Which database file did you check out and try to repair?

The error in the log indicates it is failing on the users.db database

    SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed
    SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.

       at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, SyncRepository 

 

Posted
16 minutes ago, sa2000 said:

The error in the log indicates it is failing on the users.db database

    SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed
    SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.

       at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, SyncRepository 

 

 

Sorry I think I was wrong

It is referring to SqliteItemRepository in the first part 

at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, SyncRepository

which would be library.db

So did you repair the database and get an OK on the PRAGMA integrity_check ?

 

 

 

Posted
6 hours ago, VBElec said:

Dear, every time emby server start, it seems to be that he make the library corrupt.

Hi, no the issue is that it's already corrupt to begin with. Did you follow the instructions in the link I gave you?

Posted

I try the instruction, but it did not work, or I did something wrong.

Is there a way I send the library file to you? and you can give it a try?

Posted
1 hour ago, VBElec said:

Is there a way I send the library file to you? and you can give it a try?

I will send you an upload link. Please zip the db and upload and i will see if it is repairable

Posted

Dear, the data file is uploaded.

Posted (edited)
1 hour ago, VBElec said:

the data file is uploaded.

Not showing up yet as uploaded

 

Edited by sa2000
Posted

@VBElec the VACUUM andn REINDEX cleared the malformed db error

Lets see if it launches ok now. I sent you the repaied library.db

Please compare the steps I carried out with what you did and let me know what you got back earlier when you gtried

Command Prompt - sqlite3 library.db.txt

 

Posted
2 hours ago, VBElec said:

tried with the repaired library, but still same issue, t

I made a miatake not double checking what the directory path was where i was executing sqlite3. I will add a warning to the support doc for double checking. 

When doing the attempt to recover correctly, the REINDEX failed with 

Runtime error: UNIQUE constraint failed: UserDataKeys2.UserDataKey (19)

I have recreated the database using .recover and sent you a new one to try

i don't know if you will have issues after switching to this repaired database as a result of any overlapping paths - an issue that has been seen to give constraint errors 

 

 

Posted

Dear,

I add the new library file, and now I run on 4.9.1.80 :)

Posted
3 minutes ago, VBElec said:

I add the new library file, and now I run on 4.9.1.80

Great 

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