Meller

Members
  • Posts

    117
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Meller

  1. On 2/15/2024 at 12:00 PM, depreciated_ said:

    same here.  my first run was to scan 1000+ posters and my docker image starting filling up fast.  It looks like the container tmp folder is the culprit.  This freed up more than 12 gb.

     

    image.png.f8b7621e37d2bf228b717db12bdfa697.png



    God thank you for this. I kept look at the container settings and saw no where where it should be writing to the docker img.  This should be part of the template when you first install it.

    Thank you for posting this here. It resolved everything for me.

  2. Ok, yes I know this is the Sonarr Support thread, but I'm using both Sonarr and Radarr from Linuxserver.io and I'm having issues.

    It's one of the most common issues we have around here.  And I've done everything I can think of but I'm very obviously missing a setting or several settings some where.

    Issue:

    When qBittorrent finishes downloading a file, it's suppose to move it from /mnt/user/Media/Torrents to /mnt/user/Media/Torrents/Completed.  Once it does that, Radarr (or Sonarr) is suppose to pick it up and move it to /mnt/user/Media/Plex/4K Movies (or 4K TV Shows).  That isn't happening. Radarr will show the file as green/available, with it's path as "/downloads/(movie folder name)". So Plex never see's it.  It's also suppose to rename the file. It does rename it and create a proper folder for it (Title (year)), but it leaves it in /mnt/user/Media/Torrents.

    Using just Radarr as my example for now, I've mapped /movies to /mnt/user/Media/Plex/4K Movies and /downloads to /mnt/user/Media/Torrents/.

    With in Radarr, I've added the root path "/movies" and in qBT I have the following settings
    Downloads Tab:

    -Default Torrent Management Mode: Automatic

    -When Torrent Category changed: Relocate Torrent
    -When Default Save Path Changed: Relocate affected torrents.
    -When Category Save Path Changed: Relocate affected torrents

    - Use Subcategories: Checked
    -Default Save Path: /downloads/Completed
    -Keep incomplete torrents in: /downloads/incomplete

    BitTorrent Tab:
    -Seeing Limits
    --When Ratio reaches: 1
    Then Pause Torrent

    There's clearly something I'm missing because I have Sonarr set up the exact same way, except with 4K TV Shows folder instead of 4K Movies.

    Any advice on where to look?
     

    unraid.png

  3. 5 hours ago, Zer0Nin3r said:

    Agreed. I've been having issues with all encodes failing. Looking at the portion of your log you posted I decided to take a look at my Unraid system log and found this to be happening over and over in real time:

    
    
    Jul 24 23:30:43 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window]
    Jul 24 23:30:43 Tower kernel: caller _nv000708rm+0x1af/0x200 [nvidia] mapping multiple BARs
    Jul 24 23:30:44 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window]
    Jul 24 23:30:44 Tower kernel: caller _nv000708rm+0x1af/0x200 [nvidia] mapping multiple BARs
    Jul 24 23:30:46 Tower kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000dffff window]

     

    I had a feeling that there was some sort of conflict over the GPU wherein Unmanic is failing. Although, I don't have any issues using the same GPU for my gaming VM. And I always stop Unmanic before launching my gaming VM...so something is happening when I re-launch Unmanic and it cannot interface with the GPU for some reason.

     

    I have rebooted the Unraid server in the past and I feel that this clears up the issue when it does occur. I wonder if using the Dynamix S3 Sleep is causing an issue...but I didn't really have these kind of encoding failures until this year. Will edit this post if/when I learn more.

    **Update**
    Found this in one of the failed encodes:

    
    
    [hevc_nvenc @ 0x560418cb3d40] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_UNKNOWN: unknown error 
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height 
    Conversion failed! 

     

    Also, Unmanic is working again after rebooting the server. 

    Why is it trying to use nvenc to encode?  I don't have a GPU in my server.  If I go to Settings > Video Encoding.

    I have the Video Codec set to HEVC and the Video Encoder to set to libx265.

    I've encoded nearly 25,000 tv show episodes so far, and this is the only one that fails over and over, with a huge log file attached to it. 

  4. Can anyone take a look at these 7 log files I have (I just copied the log from the details for each failed one, and made individual log files in notepad for them)?

    They keep failing, and I'm not sure why.  I'm unsure what to look at specifically to figure out why they're failing.

    Especially log file #7.  It's been failing for the past two weeks, almost instantly and I have no clue why or what to do to fix it.

    I'd greatly appreciate some help as I'm so confused. 

    logs.rar

  5. Yea, I'm having a lot of super weird occurrences after the most recent update also.  The UI/Dashboard for unmanic becomes pretty much unresponsive. set_mempolicy: Operation not permitted in my logs.  And I have one fire that just keeps failing.

    [h264 @ 0x5605116f0680] SEI type 195 size 888 truncated at 48
    [h264 @ 0x5605116f0680] SEI type 170 size 2032 truncated at 928
    [h264 @ 0x5605116f0680] SEI type 81 size 1920 truncated at 32
    [h264 @ 0x5605116f0680] SEI type 195 size 888 truncated at 47
    [h264 @ 0x5605116f0680] SEI type 170 size 2032 truncated at 927
    [h264 @ 0x5605116f0680] SEI type 81 size 1920 truncated at 31
    [h264 @ 0x5605116f0680] A non-intra slice in an IDR NAL unit.
    [h264 @ 0x5605116f0680] decode_slice_header error
    [h264 @ 0x5605116f0680] no frame!
    [h264 @ 0x5605116f0680] SEI type 163 size 248 truncated at 32
    [h264 @ 0x5605116f0680] non-existing PPS 2 referenced
    [h264 @ 0x5605116f0680] SEI type 163 size 248 truncated at 31
    [h264 @ 0x5605116f0680] non-existing PPS 2 referenced
    [h264 @ 0x5605116f0680] decode_slice_header error
    [h264 @ 0x5605116f0680] no frame!
    [h264 @ 0x5605116f0680] SEI type 195 size 1448 truncated at 32
    [h264 @ 0x5605116f0680] SEI type 195 size 1448 truncated at 30
    [h264 @ 0x5605116f0680] top block unavailable for requested intra mode -1
    [h264 @ 0x5605116f0680] error while decoding MB 0 0, bytestream 24
    [h264 @ 0x5605116f0680] concealing 3600 DC, 3600 AC, 3600 MV errors in I frame
    [h264 @ 0x5605116f0680] SEI type 33 size 2024 truncated at 16
    [h264 @ 0x5605116f0680] non-existing PPS 2 referenced
    Guessed Channel Layout for Input Stream #0.1 : 5.1

    Literally all it says in the log.  And it takes a good 10-20 seconds for that to even appear. 

    The most recent unmanic push... is weird.

    • Like 1
  6. There's a current "bug" in the most recent build where if you have failed transcodes... and you select more than one to add back to the pending list, it'll only add one and give you the error message to make sure unmanic is still running.

    Also... I have about 1,000 tv show episodes are are H265 but they are MKV.  So it's changing their containers to MKV.  Obviously when it does it, it literally only takes a couple of seconds per file. This is spitting out a ton of failed files.  Once I readd them to the pending list, they typically go through without issue... but not sure if it's because it's going through so many files so very fast or what.

    Lastly, I've noticed this happening a lot here recently (past day or so), if I change my works from say 2 to 6.  Two workers will select the same file.  It'll go all the way to 100% on both workers, then nothing happens.  Workers will start selecting the next file in the pending list, complete it almost instantly, never update the completed list as successful or failed, and the file stays in my unmanic transcoding location.  I have to set the workers back to like 1 or 2.  Completely stop the docker, then start it back... and of course when I do this, it has to completely rescan my entire library, and build the pending list all over again.

    Just figured I'd let you know.

  7. 1 hour ago, ghost82 said:

    I don't think so, nearly all the hardware is emulated and the template is the same, for all.

    Unfortunately, without debug logs (that of the bootloader, not that of unraid) it's nearly impossible to help.

    Writing as much information as possible and attaching the logs is important to debug issues, the "it doesn't work, there's a bootloop" is of no help.

    Ok, well how do I go about getting you these debug logs, because I've tried everything.  The only thing I'm not doing that I see others doing is a GPU passthrough.  My unraid server has no GPUs.  all of my windows VM's just emulate the GPU.  Sucks, but it is what it is.

  8. Hey, so first time using this... I followed your youtube video exactly on installing a Big Slur VM.  I'm at the part where I just launched the VM for the very first time, opened up VNC, and selected MacOS Base System.  It crashes immediately, and I basically just cycle through this one part over and over again.  It tells me my "computer" restarted because of a problem.  press a key or wait for startup to continue... then it crashes.

    Any clues on what I can look at that might be the issue?

  9. On 4/13/2021 at 6:47 AM, John_M said:

    Have you see this thread?

     

     

    Unless things have changed in the last five years, it hardly seems worth the effort. You might make better use of the time simply copying files sequentially from one disk to another. I personally think it's a non-issue anyway.

     

    Strongly disagree. While yes, it took me a couple of weeks to defrag (xfs_fsr) 8x8tb drives all at 89% or higher capacity.  I can honestly say... once I finished and had all drives at 1% fragmentation or less... the speed was so much faster.  Files and folders open almost immediately, plex media plays almost immediately with the ability to  skip/search so SO much faster.

    I will 100% keep an eye on my disk/file/folder fragmentation for now on as keeping it low has proven first hand how extremely beneficial it is in terms of speed.

  10. Hey, I know you mentioned before that this feature will be coming in a future update.  I'm in no way trying to rush you or pester you about... merely curious how far down it is on your priority list.

    Feature:  Adjust the quality, bit depth, CRF, etc of the transcode.  Handbrake really gives me a lot of in depth options in regards to video transcode settings. 

    On that note, if I have HDR x264 10 bit movies... will unmanic leave it as HDR and 10 bit, but simply transcode it to my container (in this case it's mkv) and make it x265... leaving the rest as is... IE HDR x264 10 Bit mkv file turns into HDR x265 10 bit mkv file?  How does unmanic like Dolby Vision, HDR10, HDR10+ content?

  11. So I have a "small" array (comparatively to some folks).  11 drives, all 8TB (one drive is a parity).  I made a post previous about how I was defragging them via xfs_fsr command, one drive at a time.

    So far I've made it though three drives.  8TB drives with 97% or higher fragmentation on both files and directories takes several days per drive haha.

    Anyways, I'm kind of curious how bad fragmentation affects xfs arrays.  Now all my computers, except my unraid server are 100% purely nvme drives.  So fragmentation hasn't been an issues for many years, thanks to SSD's and TRIM.

    As I'm defragging, I often see things like:

    extents before:4709 after:1 DONE ino=*numbers*

     

    most of the time it's before is less than 100.  But I often enough see it say before:26000 after 3 (not done) or the highest so far was before:47569 after:4 (not done).

    What are extents... and how bad is it that it took up 47,000 and after it only took up 3 - 4?

  12. On 10/18/2020 at 2:21 PM, zbarisopen said:

    Hello all, I had previously installed TinyMM but it no longer works, when I try to start it I get an error "Server Error" - any help is much appreciated.

     

    When I try to uninstall and reinstall I get this error

     

    root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='TinyMM' --net='bridge' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'USER_ID'='0' -e 'TZ'='America/NewYork' -e 'DISPLAY_HEIGHT'='1380' -e 'DISPLAY_WIDTH'='1200' -e 'PUID'='99' -e 'GUID'='100' -e 'UMASK'='000' -p '5800:5800/tcp' -p '5900:5900/tcp' -v '/mnt/user/Movies/':'/media':'rw' -v '/mnt/user/appdata/TinyMM1':'/config':'rw' 'coolasice1999/tmm:latest'

    d511503a51b314db95dca834d4000cb0c1fbeabab4b056c2ea82cf47db4a8699
    /usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint TinyMM (a74b98f6b8c0277b8dcbeccf9e7edd57928780af23b88398b4fa722e49f5361a): Error starting userland proxy: listen tcp 0.0.0.0:5900: bind: address already in use.

     

    If you look at the very end, it says bind: address already in use

    Look at your other dockers and make sure none of them are already using port 5900.  For me, krusader was using that port by default.  I simply changed TMM's bind to a different port number, and it started up without issue.

  13. So I've read up on people running the following commands

    xfs_db -r /dev/md# (where # = whichever disk you want to mount to inspect)

    From there you can run "Frag" to see the fragmentation on the disk. 

    I have 8 drives (7 drives 1 parity).  All are roughly 8TB.  The lowest one is 6.7TB used and the most full is 7.2TB.  When I ran a frag check, I was getting fragmentation at 97.5% on the least fragmented drive, with the highest being over 98%.  Most of the articles/reddit/forum posts I see have people talking about anything over say 60% is high enough to make them defrag.  Where as a lot of people are at like 40% or well under.

    With mine being at 97-98%... is there any good way to defrag them all at once, rather than running this method one drive at a time?  I understand this can take many days to run, per disk.  Just curious what the best approach or method would be. 

  14. I don't know much about ffmepg commands.  By much, I mean nothing at all.  How do I increase -max_muxing_queue_size from whatever it's defaulted too in unmanic to something like 1024?  Every once in a while I have a few files that fail and everything I google says to increase the mux queue size to at least 1024.  I see the example for the ffmepg under the advance tab... but I don't want to change anything else in my settings (like output file location, etc...) I'm scared I'll mess something up.

  15. No issues... Just wanted to thank you for continuing your development of this app. 

    I'm currently refusing to use it on any of my 4k content as most of it is remux and I do not want to lose  an ounce of quality.  But using it on my Kids Movies library for example... god sent.

    Do you ever plan on giving us more control on the actual transcoding functions?  I have no idea how to use ffmpeg commands, but I am familiar with handbrakes video settings.  I love having the ability to select things like H.265 10-bit or 12-bit.  RF settings, framerate adjustments, etc.  Any plans on giving us the ability to chose 8-bit,10-bit, or even 12-bit encoding, quality control, or anything of that nature?

    Thanks again.

  16. Hi, I have some 4,000 movies on my Plex server.  I've never given them their own folder.  They're just simply in my Movies folder.

    Knowing that in order for radarr to function properly, each movie needs to have it's own folder within my movies folder... is there an easy or simple way to automate the creation and moving of each file into it's own subfolder?

    I ask before I'm trying to use bazarr for subtitles.  Obviously it works with TV Shows/Sonarr... but I need to figure this out for radarr.

  17. Ok, catch up.

     

    on my windows 10 machine, I was about to use OpenSSL to create a crt and key file.  
     

    I then ran the following in my terminal:

    docker run -d -p 443:443 --name registry -v C:/localhub/certs:/certs -v C:/localhub/registry:/var/lib/registry -e REGISTRY_HTTP_ADDR=0.0.0.0:443 -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/local.crt -e REGISTRY_HTTP_TLS_KEY=/certs/local.key registry
     

    registry container created.

     

    did my tags and my pushes. 
     

    now when I go into Unraid > Docker > Add container, I use my plex template and for repository I put in <*windows 10 ip/plex*> and I get the error that the cert for *IP* can’t be validated because it contains no IP SANs.

     

    any clue what that means and how to resolve it?

  18. I’ll try to keep this as short as possible.

     

    my Unraid server and my windows 10 machine are on the exact same network.  I don’t have internet where I live so I use my phones mobile hotspot.

     

    i downloaded docker for windows, installed no issue.

     

    downloaded and set up registry.  I pulled linuxserver/plex.  I then tagged it as localhost:5000/my-plex and then pushed

     

    how do I tell Unraid to pull from my local registry?
     

    I changed the daemon on my win 10 to make localhost:5000 an insecure registry but Unraid still won’t because it says it’s getting an http response.

     

    thanks!

  19. I'm using a 24 bay 4U chassis, where everything plugs into  3x LSI 9211-8i.  Every single hard drive and SSD I have plugged into the backplane, all shows up as SATA 3.x 6.0Gb/s (Current: 6.0Gb/s), except for one.  My cache drive. 

    It's a Crucial MX300 1050GB SSD. 

    In unraid it shows SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 3.0 Gb/s).    Ive tried different cables, and different spots in the case.  But no matter what, it's currect id 3.0Gb/s. 

    Is there a way to set it to 6.0Gb/s?