Jump to content


Photo

Scan Media Library fails

mb3 windows 8

Best Answer kuebs , 23 October 2015 - 01:45 PM

OK.  That worked.  Hurray.   Now the database is being rebuilt.   That seems to take a long, long time, but the content is accessable and viewable.   Thank you.

Go to the full post


  • Please log in to reply
21 replies to this topic

#1 kuebs OFFLINE  

kuebs

    Advanced Member

  • Members
  • 141 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 02:09 PM

I had to rebuild my media server.   So I started this Emby build on a new login through Windows 8.

 

I have it installed and have mapped out some media libraries.   But it won't scan.  And when I mean won't scan, I mean it fails 0 seconds.  It never even tries.  I was used to this working slow before or only getting 23% usually, but eventually getting done, but now it doesn't see any folders because it actually never scanned.

 

Any thoughts?

Attached Files


Edited by kuebs, 22 October 2015 - 02:36 PM.


#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 51848 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 02:22 PM

Any thoughts?

 

Just this one at this point... ;)

 

How to Report a Problem



#3 kuebs OFFLINE  

kuebs

    Advanced Member

  • Members
  • 141 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 02:37 PM

I feel suitably admonished now.   I have attached log to the post above, as I can't seem to get the full editor with attachments unless I am re-editing a post.



#4 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 51848 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 02:40 PM

as I can't seem to get the full editor with attachments unless I am re-editing a post.

 

"More Reply Options"...



#5 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 51848 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 02:40 PM

Please attach as the raw text file not an rtf.

 

Or you can use one of the other methods outlined in the post I linked to.



#6 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 19116 posts
  • Local time: 04:36 AM
  • LocationWashington State

Posted 22 October 2015 - 02:45 PM

Looks like a corrupt database and access issues.

 

database disk image is malformed 

Access to the path 'D:\Movies' is denied.



#7 kuebs OFFLINE  

kuebs

    Advanced Member

  • Members
  • 141 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 02:52 PM

How can I fix the database?   Or cause it to remake itself?

 

Log attached as a txt file.

Attached Files


Edited by kuebs, 22 October 2015 - 02:53 PM.


#8 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 51848 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 02:53 PM

Stop the server and delete it.  But you are going to need to figure out the access problems or none of this is going to work properly.



#9 kuebs OFFLINE  

kuebs

    Advanced Member

  • Members
  • 141 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 02:54 PM

Pardon my ignorance.   How do I delete the database?   I want to make sure that I do this correctly.



#10 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 51848 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 02:59 PM

delete the files that start with "refreshinfo.db" under the data directory under your emby server directory.



#11 kuebs OFFLINE  

kuebs

    Advanced Member

  • Members
  • 141 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 03:05 PM

i did delete all files that started with refreshinfo.db and the same result happened.



#12 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 51848 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 03:08 PM

Stop the server and delete it.  But you are going to need to figure out the access problems or none of this is going to work properly.

 

Did you fix whatever the access problems were?

 

I believe you are using a domain controller and that may be complicating things greatly as Windows Domain security can be very complex.



#13 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 19116 posts
  • Local time: 04:36 AM
  • LocationWashington State

Posted 22 October 2015 - 03:13 PM

You previous log also says " Invalid user or password entered".



#14 kuebs OFFLINE  

kuebs

    Advanced Member

  • Members
  • 141 posts
  • Local time: 07:36 AM

Posted 22 October 2015 - 03:48 PM

FYI, right now I am not using a Windows Domain Controller.



#15 kuebs OFFLINE  

kuebs

    Advanced Member

  • Members
  • 141 posts
  • Local time: 07:36 AM

Posted 23 October 2015 - 12:14 AM

access problems have been fixed.   I finally figured out a script to invoke to reset file ownership and directory rights.

 

Its, icacls  * /t /q /c /reset

 

It reset all rights to default and then I could assign folders and was able to add movies to the library.

 

I still cannot get the library to scan. 

 

My library scan never even tries.  It always fails at 0%.  I really would love to fix this.

‚Äč



#16 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 19116 posts
  • Local time: 04:36 AM
  • LocationWashington State

Posted 23 October 2015 - 03:39 AM

You will need to post a new log.



#17 kuebs OFFLINE  

kuebs

    Advanced Member

  • Members
  • 141 posts
  • Local time: 07:36 AM

Posted 23 October 2015 - 08:44 AM

Ok.  Attached is a new log from this morning.

 

To make this more interesting.  There is one folder (Lily) which actually is avaialble and has been scanned and most of the items are visible.   Emby now shows the folders, like Movies, Videos, Music Videos, but they all show 0/0 items.

 

I can't see a discernable difference between any of the other folders and this one.  And now everyone and the user has all rights to the folders.  

 

 

Attached Files



#18 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 51848 posts
  • Local time: 07:36 AM

Posted 23 October 2015 - 08:48 AM

Looks like your main library database is corrupt now.

 

Now that you've solved the access problems, I would start over clean.



#19 kuebs OFFLINE  

kuebs

    Advanced Member

  • Members
  • 141 posts
  • Local time: 07:36 AM

Posted 23 October 2015 - 11:22 AM

I just deleted all the files that begin with refreshinfo, and restarted the server.   I am not having any better luck.

 

is there any other steps I need to do to reinitiate the database? 

 

Log is attached.

 

I also attached the log from right before I stopped the server and removed the refreshinfo files.

 

Attached Files



#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156602 posts
  • Local time: 07:36 AM

Posted 23 October 2015 - 11:26 AM

unfortunately you have some databases that have been corrpuped. the fact that it's more than one suggests a possible disk drive issue. 

 

but in any event, to fix, shutdown the server, navigate to the server's program data folder, then go under /data and delete the library.db and activitylog.db file

 

then start the server and run a library scan.







Also tagged with one or more of these keywords: mb3, windows 8

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users