Jump to content

Jorgen

Members
  • Content Count

    124
  • Joined

  • Last visited

Community Reputation

16 Good

1 Follower

About Jorgen

  • Rank
    Advanced Member
  • Birthday 02/04/1976

Converted

  • Gender
    Male
  • Location
    Manly, Australia

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Just reporting a successful (but long) 3-cycle preclear of a Seagate 8TB archive drive. Triggered with: /usr/local/bin/preclear_binhex.sh -f -c 3 /dev/sdd It's been a few years since I last precleared a drive, and this docker was very easy to use, thanks for making it available! I remember using the script directly before and I was never really sure I had managed to get the right version of it from the forum threads.
  2. You can't set those docker containers to use a proxy, so I guess what you have done is setting the application within the container to use the proxy. The curl commands show you the containers networking not using the proxy, which is expected. Except for the deluge container itself, where the whole container is using the VPN tunnel (not via a proxy). I don't know how you can test if Sonarr etc. is actually using the proxy correctly, your best bet might be to look at the application logs to see if something useful is logged? For what it's worth, I am using the deluge proxy for both Sonarr and Radarr, but I haven't actually checked if the traffic goes via the VPN tunnel or not. But I can't see any reason why they wouldn't.
  3. Thanks, I’ll start the warranty process. Sent from my iPhone using Tapatalk
  4. Oh just realized that the disk is still under warranty! Would these problems qualify it to be returned under warranty? It's a Seagate 8TB Archive drive (SMR)
  5. One of my disks (disk4) suddenly reported going form 0 to 168 errors for SMART 197 Current_Pending_Sector AND 198 Offline_Uncorrectable, both at the same time. Here's the unraid notification: 2019-09-06 08:38 Unraid Disk 4 SMART health [198] Warning [TOWER] - offline uncorrectable is 168 ST8000AS0002-1NA17Z_Z84102P2 (sdd) warning 2019-09-06 08:38 Unraid Disk 4 SMART health [197] Warning [TOWER] - current pending sector is 168 ST8000AS0002-1NA17Z_Z84102P2 (sdd) warning There wasn't much activity on the array at the time, and nothing is logged in the syslog for that time period. I've run a short and extended SMART self-test. The extended test reported errors: Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed: read failure 90% 18661 2896134552 # 2 Short offline Completed without error 00% 18631 - Can someone with more experience in this confirm that the disk is indeed on its' last legs and should be replaced immediately? Extended smart report and diagnostics attached, let me know if you need anything else. Thanks in advance ST8000AS0002-1NA17Z_Z84102P2-20190908-0923.txt tower-diagnostics-20190907-2350.zip
  6. This is probably not the cause of your problem, but umask is not the same as normal chmod permission. For umask, you want 0000 for most open permissions, 0777 is actually the most restrictive. Also, the “downloads” directory (output) doesn’t exist under /storage/Handbrake according to you screenshots. Not sure if Handbrake can create it for you on the fly, or if you need to create yourself first Sent from my iPhone using Tapatalk
  7. Script is case sensitive, you have the second letter “t” capitalized the wrong way round between the script and your utorrent VM names. Sent from my iPhone using Tapatalk
  8. Enter this command in the unraid terminal and it will give you the last file Handbrake opened for processing: grep Opening /mnt/cache/appdata/HandBrake/log/hb/conversion.log | tail -1 Adjust the path to wherever you have your Handbrake appdata
  9. What’s your run command Sauso? If you run in bridge mode with privileged=off, you also need --cap-add=NET_ADMIN This was missing for me, probably because I’ve just been updating without problems for a long time and am using a very old template. It was causing all sorts of problems until I fixed it. Just a thought, might not be your problem. Sent from my iPhone using Tapatalk
  10. Here you go, just edit with your own watch folder path and set it up on a schedule with User Scripts. The script will first check that the folder exists, then start Handbrake if the folder is not empty. #!/bin/bash # Set the path to the Handbrake watch folder as seen from the Unraid command line WATCH="/mnt/user/Media/Handbrake_hotfolder/watch" if [ -d "$WATCH" ] && [ -n "$(ls -A "/$WATCH")" ]; then docker start HandBrake logger "HandBrake started by User Scripts" fi And here's what I do to stop it once the watch folder is emptied again. I only use the watch folder to process files. Not sure if this is safe to run if you are also processing files via the GUI at the same time. I think it will shut down the container mid-processing in that case.
  11. Yep, I do. I have a script on a cron schedule in User Scripts that checks if the watch folder contains any files once every night. If it does, the script starts the container. Then I use a hook script to shut down the container when the watch folder is empty. See a few posts up for that script. End result is that Handbrake only runs at night, and only when there is work to be done. I can post the start script when I get home tonight if you’re interested? Sent from my iPhone using Tapatalk
  12. Hi @Djoss, saw the notification from github that you added the post_watch_folder_processing hook, thank you so much for that! To test, I pulled down the latest image and added the following post-watch script: #!/bin/sh # # This is an example of a post watch folder processing hook. This script is # always invoked with /bin/sh (shebang ignored). # # The argument of the script is the path to the watch folder. # WATCH_FOLDER=$1 echo "post-watch folder processing: Watch folder = $WATCH_FOLDER" if [ -d "/$WATCH_FOLDER" ] && [ -z "$(ls -A "$WATCH_FOLDER")" ]; then echo "watch folder empty, shutting down" killall -sigterm ghb fi And it worked beautifully: [autovideoconverter] Conversion ended successfully. [autovideoconverter] Removed /watch/movie.mp4'. [autovideoconverter] Watch folder '/watch' processing terminated. [autovideoconverter] Executing post watch folder processing hook... post-watch folder processing: Watch folder = /watch watch folder empty, shutting down [autovideoconverter] Post watch folder processing hook exited with 0 [autovideoconverter] Conversion ended successfully. [autovideoconverter] Removed /watch/movie.mp4'. [autovideoconverter] Watch folder '/watch' processing terminated. [autovideoconverter] Executing post watch folder processing hook... post-watch folder processing: Watch folder = /watch watch folder empty, shutting down [autovideoconverter] Post watch folder processing hook exited with 0 [services.d] stopping services [services.d] stopping app... [services.d] stopping x11vnc... caught signal: 15 26/03/2019 23:50:01 deleted 40 tile_row polling images. [services.d] stopping statusmonitor... [services.d] stopping openbox... [services.d] stopping logmonitor... [services.d] stopping xvfb... [services.d] stopping autovideoconverter... [services.d] stopping nginx... [services.d] stopping certsmonitor... [services.d] stopping s6-fdholderd... [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] syncing disks. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting. So again, thank you!
  13. From the handbrake UI you need to set the destination folder to: /output/finished Sent from my iPhone using Tapatalk
  14. Done. Let me know if/when you need help with testing. Thanks for all your work on this container, it's very very useful.