hawk223 9 Posted August 22, 2022 Posted August 22, 2022 I transferred emby from windows to docker on ubuntu. I had to rescan the files and refresh the metadata to get the images back after remapping the file locations. The Collections folder does not have an image and has no option to rescan or refresh. How can I get this working?
Happy2Play 9780 Posted August 22, 2022 Posted August 22, 2022 How did you transfer to Docker? Please post a server log after a full scan.
hawk223 9 Posted August 24, 2022 Author Posted August 24, 2022 On 8/22/2022 at 3:23 PM, Happy2Play said: How did you transfer to Docker? Please post a server log after a full scan. I did a backup on the windows machine. Restored that backup to the Docker container on Ubuntu. I edited the libraries and added the new path and removed the old one. Then I had to scan the files and refresh the metadata. There is no option to refresh the collections. I did refresh each entry inside of collections one at a time because I saw no way to do them all at once. The collections still looks like a folder icon. embyserver.txt
Happy2Play 9780 Posted August 24, 2022 Posted August 24, 2022 @hawk223 Don't know Docker but as I suspected the restore created a link to a path that no longer exists for Collections So you need to go to /config/root/default/collections. Could not find a part of the path '/config/data\collections'.
Solution hawk223 9 Posted August 24, 2022 Author Solution Posted August 24, 2022 Thanks while some of those instructions must be out of date it got me going in the correct direction. There was no Collections folder under root/default on the Linux docker. Also there is no option to remove the collections library anymore. However I did find /config/root/default/Collections/options.xml that had the slash the wrong way in the path for linux. I was uncertain if %AppDataPath% was correct for linux but it seems to work. While doing this I also had trouble finding the path locations in emby. The instructions say they are on the dashboard if you scroll down but now they are under the three dot menu under view server info. In doing this I discovered that I had to change my transcoding path as it was still a windows path. Hopefully there isn't anything else hiding with incorrect paths or issues but it seems to be working ok. <PathInfos> <MediaPathInfo> <Path>%AppDataPath%\collections</Path> </MediaPathInfo> </PathInfos> Changed to <Path>%AppDataPath%/collections</Path> Did an emby restart and a library rescan and now the Collections artwork is displaying correctly. Thanks for the help.
Happy2Play 9780 Posted August 24, 2022 Posted August 24, 2022 (edited) @hawk223 if that works good, but deleting the folder would have just recreated it with the correct info on next library scan. Technically a new one would not have a path. Options may be different per my settings. Spoiler <?xml version="1.0"?> <LibraryOptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <EnableArchiveMediaFiles>false</EnableArchiveMediaFiles> <EnablePhotos>true</EnablePhotos> <EnableRealtimeMonitor>true</EnableRealtimeMonitor> <EnableMarkerDetection>false</EnableMarkerDetection> <EnableMarkerDetectionDuringLibraryScan>false</EnableMarkerDetectionDuringLibraryScan> <EnableChapterImageExtraction>false</EnableChapterImageExtraction> <ExtractChapterImagesDuringLibraryScan>false</ExtractChapterImagesDuringLibraryScan> <DownloadImagesInAdvance>true</DownloadImagesInAdvance> <PathInfos /> <IgnoreHiddenFiles>false</IgnoreHiddenFiles> <IgnoreFileExtensions /> <SaveLocalMetadata>true</SaveLocalMetadata> <SaveMetadataHidden>false</SaveMetadataHidden> <SaveLocalThumbnailSets>false</SaveLocalThumbnailSets> <ImportMissingEpisodes>false</ImportMissingEpisodes> <ImportPlaylists>true</ImportPlaylists> <EnableAutomaticSeriesGrouping>true</EnableAutomaticSeriesGrouping> <EnableEmbeddedTitles>false</EnableEmbeddedTitles> <EnableAudioResume>false</EnableAudioResume> <AutomaticRefreshIntervalDays>0</AutomaticRefreshIntervalDays> <PreferredMetadataLanguage /> <PreferredImageLanguage /> <ContentType>boxsets</ContentType> <MetadataCountryCode /> <SeasonZeroDisplayName>Specials</SeasonZeroDisplayName> <Name>Collections</Name> <MetadataSavers> <string>Nfo</string> </MetadataSavers> <DisabledLocalMetadataReaders /> <LocalMetadataReaderOrder> <string>Nfo</string> </LocalMetadataReaderOrder> <DisabledLyricsFetchers /> <SaveLyricsWithMedia>true</SaveLyricsWithMedia> <LyricsDownloadMaxAgeDays>180</LyricsDownloadMaxAgeDays> <LyricsFetcherOrder /> <LyricsDownloadLanguages /> <DisabledSubtitleFetchers /> <SubtitleFetcherOrder /> <SkipSubtitlesIfEmbeddedSubtitlesPresent>false</SkipSubtitlesIfEmbeddedSubtitlesPresent> <SkipSubtitlesIfAudioTrackMatches>false</SkipSubtitlesIfAudioTrackMatches> <SubtitleDownloadLanguages /> <SubtitleDownloadMaxAgeDays>180</SubtitleDownloadMaxAgeDays> <RequirePerfectSubtitleMatch>true</RequirePerfectSubtitleMatch> <SaveSubtitlesWithMedia>true</SaveSubtitlesWithMedia> <ForcedSubtitlesOnly>false</ForcedSubtitlesOnly> <TypeOptions> <TypeOptions> <Type>BoxSet</Type> <MetadataFetchers> <string>TheMovieDb</string> </MetadataFetchers> <MetadataFetcherOrder> <string>TheMovieDb</string> </MetadataFetcherOrder> <ImageFetchers> <string>TheMovieDb</string> <string>Dynamic Image Provider</string> <string>FanArt</string> </ImageFetchers> <ImageFetcherOrder> <string>TheMovieDb</string> <string>Dynamic Image Provider</string> <string>FanArt</string> </ImageFetcherOrder> <ImageOptions /> </TypeOptions> </TypeOptions> <CollapseSingleItemFolders>true</CollapseSingleItemFolders> <EnableAdultMetadata>false</EnableAdultMetadata> <ImportCollections>false</ImportCollections> <MinCollectionItems>2</MinCollectionItems> <MinResumePct>5</MinResumePct> <MaxResumePct>90</MaxResumePct> <MinResumeDurationSeconds>120</MinResumeDurationSeconds> <ThumbnailImagesIntervalSeconds>-1</ThumbnailImagesIntervalSeconds> <SampleIgnoreSize>314572800</SampleIgnoreSize> </LibraryOptions> Don't know if the path will cause issue though. Per the directions you were to delete the options.xml start Emby and delete the Collection library. Edited August 24, 2022 by Happy2Play
hawk223 9 Posted August 24, 2022 Author Posted August 24, 2022 I must have misunderstood. It seemed to direct me to delete a directory not a file and that directory did not exist. I could delete the file and let it be recreated though. Thank you.
Happy2Play 9780 Posted August 24, 2022 Posted August 24, 2022 2 minutes ago, hawk223 said: I must have misunderstood. It seemed to direct me to delete a directory not a file and that directory did not exist. I could delete the file and let it be recreated though. Thank you. I am confused as you are going directly to it, you delete Collections folder or options.xml Quote However I did find /config/root/default/Collections/options.xml Then start Emby, delete the Collections library as it is now Mixed Content and the auto scan will recreate Collections library.
hawk223 9 Posted August 24, 2022 Author Posted August 24, 2022 I clearly misread something or got confused. I thought I was supposed to be looking under the data directory.
Happy2Play 9780 Posted August 24, 2022 Posted August 24, 2022 Just now, hawk223 said: I clearly misread something or got confused. I thought I was supposed to be looking under the data directory. No that is where your restore was looking as it used to be there and moved from \data to \metadata. So the only way to correct the bad database entry is that hack to delete collections library or manually update the database and options.xml.
hawk223 9 Posted August 26, 2022 Author Posted August 26, 2022 Yes I deleted the folder and rescanned the libraries to be sure. Everything is working now. Thank you. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now