Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NewDisplayName

Members
  • Joined

  • Last visited

Everything posted by NewDisplayName

  1. So, it seems that sometimes scripts dont get rerun when they running, and sometimes they do. I want to avoid that problem by running another script: #!/bin/sh ### Here you can enter your hosts IP addresses, you can add as much was u want, but then u need to also specify them later in code host=192.168.86.42 #host2=192.168.86.48 #host3=192.168.86.154 ### Hosts ### Ping 3 hosts ping -c 1 -W1 -q $host > /dev/null if [ $? == 0 ]; then ### Check if script already run if [[ -f "/mnt/user/appdata/other/speed/rclone_killed" ]]; then logger ""$(date "+%d.%m.%Y %T")"" rclone bereits gekillt. exit else touch /mnt/user/appdata/other/speed/rclone_killed fi ### logger min. 1 Ping erfolgreich, rclone gekillt. ### rclone killen ps -ef | grep "rclone" | grep -v 'grep' | grep -v 'mount' | awk '{ print $2 }' | xargs kill ### else logger Ping nicht erfolgreich, rclone kann wieder starten. rm -f /mnt/user/appdata/other/speed/rclone_killed exit fi problem here is, that this scripts run forever and i dont know why. Ive set everywhere a exit, so this script should stop at some pojnt... why not?
  2. I fixed it by using my own client id... i guess its bc if u use the global rclone api..^^
  3. Thats normal. It will lower the speed it tries until it works.
  4. Then its working. Create a file in rclone upload (folder and file) and start upload script.
  5. Ah, okay, that makes sense i guess...
  6. Before you try anything, your mount script need to run correct. Install VIM on unraid and paste the script in there and remove the wrong things. Then you can copy out of VIM and save it.
  7. Thanks! just to be sure, id idnt added a RO directory, i changed (added) a RW directory... is your answer still valid?
  8. haha, i had the exact same problem. there are "." hidden inside the script, you can only see it with a real unix texteditor. I think i used vim to get rid of them. (if u paste the text in vim u see the ".") rclone not instsalled maens it cant find the mountcheck file
  9. Is the mount script correct starting without errors? @DZMM I just mean, do i need to change your cleanupscript because im using more/different folders?
  10. @DZMM Is your cleanup script STILL working? Using mostly your settings. unionfs -o cow,allow_other,direct_io,auto_cache,sync_read /mnt/user/rclone_upload/google_vfs=RO:/mnt/user/Archiv=RW:/mnt/user/mount_rclone/google_vfs=RO /mnt/user/mount_unionfs/google_vfs 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 I also changed my upload script to this: rclone move /mnt/user/Archiv/Filme gdrive_media_vfs:Filme -vv --drive-chunk-size 128M --checkers 1 --fast-list --transfers 4 --exclude .unionfs/** --exclude *fuse_hidden* --exclude *_HIDDEN --exclude .recycle** --exclude *.backup~* --exclude *.partial~* --delete-empty-src-dirs --fast-list --tpslimit 3 --min-age 8y && rclone move /mnt/user/Archiv/Serien gdrive_media_vfs:Serien -vv --drive-chunk-size 128M --checkers 1 --fast-list --transfers 4 --exclude .unionfs/** --exclude *fuse_hidden* --exclude *_HIDDEN --exclude .recycle** --exclude *.backup~* --exclude *.partial~* --delete-empty-src-dirs --fast-list --tpslimit 3 --min-age 8y But i want to add /Musik later. Also what to do when i have some ghost files which cant be deleted? (its one file actually) Its one the local drive somewhere, but not in the cloud (no problems so far, but cleanup script is throwing erros bc of this) 20.12.2018 08:28:16 INFO: starting unionfs cleanup. rm: cannot remove '/mnt/user/mount_rclone/google_vfs/mnt/user/mount_unionfs/google_vfs/.unionfs/Filme/1922 (2017)/1922 (2017).mkv': No such file or directory rm: cannot remove '/mnt/user/mount_unionfs/google_vfs/.unionfs/Filme/1922 (2017)/1922 (2017).mkv_HIDDEN~': Permission denied Script Finished Thu, 20 Dec 2018 08:28:17 +0100
  11. mount union is the combination of your local and remote files, if it dont show anything, its not working. important is that you run the mount via background, not via "RUN SCRIPT".
  12. "Terminal" is no longer working... unraid-server-diagnostics-20181216-1159.zip
  13. Okay, its happening again. If it says "RUNNING ABORT SCRIPT" will it rerun while its running? Or not?
  14. something is already listening on that port - i guess you startet it multiple times - after each try, just to be sure, you could reboot. this also makes it so that you know ur scripts are working ok.
  15. I checked why my is so slow. Its the plex/cpu/transcode what ever, if i start it direct via smb dl starts instant and the movie maybe in 7 seconds.
  16. restarting the server fixed the issue, still i dont know why it was happening?!
  17. Anyone a idea why my script doesnt get run anymore? */5 * * * * Its running since the start of the day, but since then it doesnt get recalled. Its an upload script which shoudl stop itself after PCs go online... What can be the problem when the script doenst get run anymore? (I see in log it is working, but i see it dont get run every 5 min)
  18. I also wonder, files which are on gdrive take around half a minute to start, the mysterios thing is, that if i click the movie... it doenst start downloading (i can see that), it waits like 30 seconds, then starts downloading and then starts the movie... Oo Using all the standard settings besides lower chunk size... and buffer size Its not a big problem, but i wonder why it takes so long to start the movie if i have 3 files on gdrive...
  19. I already used that ports from ombi, didnt want to change so i dont forgett what the port was...
  20. Why is rclone rc core/bwlimit rate=1M not working? https://rclone.org/docs/ I cant use my internet now, its crazy. root@Unraid-Server:~# ps auxf |grep 'rclone'|`awk '{ print "kill -SIGUSR2 " $2 }'` -bash: kill: (13791) - No such process -bash: kill: kill: arguments must be process or job IDs -bash: kill: -SIGUSR2: arguments must be process or job IDs -bash: kill: kill: arguments must be process or job IDs -bash: kill: -SIGUSR2: arguments must be process or job IDs -bash: kill: kill: arguments must be process or job IDs -bash: kill: -SIGUSR2: arguments must be process or job IDs -bash: kill: kill: arguments must be process or job IDs -bash: kill: -SIGUSR2: arguments must be process or job IDs -bash: kill: kill: arguments must be process or job IDs -bash: kill: -SIGUSR2: arguments must be process or job IDs -bash: kill: kill: arguments must be process or job IDs kill -SIGUSR2 `pgrep -f rclone` Does work, but how do i know in which state rclone is.... because it toggles between bw limit and none....
  21. I guess u can create teamdrives without a team...
  22. So, i figured everything out and nearly all is working. Only one thing. If i killall -9 rclone, the upload doenst stop. i need to killall -9 rcloneorig but then /mnt/user/mount_rclone/google_vfs is no longer working Is there any way i can limit or stop the upload, without having to remount every time..??? And no, i dont want to always limit it. Okay i found something: root@Unraid-Server:~# rclone rc core/bwlimit rate=1M { "rate": "1M" } root@Unraid-Server:~# kill -SIGUSR2 rclone -bash: kill: rclone: arguments must be process or job IDs Sigusr2 will remove the limit (exactly what im searching for) but how to i get the process ID(s)? root@Unraid-Server:~# ps -A -o pid,cmd|grep rclone | grep -v grep |head -n 1 | awk '{print $1}' 5037 root@Unraid-Server:~# kill -SIGUSR2 5037root@Unraid-Server:~# ps -A -o pid,cmd|grep rclone | grep -v grep |head -n 1 | kill -SIGUSR2 '{print $1}' -bash: kill: {print $1}: arguments must be process or job IDshead: write error: Broken piperoot@ Unraid-Server:~# ps -A -o pid,cmd|grep rclone | grep -v grep |head -n 1 | kill -SIGUSR2 $1kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] head: write error: Broken pipe root@Unraid-Server:~# ps -A -o pid,cmd|grep rclone | grep -v grep |head -n 1 | kill -SIGUSR2 $1 kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] head: write error: Broken pipe root@Unraid-Server:~# ps -A -o pid,cmd|grep rclone | grep -v grep |head -n 1 | kill -SIGUSR2 '$1' -bash: kill: $1: arguments must be process or job IDs head: write error: Broken pipe pgrep: no matching criteria specified Try `pgrep --help' for more information. root@Unraid-Server:~# pgrep rclone 5040 13199 13201 14916 14924 15576 15578
  23. Because i nee dto make omby reachable by outside... and i use the port already in bridge...
  24. Besides this i got everything working, finally, big thanks @ all. Only thing left is a script which runs over my old archive and mves old (1y or older) files to the rclone mount upload folder (incl. (sub)directorys) But it should max mv X files at the same time, or only when less then X files in rlcone upload folder. (not that my whole archive sits the next year inside the upload directory... xD) anyone any idea?

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.