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.

Phoenix Down

Members
  • Joined

  • Last visited

Everything posted by Phoenix Down

  1. So I just read through this whole thread, and your post seems to be most relevant to what I'm trying to do. Here is my situation: - I have a Share called "Recordings" that are for my security cam videos, and set to "No Cache". - I have Shinobi record security camera footage to "/mnt/user0/Recordings" - I would like to set up a continuous sync to my Google Drive to make sure my security footage are backed up to the cloud with as little latency as possible, in the event of a smash and grab job. Previously, I had a QNAP, and that was dead simple to setup using their NVR app and Hybrid Cloud Sync app. I'm trying to replicate the functionality in Unraid. Here's what I've tried so far: I've already tried the Rclone and Rclone-mount dockers and hit a brickwall. I tried mounting my Gdrive remote folder (/NVR) to "/mnt/user0/Recordings". However, the directories in "/mnt/user" and "/mnt/user0" are all owned by "nobody/users", but directories and files below that level are all owned by different users. In the Recordings folder's case, all files under it are owned by "root/root". When I try to mount my remote Gdrive dir to "/mnt/user0/Recordings", I can either mount it as "nobody/users" or "root/root". In either case, it appears to disconnect it from "/mnt/user/Recordings". So on my PC where I have "Recordings" mounted as a SMB share, I don't see any new files written into "/mnt/user0/Recordings". And conversely, if I write any new files into the "Recordings" SMB share (or directly into "/mnt/user/Recordings" in Unraid terminal), those new files do not appear in "/mnt/user0/Recordings". I see that you've recommended to never mount rclone remotes to user share location, which is exactly what I tried to do. What are the reasons you said that? Does it have anything to do with the difficulties I've encountered? Any suggestions on how to best go about doing what I want?
  2. Hi all, just curious why is everyone using this rclone plugin instead of the rclone docker? The support thread for that is basically deserted, and this thread seems pretty active. Trying to resolve an issue but getting crickets there.
  3. Actually, I give up... I can't figure this out. The /mnt/user/ (and /mnt/user0/) level directories (i.e. top level Shares directories) are owned by user "users" of group "nobody". However, the directories and files under the share directory are owned by different users. In the case of my Recordings share, user "root" of group "root". The issue is that while the Google Drive sync now works, using rclone mount on the share directory /mnt/user0/Recordings causes it to become detached from mnt/user/Recordings: root@Tower:~# ll /mnt/user/Recordings/EVSxZIbF5O/v9rIt25frt -t | head -n 5 total 10046608 -rwxrwxrwx 1 root root 42222057 Jul 19 16:01 2020-07-19T16-00-01.mp4* -rwxrwxrwx 1 root root 149096106 Jul 19 16:00 2020-07-19T15-55-02.mp4* -rwxrwxrwx 1 root root 148676838 Jul 19 15:55 2020-07-19T15-50-03.mp4* -rwxrwxrwx 1 root root 147915613 Jul 19 15:50 2020-07-19T15-45-02.mp4* root@Tower:~# ll /mnt/user0/Recordings/EVSxZIbF5O/v9rIt25frt -t | head -n 5 total 10018788 -rw-rw-rw- 1 root root 41576895 Jul 20 10:31 2020-07-20T10-30-07.mp4 -rw-rw-rw- 1 root root 150686208 Jul 20 10:30 2020-07-20T10-25-06.mp4 -rw-rw-rw- 1 root root 145905208 Jul 20 10:25 2020-07-20T10-20-10.mp4 -rw-rw-rw- 1 root root 144632439 Jul 20 10:20 2020-07-20T10-15-09.mp4 This means if I mount the share on my Windows box, I don't see any new files written into /mnt/user0/Recordings (where I have Shinobi set to write into). And if I try to rclone mount /mnt/user/Recordings instead, rclone fails completely with permission errors, regardless if I set the uid/gid to users/nobody or root/root. I guess the moral of this story is: don't try to rclone mount a Share directory.
  4. In case anyone is looking for answers, I figured it out. To get the rclone mount to have the same user/group/permissions, you have to add the following to your RCLONE_MOUNT_OPTIONS (under Show More Settings): --uid=99 --gid=100 --umask=0000 User "nobody" has uid of 99, and group "users" has the gid of 100. The umask matches the default permissions of the share directory.
  5. https://www.kernel.org/doc/Documentation/sysctl/vm.txt
  6. So I have a share called "Recordings" that I have Shinobi record the security cam footage into. I tried to let rclone mount it to my designated sync folder on my Google Drive. But it appears to change the directory permission so that only user "911" has write permission. With "rclone mount" docker turned off: root@Tower:/mnt/user# ll -d Recordings drwxrwxrwx 1 nobody users 6 Jul 13 04:13 Recordings/ With "rclone mount" docker running: root@Tower:/mnt/user# ll -d Recordings drwxr-xr-x 1 911 911 0 Jul 13 04:17 Recordings/ This prevents me to writing anything in it when mounted on my PC as a SMB share. Pretty sure it will also prevent Shinobi from writing videos into it. How can I resolve this issue? I googled various combination of "rclone" and "user 911" but wasn't able to find anything other this thread and the other rclone thread on the Unraid forum.
  7. I'm running Shinobi to record videos from my security cameras. I'd like to sync the security camera videos to my Google Drive as close to real time as possible. Would rclone mount be a better option than rclone sync for this purpose?
  8. Personally, since my security cameras are not on 24/7, I have always recorded to my array for redundancy reasons. I also sync it to cloud storage for extra protection. I would hate to lose access to my security video when I really need it.
  9. You can already set the threshold under Settings -> Global Share Settings -> Cache Settings -> Min Free Space.
  10. Regarding OctoPrint - is there a command I can put in the Restart Server command setting?
  11. Yep, just standard mp4 video files.
  12. When I had my QNAP NAS, I synced my IP security camera videos to my Google Drive. No reason why you can't do something similar with Unraid. Maybe use Rclone to sync your camera footage to the cloud storage provider of your choice.
  13. There is a Feature Request forum for just that https://forums.unraid.net/forum/53-feature-requests/ I'm asked for read cache as well, but more as an intelligent tiering system (i.e. most frequently read data is automatically cached in the cache pool for fast reads, the stale data is evicted from cache). The CEO of LimeTech did hint that they are thinking along those lines. This is from an interview from last year: https://unraid.net/blog/unraid-14th-birthday-blog
  14. A file can only be in one place at one time. It's either on a disk in the array, or it's in the cache. It cannot be in two places at the same time. You are right about a single cache drive potentially failing and taking your data with it. That's why Unraid allows you to use more than 1 disk to create a cache pool. I run 2x 1TB NVMe SSDs in btrfs RAID1 for redundancy protection for my cache pool. With that said, regardless of your cache configuration, you can also consider the CA Appdata Backup / Restore app to automatically backup your appdata share, where you Dockers and VMs live: You will need the Community Applications plugin to get started. It basically gives you access to an app store of community developed apps that basically everyone uses. I encourage you to watch more of SpaceInvaderOne's Unraid Basics tutorial videos. He goes over this in the 2nd video and recommends some popular apps (CA Appdata Backup / Restore among them).
  15. You are missing something. Take a look at the various cache settings: The FAQ in general has a lot of useful info: https://forums.unraid.net/topic/46802-faq-for-unraid-v6/ Note that Unraid creates a default share "appdata", which is the default place VMs and Dockers live. Its cache setting is by default "Prefer". I also recommend you give SpaceInvaderOne's Unraid Basics tutorial series a look for a lot of good info on how to get the most out of Unraid: https://www.youtube.com/playlist?list=PL6MCtOroZNDCXhQQWrVjbPWO-45qV7SOF
  16. Thanks! Does switching the version wipe out your settings, indexes, and kv stores?
  17. Does this install the 60 day free enterprise trial license?
  18. Got it, thanks for the explanation! Any downsides in using this custom kernel? It will always be a step behind the official Unraid kernel, right?
  19. First of all, thanks for the solution A couple of questions: 1. What is LibreElect and why is that needed to get the webcam to work? 2. How do you download LibreElect? Is it through Community Apps?
  20. Question about Dynamix System Autofan: What do the temperature threshold refer to? I don't see an option to associate the temperature readings to specific temp sensors, so I assume it's just the average of disk temperatures? What if I want to associate my CPU fan controller (pwm1) to the CPU temperature, and not the disk temperature? Are the settings separate for each PWM controller? I see only "Fan control function" as "Enabled' or "Disabled". Does it mean it's all or nothing? What if I only want to enable System Autofan for some of my fans (namely my case fans, and not my CPU and HBA fans, especially if the reference temperature is always the disks)?
  21. Make sure the Shinobi docker is running, then open a console for the docker (click on the Shinobi icon, then choose "Console"), then run the following: mysql source sql/framework.sql; source sql/user.sql; exit
  22. Just thought I'd ask It would be nice for Disk Location to be consistent with how Unraid displays spun-down disks
  23. Great plugin, thanks! Question: for disks that are spun-down, is there a setting to make the status lights just permanently grey like on the Main screen? The flashing green/grey light makes it much less glanceable. I have to wait a few seconds to see if they are green full time or if I just glanced at it while it was green during a blink.
  24. Try doing it with the JavaScript Console open and see if you see any errors. It's generally under the Developer menu for most browsers.
  25. Fantastic post. Had this exact problem. This worked!

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.