Jump to content


Photo

After moving portable install - scanning library fails

Server Windows10 Scaning Migration

Best Answer Happy2Play , 03 September 2018 - 05:22 PM

I believe in the library.db.  If you have a older installation, there were database updates to resolve this on new installations that change the path

 

old way

C:\Users\Media\Desktop\Portable Stable\programdata\root\default\Unset

new way

%RootFolderPath%\default\Unset

Depending on how you store your metadata, if with media you can delete the library.db and allow it to rebuild.  Or use a DB tool and edit the database directly.  Emby has to be shutdown to edit the db.

 

\Portable\programdata\data\library.db

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 cow666 OFFLINE  

cow666

    Advanced Member

  • Members
  • 42 posts
  • Local time: 06:46 AM
  • LocationAuckland, New Zealand

Posted 03 September 2018 - 07:23 AM

Hi All

 

Installed the portable version of emby server on my existing server - I'm virtualising Emby and moved the install to the new VPC. Read the instructions on how to do this and upon running the initial library scan it fails immediately.

 

The portable install was deployed to the D drive of my old server but has been moved to C on the new box.. however the log file shows that Emby is still looking for a D: drive during some part of the scan.
 

2018-09-03 23:13:06.011 Debug App: Running FolderImageProvider for C:\Emby\embyserver-win\programdata\root
2018-09-03 23:13:11.098 Error BaseItem: Error refreshing owned items for D:\embyserver-win\programdata\root\default\Comedy
*** Error Report ***
Version: 3.5.2.0
Command line: C:\Emby\embyserver-win\system\EmbyServer.dll -noautorunwebapp
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 2
Program data path: C:\Emby\embyserver-win\programdata
Application directory: C:\Emby\embyserver-win\system
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\embyserver-win\programdata\root\default\Comedy'.

 

Anyway to fix this? (Log attached)

Many thanks for your time 

Attached Files

  • Attached File  Log.txt   18.9KB   3 downloads

Edited by cow666, 03 September 2018 - 07:29 AM.


#2 cow666 OFFLINE  

cow666

    Advanced Member

  • Members
  • 42 posts
  • Local time: 06:46 AM
  • LocationAuckland, New Zealand

Posted 03 September 2018 - 04:29 PM

Can someone tell me where the  D:\embyserver-win\programdata\root\default\xxx path is coming from and if I can edit it to set the correct drive letter?


Edited by cow666, 03 September 2018 - 04:29 PM.


#3 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 15172 posts
  • Local time: 10:46 AM
  • LocationWashington State

Posted 03 September 2018 - 05:22 PM   Best Answer

I believe in the library.db.  If you have a older installation, there were database updates to resolve this on new installations that change the path

 

old way

C:\Users\Media\Desktop\Portable Stable\programdata\root\default\Unset

new way

%RootFolderPath%\default\Unset

Depending on how you store your metadata, if with media you can delete the library.db and allow it to rebuild.  Or use a DB tool and edit the database directly.  Emby has to be shutdown to edit the db.

 

\Portable\programdata\data\library.db


Edited by Happy2Play, 03 September 2018 - 05:23 PM.

  • cow666 likes this

#4 cow666 OFFLINE  

cow666

    Advanced Member

  • Members
  • 42 posts
  • Local time: 06:46 AM
  • LocationAuckland, New Zealand

Posted 03 September 2018 - 05:52 PM

Thanks Happy2Play - I'll check it out tonight







Also tagged with one or more of these keywords: Server, Windows10, Scaning, Migration

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users