Dont1982 4 Posted June 17, 2021 Share Posted June 17, 2021 For some reason my Emby fails to clear the cache. The following is the error i get. I will pm logs to mod's but not publicly. Thank you Error: Structure needs cleaning at System.IO.FileStatus.EnsureStatInitialized(ReadOnlySpan`1 path, Boolean continueOnError) at System.IO.FileSystemInfo.Init(FileStatus& fileStatus) at System.IO.FileSystemInfo.Create(String fullPath, String fileName, FileStatus& fileStatus) at System.IO.Enumeration.FileSystemEnumerableFactory.<>c.<fileinfos>b__6_0(FileSystemEntry& entry) at System.IO.Enumeration.FileSystemEnumerator`1.MoveNext() at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList() at Emby.Server.Implementations.ScheduledTasks.Tasks.DeleteCacheFileTask.DeleteCacheFilesFromDirectory(CancellationToken cancellationToken, String directory, DateTimeOffset minDateModified, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.Tasks.DeleteCacheFileTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)</fileinfos> Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 17, 2021 Share Posted June 17, 2021 Hi, your file system is throwing an error saying "structure needs cleaning". This is not an emby problem. If you google around you can find lots of information on it and how you might rectify it. For example: https://askubuntu.com/questions/910078/structure-needs-cleaning-error-cannot-mount-partition Link to comment Share on other sites More sharing options...
Dont1982 4 Posted June 18, 2021 Author Share Posted June 18, 2021 ok thank you, yes I seen that but had no clue what it meant lol. Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 18, 2021 Share Posted June 18, 2021 Were you able to resolve it? Link to comment Share on other sites More sharing options...
Dont1982 4 Posted June 18, 2021 Author Share Posted June 18, 2021 Not yet. I have a thread started on the open media vault forum I will let you know when I get it resolved. Thank you for the follow up. Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 18, 2021 Share Posted June 18, 2021 Let us know how you get on. Thanks. Link to comment Share on other sites More sharing options...
Dont1982 4 Posted June 18, 2021 Author Share Posted June 18, 2021 (edited) How do i get emby to start cleaning the cache to see if i fixed it? and not i am getting no compatible streams again on my m3u I am attaching a log. My iptv service is paid til november. embyserver.txt Edited June 18, 2021 by Dont1982 Link to comment Share on other sites More sharing options...
Dont1982 4 Posted June 19, 2021 Author Share Posted June 19, 2021 ok i think i got it fixed. I ran fsck on the disk in question, found errors. now it it is doing what it is supposed to be doing. Thank you all for the help. Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 20, 2021 Share Posted June 20, 2021 Thanks for the feedback. Link to comment Share on other sites More sharing options...
Dont1982 4 Posted July 10, 2021 Author Share Posted July 10, 2021 Now i am getting this error. Server has been good until this, It throws this when it tries to look for plugin updates. I am using open media vault as the OS. I have made all drives everyone read/write. Access to the path is denied. at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) at Interop.CheckIo(Int64 result, String path, Boolean isDirectory, Func`2 errorRewriter) at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at Emby.Server.Implementations.Updates.InstallationManager.PerformPackageInstallation(IProgress`1 progress, String target, PackageVersionInfo package, CancellationToken cancellationToken) at Emby.Server.Implementations.Updates.InstallationManager.InstallPackageInternal(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Implementations.Updates.InstallationManager.InstallPackage(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) Link to comment Share on other sites More sharing options...
Luke 37118 Posted July 10, 2021 Share Posted July 10, 2021 2 hours ago, Dont1982 said: Now i am getting this error. Server has been good until this, It throws this when it tries to look for plugin updates. I am using open media vault as the OS. I have made all drives everyone read/write. Access to the path is denied. at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) at Interop.CheckIo(Int64 result, String path, Boolean isDirectory, Func`2 errorRewriter) at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at Emby.Server.Implementations.Updates.InstallationManager.PerformPackageInstallation(IProgress`1 progress, String target, PackageVersionInfo package, CancellationToken cancellationToken) at Emby.Server.Implementations.Updates.InstallationManager.InstallPackageInternal(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Implementations.Updates.InstallationManager.InstallPackage(PackageVersionInfo package, Boolean isPlugin, IProgress`1 progress, CancellationToken cancellationToken) at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options) Please attach the complete emby server log. Thanks. Link to comment Share on other sites More sharing options...
Dont1982 4 Posted July 10, 2021 Author Share Posted July 10, 2021 embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37118 Posted July 12, 2021 Share Posted July 12, 2021 Is /config mounted to a path that is on the same machine as the server? Link to comment Share on other sites More sharing options...
Dont1982 4 Posted July 12, 2021 Author Share Posted July 12, 2021 Yes it is Link to comment Share on other sites More sharing options...
Dont1982 4 Posted July 14, 2021 Author Share Posted July 14, 2021 Quote Is /config mounted to a path that is on the same machine as the server? this has just happened out of the blue. It has been happening for a couple days now. Link to comment Share on other sites More sharing options...
Luke 37118 Posted July 14, 2021 Share Posted July 14, 2021 Have you tried restarting the machine? Link to comment Share on other sites More sharing options...
Dont1982 4 Posted July 14, 2021 Author Share Posted July 14, 2021 42 minutes ago, Luke said: Have you tried restarting the machine? Yes I have. Multiple times. Dlna also fails to install update. Link to comment Share on other sites More sharing options...
Q-Droid 655 Posted July 15, 2021 Share Posted July 15, 2021 Have you made sure that everything under /config is owned by the same user running the container, the same UID/GID? Link to comment Share on other sites More sharing options...
Dont1982 4 Posted July 15, 2021 Author Share Posted July 15, 2021 when i set it up in docker using portainer i set up the uid and gid off the machine. Link to comment Share on other sites More sharing options...
Q-Droid 655 Posted July 15, 2021 Share Posted July 15, 2021 Right. But have you checked to make sure the files and directories under the path mapped to "/config" are owned by the user (UID/GID) that you specified to run the Emby server in the container. What are the user and group for the UID/GID you're using for the Emby container? One assumption is that "/config" is a native Linux filesystem and not something like NTFS. Let us know if this isn't the case. If at any time the Emby server container ran using a different user (UID/GID) there could be a mix of ownership and permissions for files and dirs under "/config". Same if manual changes were made and/or files copied. The quickest and easiest fix might be to stop the container, chown -R UID:GID <OS path for /config>, start the container. Link to comment Share on other sites More sharing options...
Luke 37118 Posted July 18, 2021 Share Posted July 18, 2021 @Dont1982 has this helped? Link to comment Share on other sites More sharing options...
Dont1982 4 Posted July 18, 2021 Author Share Posted July 18, 2021 I have been working and have not had a chance to try anything. As soon as I get a chance to I will let you all know Link to comment Share on other sites More sharing options...
Dont1982 4 Posted July 20, 2021 Author Share Posted July 20, 2021 How do I see the /config file. I know on openmediavault, I have to reset the permissions all the time on the openmediavault interface. Because sometimes my shows do not record, and I think it is due to the permissions being set to something else the openmediavault deems necessary, and not allowing it access. Emby is installed through Portainer on this machine, this is the only thing I use this machine for. Thank you for any and all help. Link to comment Share on other sites More sharing options...
Q-Droid 655 Posted July 20, 2021 Share Posted July 20, 2021 It would be the OMV side path mapped to /config in Portainer. You should be able to access it directly in OMV and recursively change user and group ownership to match the container UID/GID. Link to comment Share on other sites More sharing options...
Dont1982 4 Posted July 21, 2021 Author Share Posted July 21, 2021 On 7/19/2021 at 10:48 PM, Q-Droid said: It would be the OMV side path mapped to /config in Portainer. You should be able to access it directly in OMV and recursively change user and group ownership to match the container UID/GID. i am dumb when it comes to this any way more info on where and how to get this file and settings taken care of 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