Jump to content

Djoss

Community Developer
  • Content Count

    1187
  • Joined

  • Last visited

  • Days Won

    8

Djoss last won the day on July 12 2018

Djoss had the most liked content!

Community Reputation

236 Very Good

3 Followers

About Djoss

  • Rank
    Advanced Member

Converted

  • Gender
    Male
  • Location
    Canada

Recent Profile Visitors

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

  1. Which errors are you talking about?
  2. Do you have plenty of space on your cache drive? From what I've read, the error you get may have been caused by a lack of space. Also, do you have backups of you appdata folder that you could restore? If not, you could try the following: First, make sure to do a copy of your app data folder. Make sure the container is stopped. Rename these file in your appdata folder: mv mysql/ib_logfile0 mysql/ib_logfile0.bak mv mysql/ib_logfile1 mysql/ib_logfile1.bak Start the container.
  3. It seems that the first messages are lost, probably because the log get flooded by error messages. Can you try again, starting with an empty appdata folder? Try to get the log soon after the errors start to flood. Also, are you using default container settings? Finally, to check if your problem is related to the storage, try to set the appdata folder to "/tmp/NginxProxyManager".
  4. This is really strange. Can you attach the full container log? You can get it by executing "docker logs NginxProxyManager"
  5. So it never worked? Which filesystem are you using? Try to stop the container, remove the appdata and start the container again.
  6. What CrashPlan is doing exactly during this time? If it's the verification scan, you can set the time at which it is performed via your console: https://www.crashplan.com/console
  7. Djoss

    [Support] Djoss - HandBrake

    So your "handbrakedocker" folder seems to have the correct/normal ownership/permissions. Likely a permission issue with SMB?
  8. Djoss

    [Support] Djoss - HandBrake

    Are the files/folders have the same ownership and permissions (compare between a working and non-working one)? Verify with "ls -l".
  9. Djoss

    [Support] Djoss - HandBrake

    Try to copy-paste or download the script from https://gist.githubusercontent.com/jlesage/b2770b32bcfb8d1138887d86673ad8a8/raw/b82a2a089e7bd63d74d5d66cff4d8798763c3d1b/pre_conversion.sh. It's working for me.
  10. Djoss

    [Support] Djoss - HandBrake

    For sure, under Linux, the UI doesn't support NVENC. It seems that the command line could support it, but this is to validate. Also, as indicated by the messages you mentioned, some libraries are missing in the container... and I'm not sure if sources are available to compile them.
  11. Djoss

    [Support] Djoss - HandBrake

    Or it might be a good feature to add... Can you add feature request at https://github.com/jlesage/docker-handbrake/issues ?
  12. Djoss

    [Support] Djoss - HandBrake

    Yep, missing the last ';;'... Try this: #!/bin/sh # # This is an example of a pre-conversion hook. This script is always invoked # with /bin/sh (shebang ignored). # # The first parameter is the full path where the video will be converted. # # The second parameter is the full path to the source file. # # The third argument is the name of the HandBrake preset that will be used to # convert the video. # CONVERTED_FILE="$1" SOURCE_FILE="$2" PRESET="$3" echo "pre-conversion: Output File = $CONVERTED_FILE" echo "pre-conversion: Source File = $SOURCE_FILE" echo "pre-conversion: Preset = $PRESET" EXTENSION="$(echo "${SOURCE_FILE##*.}" | tr '[:upper:]' '[:lower:]')" case "$EXTENSION" in avi|mp4) # Nothing to do. Allow conversion of known video files. echo "pre-conversion: allowing file conversion." ;; mkv) # Do not convert MKVs. Move the file to its final destination. EXTENSION="$(echo "${CONVERTED_FILE##*.}" | tr '[:upper:]' '[:lower:]')" if [ "$EXTENSION" = "mkv" ]; then echo "pre-conversion: file conversion not required, moving file." mkdir -p "$(dirname "$CONVERTED_FILE")" mv "$SOURCE_FILE" "$CONVERTED_FILE" else echo "ERROR: Destination file has unexpected extension '$EXTENSION'." fi ;; *) # Remove unknown files. echo "pre-conversion: preventing file conversion by removing file." rm "$SOURCE_FILE" ;; esac
  13. Is this glitch occur while navigating in the UI? BTW, you can click File->Exit to restart only the UI. This should be faster than restarting the container.
  14. Djoss

    [Support] Djoss - HandBrake

    The automatic video converter and hooks run under a non-privileged user, so killing process id 1 won't work. However, since exiting HandBrake also terminate the container, this should work: killall -sigterm ghb
  15. Djoss

    [Support] Djoss - HandBrake

    Hooks are simple shell scripts that are executed by the automatic video converter. To enable the hook, you just need to add a shell script at the right location. First copy the example hook: cp /mnt/usr/appdate/HandBrake/hooks/pre_conversion.sh.example /mnt/usr/appdate/HandBrake/hooks/pre_conversion.sh Then you can edit /mnt/user/appdata/HandBrake/hooks/pre_conversion.sh and do what ever you want. Here is an example of what I think you try to achieve: #!/bin/sh # # This is an example of a pre-conversion hook. This script is always invoked # with /bin/sh (shebang ignored). # # The first parameter is the full path where the video will be converted. # # The second parameter is the full path to the source file. # # The third argument is the name of the HandBrake preset that will be used to # convert the video. # CONVERTED_FILE="$1" SOURCE_FILE="$2" PRESET="$3" echo "pre-conversion: Output File = $CONVERTED_FILE" echo "pre-conversion: Source File = $SOURCE_FILE" echo "pre-conversion: Preset = $PRESET" EXTENSION="$(echo "${SOURCE_FILE##*.}" | tr '[:upper:]' '[:lower:]')" case "$EXTENSION" in avi|mp4) # Nothing to do. Allow conversion of known video files. echo "pre-conversion: allowing file conversion." ;; mkv) # Do not convert MKVs. Move the file to its final destination. EXTENSION="$(echo "${CONVERTED_FILE##*.}" | tr '[:upper:]' '[:lower:]')" if [ "$EXTENSION" = "mkv" ]; then echo "pre-conversion: file conversion not required, moving file." mkdir -p "$(dirname "$CONVERTED_FILE")" mv "$SOURCE_FILE" "$CONVERTED_FILE" else echo "ERROR: Destination file has unexpected extension '$EXTENSION'." fi ;; *) # Remove unknown files. echo "pre-conversion: preventing file conversion by removing file." rm "$SOURCE_FILE" esac I hope this help.