Dadionline 0 Posted April 18 Share Posted April 18 I successfully used the Backup & Restore plugin to move my Windows server to a Linux VM on Proxmox. Pretty much everything is working, but I noticed that many images were missing. Using the browser console I found that the missing files are getting a 404 not found error, so I dug into the logs and found this: Quote 2024-04-17 20:52:36.869 Info Server: http/1.1 Response 404 to host1. Time: 0ms. GET http://192.168.0.44:8096/emby/Items/610855/Images/Primary?maxHeight=438&maxWidth=438&tag=48cd9786d2bbac9424a858cc9d2238d0&quality=90 2024-04-17 20:52:36.869 Error Server: Error processing request *** Error Report *** Version: 4.8.3.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.5.13-5-pve (build@proxmox) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC PMX 6.5.13-5 Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 2 Data path: /var/lib/emby Application path: /opt/emby-server/system System.IO.FileNotFoundException: System.IO.FileNotFoundException: Could not find file '/var/lib/emby/metadata\musicgenres\Big Band\auto_poster.jpg'. File name: '/var/lib/emby/metadata\musicgenres\Big Band\auto_poster.jpg' at Emby.Drawing.Skia.SkiaEncoder.GetSKFileStream(String path) at Emby.Drawing.Skia.SkiaEncoder.EncodeImage(String inputPath, String outputPath, Boolean autoOrient, Nullable`1 orientation, Int32 quality, ImageProcessingOptions options, ImageFormat selectedOutputFormat) at Emby.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options, CancellationToken cancellationToken) at Emby.Api.Images.ImageService.GetImage(ImageRequest request, Int64 itemId, BaseItem item, Boolean isHeadRequest) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: Emby.Drawing.Skia TargetSite: SkiaSharp.SKFileStream GetSKFileStream(System.String) Path: /var/lib/emby/metadata\musicgenres\Big Band\auto_poster.jpg The path name seems to have brought with it the backslashes from the previous Windows install. Is there a way to clean this up? I'm concerned that there may be other similar issues carried over from Windows. Is there something that I can do to clean out ALL backslashes from the configuration? Thanks! Link to comment Share on other sites More sharing options...
Dadionline 0 Posted April 18 Author Share Posted April 18 I was able to resolve this issue by running a "Scan Metadata Folder". Now I need to figure out why the images in some of my music folders are not propagating up to the next folders in the folders view. Link to comment Share on other sites More sharing options...
Happy2Play 8361 Posted April 18 Share Posted April 18 Don't think there is a way around this when changing platforms as all of the paths are in the database. Sure the metadata folder is a token but the rest are backslashes on Windows. As there will be other columns and table that may have the same issue. Link to comment Share on other sites More sharing options...
Dadionline 0 Posted April 18 Author Share Posted April 18 Thanks for the reply. Is there a way to delete the metadata entries in the database and have it start from scratch (short of a fresh Emby install)? Link to comment Share on other sites More sharing options...
Happy2Play 8361 Posted April 18 Share Posted April 18 In theory yes just clear the image column for all items that are %metadata%\. Then start Emby and do a search for missing on all libraries. Not sure if there is a database guru out there that knows an easy way to change the backslash though. Alway make sure you make a copy of the db before making changes. Otherwise you would have to do a Refresh w\replace images on each library or start over. Link to comment Share on other sites More sharing options...
Dadionline 0 Posted April 18 Author Share Posted April 18 Noob question...what type of database does Emby use? Is there a particular tool that would be best for editing it? I'm okay with just deleting the problematic content and then rebuilding. Thanks again Link to comment Share on other sites More sharing options...
Happy2Play 8361 Posted April 18 Share Posted April 18 (edited) SQLite, I use DB Browser for SQLite but any db browser should work. Edited April 18 by Happy2Play Link to comment Share on other sites More sharing options...
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