teh0wner
Members-
Posts
56 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
teh0wner's Achievements
Rookie (2/14)
6
Reputation
-
Did you ever find a solution to this?
-
Any ideas why Authelia seems to be creating these docker containers automatically but serve no purpose?
-
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
teh0wner replied to DZMM's topic in Plugins and Apps
I'm using SA for that and uploads are working fine. The problem is with "downloading" -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
teh0wner replied to DZMM's topic in Plugins and Apps
So it seems I've bit hit with a ban - "Error 403: The download quota for this file has been exceeded., downloadQuotaExceeded" when trying to acess my files although I can't figure out why exactly. Looking at the Quota stats on https://console.developers.google.com/apis/api/drive.googleapis.com/quotas I don't see me even getting close to the quota. I've also tried creating a new client id/secret to by-pass this, but I'm still getting the same error back. I also have a completely different Team Drive using different credentials, and that seems to have been hit with a ban as well. Any ideas? -
Did you figure this out? Having the same issue here too.
-
Domain point to interal IP if accessed from LAN
teh0wner replied to teh0wner's topic in General Support
Mind pointing my in the right direction? Not quite sure how the conf should look like. I've got everything up and running with linuxserver letsencrypt. -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
teh0wner replied to DZMM's topic in Plugins and Apps
Partly one of the issues I was having - not sure what the best way of checking there's an upload currently running, or whether the mount script is currently running (and attempting to mount a drive - i.e. rclone_mount). -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
teh0wner replied to DZMM's topic in Plugins and Apps
I've written a small user script that reliably stops the array 100%. I'm not quite sure how 'safe' it is though - I haven't noticed any issues since I've been using it though. Here it is : #!/bin/bash ########################## ### fusermount Script #### ########################## RcloneRemoteName="google_drive_encrypted_vfs" RcloneMountShare="/mnt/user/data/remote_storage" MergerfsMountShare="/mnt/user/data/merged_storage" echo "$(date "+%d.%m.%Y %T") INFO: *** Starting rclone_fusermount script ***" while [[ -f "/mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running" ]]; do echo "$(date "+%d.%m.%Y %T") INFO: mount is running, sleeping" sleep 5 done while [[ -f "/mnt/user/appdata/other/rclone/remotes/$RcloneUploadRemoteName/upload_running" ]]; do echo "$(date "+%d.%m.%Y %T") INFO: upload is running, sleeping" sleep 15 done fusermount -uz "$MergerfsMountShare/$RcloneRemoteName" fusermount -uz "$RcloneMountShare/$RcloneRemoteName" echo "$(date "+%d.%m.%Y %T") INFO: ***rclone_fusermount script finished ***" exit Essentially what I'm doing, is checking whether mount is currently running and/or upload is currently running. If either of them are, then the script (and stopping the array) is paused for a few seconds and tries again. Once mount and upload has finished, it will proceed to fusermount -uz (both rclone and mergefs), and then the array stops just fine. I've been using this for the past week with no issues and the array stops always. Let me know what you think if you get to use it -
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
teh0wner replied to DZMM's topic in Plugins and Apps
How safe would manually doing fusermount -uz (on array stop) be if mount_running and upload_running don't exist? (i.e. those 2 scripts aren't running)? -
I'm not sure whether this is even possible, but here's my question. Is there a way I can make the domain I use for my unRAID server, if accessed internally, to point to an IP:PORT instead? I'm using letsencrypt and nginx to achieve a reverse proxy, where sonarr.mydomain.com, for example, works. However, if accessing within my LAN, I want to be able to bypass authentication set-up by nginx, and go directly into sonarr. My idea was to somehow, if that URL is accessed from my LAN, then make it points to SONARR-IP:PORT directly. I hope this makes sense. Thanks
-
Oh wow, amazing. Didn't know this existed - exactly what I was looking for. Thanks
-
+1 - Starting to use more and more dockers and the GUI is getting a bit messy to manage. A way of grouping 'related' Dockers would be great.
-
I'm having some issues with the permissions as well. Even adding the chmod in go, it doesn't seem to apply on boot. root@XXX-XXXX:/usr/local/emhttp/webGui/event/starting# ls -ltra total 4 drwxr-xr-x 9 root root 180 May 3 10:54 ../ -rw------- 1 root root 164 May 3 10:54 fetch_key drwxrwxrwx 2 root root 60 May 3 10:54 ./ And my go looks like this root@XXX-XXX:/boot/config# cat go #!/bin/bash # auto unlock array mkdir -p /usr/local/emhttp/webGui/event/starting mkdir -p /usr/local/emhttp/webGui/event/started mkdir -p /usr/local/emhttp/webGui/event/stopped cp -f /boot/custom/bin/fetch_key /usr/local/emhttp/webGui/event/starting cp -f /boot/custom/bin/delete_key /usr/local/emhttp/webGui/event/started cp -f /boot/custom/bin/fetch_key /usr/local/emhttp/webGui/event/stopped chmod a+x /usr/local/emhttpd/webGui/event/starting/fetch_key chmod a+x /usr/local/emhttpd/webGui/event/started/delete_key chmod a+x /usr/local/emhttpd/webGui/event/stopped/fetch_key # Start the Management Utility /usr/local/sbin/emhttp & The actual fetch_key and delete_key scripts work fine, as when I chmod them manually and run, they work.
-
Guide: How To Use Rclone To Mount Cloud Drives And Play Files
teh0wner replied to DZMM's topic in Plugins and Apps
I've not even tried uploading. Fresh reboot, manually run rclone_mount, stop. Always fails 100%. I've not got to the bottom of it either, but will revert if I do. I was thinking maybe writing another script that checks if an upload if running, and if not, then run fusermount -uz on the rclone mounts, and then stop the array. Do you think that'll cause issues? Edit: Something along the lines of the below: #!/bin/bash ########################## ### fusermount Script #### ########################## RcloneRemoteName="google_drive_encrypted_vfs" RcloneMountShare="/mnt/user/XYZ/remote_storage" MergerfsMountShare="/mnt/user/XYZ/merged_storage" echo "$(date "+%d.%m.%Y %T") INFO: *** Starting rclone_fusermount script ***" while [[ -f "/mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running" ]]; do echo "$(date "+%d.%m.%Y %T") INFO: mount is running, sleeping" sleep 5 done while [[ -f "/mnt/user/appdata/other/rclone/remotes/$RcloneUploadRemoteName/upload_running" ]]; do echo "$(date "+%d.%m.%Y %T") INFO: upload is running, sleeping" sleep 15 done fusermount -uz "$MergerfsMountShare" fusermount -uz "$RcloneMountShare" echo "$(date "+%d.%m.%Y %T") INFO: ***rclone_fusermount script finished ***" exit -
It's more of question of what if I'm unavailable to enter the passphrase, than not being able to. People reliant on the server would have to wait for me to enter the passphrase, whereas, I would prefer to automate this process with FTP or similar. Only downside, is I don't have a keyfile to follow the tutorials. Unless it's just a matter of echo "passphrase" > keyfile ? Edit: Indeed, that's the way.