dreamsy

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by dreamsy

  1. On 10/10/2023 at 2:55 PM, eagle470 said:

    I set the username and password and now I'm getting the error below. Please advise

     

    {
      "message": "An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. For more information go to http://aka.ms/dataprotectionwarning",
      "description": "System.Security.Cryptography.CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. For more information go to http://aka.ms/dataprotectionwarning\n ---\u003E System.UnauthorizedAccessException: Access to the path \u0027/config/asp/key-cfbd6729-4cae-4eb4-b8b3-1df28e173c99.xml\u0027 is denied.\n ---\u003E System.IO.IOException: Permission denied\n   --- End of inner exception stack trace ---\n   at Interop.CheckIo(Error error, String path, Boolean isDirectory, Func\u00602 errorRewriter)\n   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)\n   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\n   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\n   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)\n   at System.IO.File.OpenRead(String path)\n   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.ReadElementFromFile(String fullPath)\n   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElementsCore()\u002BMoveNext()\n   at System.Collections.Generic.List\u00601..ctor(IEnumerable\u00601 collection)\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable\u00601 source)\n   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElements()\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.GetAllKeys()\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow, Boolean forceRefresh)\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRing()\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)\n   --- End of inner exception stack trace ---\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)\n   at Microsoft.AspNetCore.Authentication.SecureDataFormat\u00601.Protect(TData data, String purpose)\n   at Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler.HandleSignInAsync(ClaimsPrincipal user, AuthenticationProperties properties)\n   at Microsoft.AspNetCore.Authentication.AuthenticationService.SignInAsync(HttpContext context, String scheme, ClaimsPrincipal principal, AuthenticationProperties properties)\n   at Radarr.Http.Authentication.AuthenticationController.Login(LoginResource resource, String returnUrl) in ./Radarr.Http/Authentication/AuthenticationController.cs:line 47\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State\u0026 next, Scope\u0026 scope, Object\u0026 state, Boolean\u0026 isCompleted)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\n--- End of stack trace from previous location ---\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeFilterPipelineAsync\u003Eg__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\n   at Microsoft.AspNetCore.Routing.EndpointMiddleware.\u003CInvoke\u003Eg__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\n   at Radarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/BufferingMiddleware.cs:line 28\n   at Radarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/IfModifiedMiddleware.cs:line 41\n   at Radarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33\n   at Radarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/StartingUpMiddleware.cs:line 38\n   at Radarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/UrlBaseMiddleware.cs:line 27\n   at Radarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/VersionMiddleware.cs:line 29\n   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)\n   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)"
    }

     

    To resolve this I did the following:

     

    edit the config.xml file in appdata\binhex-radarr

    change   <AuthenticationMethod>Basic</AuthenticationMethod> to   <AuthenticationMethod>None</AuthenticationMethod>

     

    Then when you will get the setup authentication popup again.

     

    Make sure you select the option 'do not use for local addresses' (not exact wording) dropdown.

  2. On 10/10/2023 at 2:55 PM, eagle470 said:

    I set the username and password and now I'm getting the error below. Please advise

     

    {
      "message": "An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. For more information go to http://aka.ms/dataprotectionwarning",
      "description": "System.Security.Cryptography.CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information. For more information go to http://aka.ms/dataprotectionwarning\n ---\u003E System.UnauthorizedAccessException: Access to the path \u0027/config/asp/key-cfbd6729-4cae-4eb4-b8b3-1df28e173c99.xml\u0027 is denied.\n ---\u003E System.IO.IOException: Permission denied\n   --- End of inner exception stack trace ---\n   at Interop.CheckIo(Error error, String path, Boolean isDirectory, Func\u00602 errorRewriter)\n   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)\n   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\n   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)\n   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)\n   at System.IO.File.OpenRead(String path)\n   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.ReadElementFromFile(String fullPath)\n   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElementsCore()\u002BMoveNext()\n   at System.Collections.Generic.List\u00601..ctor(IEnumerable\u00601 collection)\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable\u00601 source)\n   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElements()\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.GetAllKeys()\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow, Boolean forceRefresh)\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRing()\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)\n   --- End of inner exception stack trace ---\n   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)\n   at Microsoft.AspNetCore.Authentication.SecureDataFormat\u00601.Protect(TData data, String purpose)\n   at Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler.HandleSignInAsync(ClaimsPrincipal user, AuthenticationProperties properties)\n   at Microsoft.AspNetCore.Authentication.AuthenticationService.SignInAsync(HttpContext context, String scheme, ClaimsPrincipal principal, AuthenticationProperties properties)\n   at Radarr.Http.Authentication.AuthenticationController.Login(LoginResource resource, String returnUrl) in ./Radarr.Http/Authentication/AuthenticationController.cs:line 47\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeActionMethodAsync\u003Eg__Awaited|12_0(ControllerActionInvoker invoker, ValueTask\u00601 actionResultValueTask)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.\u003CInvokeNextActionFilterAsync\u003Eg__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State\u0026 next, Scope\u0026 scope, Object\u0026 state, Boolean\u0026 isCompleted)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\n--- End of stack trace from previous location ---\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeFilterPipelineAsync\u003Eg__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.\u003CInvokeAsync\u003Eg__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)\n   at Microsoft.AspNetCore.Routing.EndpointMiddleware.\u003CInvoke\u003Eg__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\n   at Radarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/BufferingMiddleware.cs:line 28\n   at Radarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/IfModifiedMiddleware.cs:line 41\n   at Radarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33\n   at Radarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/StartingUpMiddleware.cs:line 38\n   at Radarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/UrlBaseMiddleware.cs:line 27\n   at Radarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/VersionMiddleware.cs:line 29\n   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)\n   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\n   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.\u003CInvoke\u003Eg__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)"
    }

     

    I'm getting the exact same error after setting up username/password.

  3. On 3/18/2023 at 4:31 AM, apandey said:

    what is previously here? Did you do any updates between this previous and current state? 

     

    Are you sure about this? The diagnostics you posted has a bunch of dockers running, in fact python is taking 1 core too. I see sabznet running, and probably a few other things. docker appdata is under /mnt/user, maybe some other container mounts too? docker and VM services are enabled from your diagnostics. Are clients connected over network too - smb, nfs, ssh?

    If things have changed since that diagnostics, post a new one when you have activity stopped

     

    Also, as mentioned earlier, fix common problems is showing issues, including incompatible plugins. How have you arrived there? was there an unraid version upgrade involved at some point? better to resolve issues and be up-to-date first in that case 

    Not done an update for a while - so not sure exactly when this started.

     

    I've fixed the warnings reported in fix common problems. Just have the jumbo frames warnings left which I believe I can ignore.

    I've stopped Docker and VM in the settings.

     

    All clients are stopped (Except on PC - but I cannot see any activity from it).

     

    I've uploaded the latest diagnostics.

     

    Thanks.

     

     

     

    nasbox2-diagnostics-20230319-1203.zip

  4. 1 hour ago, apandey said:

    Just to be clear, that's 100% of one core. Your overall cpu usage doesn't look high

    shfs is the merge filesystem used by shares that gives the shares a unified view across all the array and pool drives. If there are lots of writes, it will have overheads. Essentially this is the /mnt/user mount

     

    Moving any drive specific writes to /mnt/disk is one way to avoid shfs overhead, though it would bypass the shares so not always desirable

     

    You also have some mount related warnings on fix common problems. You should fix those docker containers too

    Yes that is 100% of 1 core.  But that is 100% of a single core that I did not have previously. 

    Something has changed recently that this happening. I'd like to know what is causing this. 

    There is no activity on the box. I've shutdown the VMs and everything else that would talk to it.

     

    I've also noticed recently that I have /mnt/user0 folder - folders/files are duplicated between /mnt/user and /mnt/user0.

     

    Edit: Just read what /mnt/user0 is.

     

    Thanks

     

     

     

  5. hello,

    Like mentioned elsewhere in thread, I'm getting issues with thumbnail extraction when new content is added.

     

    I am on the latest version 4.7.6.0.

     

    Some help will be appreciated. Thanks

     

    *** Error Report ***
    Version: 4.7.6.0
    Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /config -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartexitcode 3
    Operating system: Linux version 5.15.46-Unraid (root@Develop) (gcc (GCC) 11.2.0, GNU ld version 2.37-slack15) #1 SMP Fri Jun 10 11:08:41 PDT 2022
    Framework: .NET 6.0.8
    OS/Process: x64/x64
    Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.8/System.Private.CoreLib.dll
    Processor count: 6
    Data path: /config
    Application path: /usr/lib/emby-server
    System.Exception: System.Exception: ffmpeg image extraction failed for file:"/media/plex/movies/[movie].mkv" (output file not found)
    at Emby.Server.MediaEncoding.ImageExtraction.ImageExtractionManager.ExtractImageInternal(ReadOnlyMemory`1 inputPath, ReadOnlyMemory`1 container, MediaStream videoStream, Nullable`1 streamIndex, Nullable`1 threedFormat, Nullable`1 offset, Boolean useThumbNailFilter, CancellationToken cancellationToken)
    at Emby.Server.MediaEncoding.ImageExtraction.ImageExtractionManager.ExtractImage(ReadOnlyMemory`1 inputPath, ReadOnlyMemory`1 container, MediaStream videoStream, Nullable`1 streamIndex, MediaProtocol protocol, Boolean isAudio, Nullable`1 threedFormat, Nullable`1 offset, CancellationToken cancellationToken)
    at Emby.Providers.MediaInfo.ThumbnailGenerator.RefreshChapterImages(Video item, MediaStream videoStream, ReadOnlyMemory`1 inputPath, MediaProtocol protocol, IDirectoryService directoryService, List`1 chapters, Boolean extractImages, Boolean saveChapters, CancellationToken cancellationToken)
    Source: Emby.Server.MediaEncoding
    TargetSite: Void MoveNext()

     

     

    This command fails

     

     /usr/bin/ffmpeg -skip_list 15 -f matroska -threads 1 -copyts -i file:"/media/plex/movies/[movie]/[movie].mkv" -an -sn -update 1 -vf "scale=trunc(min(max(iw\,ih*dar)\,min(600\,0*dar))/2)*2:trunc(min(max(iw/dar\,ih)\,min(600/dar\,0))/2)*2" -vsync 0 -f image2 "/config/cache/temp/bf4db904-3f43-4b32-8af6-0ec606871dfb.jpg"

     

    When I run the above command in the docker container - I get an error:

     

    Unrecognized option 'skip_list'.
    Error splitting the argument list: Option not found

     

    If I remove the skip_list argument then ffmpeg starts to do its work.

     

     

    Update:

    Seems like this is an issue with the container version. Moving to the official docker version does not have these problems.

    https://emby.media/community/index.php?/topic/111424-thumbnails-not-generating/

     

     

     

  6. Hi,

    @binhex I need some help please with docker image binhex-qbittorrentvpn.

     

    I was using this to route Radarr/Sonarr etc.

     

    All was good until I decided to upgrade the docker containers and now I cannot gain access to the Radarr/Sonarr web guis. This was acknowledged as an in issue in this thread.

     

    I was wondering what the solution to it is please?

  7. 21 minutes ago, JonathanM said:

    Since you have a previous parity drive in a data slot, be sure to delete all flash drive backups that referenced that drive as parity, and create new flash drive backups. If you were to accidentally restore one of the previous backups you would lose data when the system tried to build parity on your data drive.

     

    Thanks for the advice, I really appreciate it. I wouldn't have done another backup - not realising that I had to.

     

    Also, on the USB issue - I have 2 physical usbs plugged in (one was hiding behind the other so did not spot it).

  8. Thanks for the tips.

     

    There was some junk on ssd_pool that I could delete so that will free up some space.

    I've started to move the systems folder to one of the ssd_pool.

     

    I've got nothing mounted remote on unassigned devices. I have the Array and Pool devices, with only the flash drive in the unassgned devices (except for he old parity drive which will soon go into the pool). Hopefully this answers your question.

  9. Hi, 

     

    I've replaced a parity drive in my unraid machine and rebuild was all going smoothly but then the gui became unresponsive. The last status I saw was 99.9% and I believe it completed. The shares, Dockers, Vms are all responsive.

     

    I need some help in what I should do, I do not want to restart in case it still doing something in the background.

     

    I'd post the diagnostics but unfortunately don't know how without the gui (will search if there is another way). 

     

    Thanks.

     

     

    nasbox2-diagnostics-20211123-1105.zip

  10. Hi,

     

    I've installed unraid (on trial) for the first time and had a few issues with the onboard network port. So I switched to an Intel 520 10gbe card and that resloved the issues.

     

    The problem I am having now is that when I try and install a plugin I get 'Network Error'. I cannot ping out from the box to lets say 'www.google.com' but I can ping IP addresses. Looks like a DNS issue but I don't know how to resolve.

     

    Help appreciated.