mestep

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by mestep

  1. I had this working great for a few months, but hten the power went out and my unraid server turned off unexpectedly.. since then I haven't been able to get this thing to work well. I can see and view the files, but then when I use plex to watch a movie, after about 3 minutes it just freezes up. I can see the directories of the files, but can't actually view and of the files. Any idea what is going on? I tried to find some logs but I am having a really hard time finding anything with rclone logs. On the main unraid page, the CPU's look to be maxed out.. but opening up a terminal and running htop, they are at about 10%. Not sure if this has anything to do with it. My scripts are taken directly from the github.
  2. Sometimes files start to disappear on the local unionfs mount, they are still in the cloud. I have to unmount/remount unionfs for things to show back up.. Anyway to fix this? I changed the buffer size to 32MB.. will see how it goes.
  3. This is why I am not a programmer. I think I have it right in my head but I was running that script from the library folder, so I was chmodding a file that was in the wrong location. I feel pretty dumb, lol. Anyway, is there a way to be able to run the nvidia_dec.sh from the user scripts plugin that will interface with the Plex docker?
  4. This is what I have in my "Plex Transcoder" file in /appdata/PlexMediaServer/Library/Application Support/Plex Media Server #!/bin/sh /usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "$@" and in my nvidia_dec.sh #!/bin/sh mv /usr/lib/plexmediaserver/Plex\ Transcoder /usr/lib/plexmediaserver/Plex\ Transcoder2 cp /config/Library/Application\ Support/Plex\ Media\ Server/Plex\ Transcoder /usr/lib/plexmediaserver/ chmod +x Plex\ Transcoder chmod +x Plex\ Transcoder2 I don't know how to run the script through unraid front end, but I ran it when I got in the container... still isn't working. Am I missing something? I am running Version 1.15.0.659
  5. I honestly am not too good at linux. I did everything typing in from the command line through the docker. I am not sure how to get the bash script setup. I do have the userscripts plugin, but I just don't know how to get it to interface within a docker container.
  6. Trying to do the nvdec thing. I followed the instructions and I try to play a video in my browser. It keeps spinning and never loading. Then I get "conversion failed. The transcoder exited due to an error." I am using a GTX1050
  7. NVENC would make this great. it is using ffmpeg, so if I pass through the gpu credentials to the docker, would unmanic be able to take advantage? Currently I just have a 2core g3258 cpu, so converting to h265 using cpu only would not be efficient at all. I am getting a GTX1050 in today, so I should be able to use it for Plex transcoding, it would just be nice to be able to take advantage of it through unmanic as well.
  8. Mine is basically the same. I am not using teamdrive: #!/bin/bash touch /mnt/user/appdata/other/rclone/rclone_mount_cleanup ################### Clean-up UnionFS Folder ######################### echo "$(date "+%d.%m.%Y %T") INFO: starting unionfs cleanup." find /mnt/user/mount_unionfs/google_vfs/.unionfs -name '*_HIDDEN~' | while read line; do oldPath=${line#/mnt/user/mount_unionfs/google_vfs/.unionfs} newPath=/mnt/user/mount_rclone/google_vfs${oldPath%_HIDDEN~} rm "$newPath" rm "$line" done find "/mnt/user/mount_unionfs/google_vfs/.unionfs" -mindepth 1 -type d -empty -delete rm /mnt/user/appdata/other/rclone/rclone_mount_cleanup exit I delete the "test" folder in the root of mount_unionfs/google_vfs/ and run the script, this is the log: 15.02.2019 15:37:19 INFO: starting unionfs cleanup. rm: cannot remove '/mnt/user/mount_rclone/google_vfs/test': Is a directory rm: cannot remove '/mnt/user/mount_unionfs/google_vfs/.unionfs/test_HIDDEN~': Is a directory Script Finished Fri, 15 Feb 2019 15:37:19 -0500 Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_cleanup/log.txt I think it is a permissions issue, but I don't know enough about linux to figure it out.
  9. Alright, I think I finally understand everything now. Thank you for all your help! It just took me too long to understand the simple concept of: mount_rclone = cloud files rclone_upload = local files mount_unionfs = combines mount_rclone and rclone_upload One final thing. I saw someone post this earlier, but never got a definitive answer. The cleanup script isn't working: rm: cannot remove '/mnt/user/mount_rclone/google_vfs/4k Movies/FOLDER': Is a directory rm: cannot remove '/mnt/user/mount_unionfs/google_vfs/.unionfs/4k_ Movies/FOLDER_HIDDEN~': Is a directory Not sure what is going wrong with it. It deletes the files but leaves the directories.
  10. I don't mean to sound stupid or anything. If I put stuff in the union folder instead of the upload folder, it will still get uploaded to the cloud, right? Right now I have sabnzbd set to download to the upload folder, can/should I have it set to download to union?
  11. So it looks like things move from the upload folder instantly to the union folder. Is this the way it should be? Also how do I know that files are getting uploaded and are off my local unraid box?
  12. i think i got it working, will have to take a little to check to make sure. So the rclone_unionfs folder is where I will point Plex/Sonarr to. Sonarr download folder and whatever else I want to upload to gdrive will be the rclone_upload folder. When it finishing syncing, the files will appear in the unionfs folder, but they are dummy files taking no space on my actual unraid server. After uploading, the files in rclone_upload folder will be deleted. Do I have this correct?
  13. I am getting stuck at the first step.. So for the client_ID, where/how do I get that?