neow

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by neow

  1. i saw your posts at the beginning of the thread when you were not an expert you were nicer with people sorry for the mp i will not do it again btw i have a prblem with the upload script : 15.06.2019 20:32:55 INFO: rclone not installed - will try again later. Script Finished Sat, 15 Jun 2019 20:32:55 +0200 Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_custom_plugin/log.txt upload script is : #!/bin/bash ####### Check if script already running ########## if [[ -f "/mnt/user/appdata/other/rclone/rclone_upload" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Exiting as script already running." exit else touch /mnt/user/appdata/other/rclone/rclone_upload fi ####### End Check if script already running ########## ####### check if rclone installed ########## if [[ -f "/mnt/user/mount_rclone/google_vfs/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: rclone installed successfully - proceeding with upload." else echo "$(date "+%d.%m.%Y %T") INFO: rclone not installed - will try again later." rm /mnt/user/appdata/other/rclone/rclone_upload exit fi ####### end check if rclone installed ########## # move files rclone move /mnt/user/rclone_upload/google_vfs/ gdrive_media_vfs: -vv --drive-chunk-size 512M --checkers 3 --fast-list --transfers 2 --exclude .unionfs/** --exclude *fuse_hidden* --exclude *_HIDDEN --exclude .recycle** --exclude *.backup~* --exclude *.partial~* --delete-empty-src-dirs --fast-list --bwlimit 9500k --tpslimit 3 --min-age 30m # remove dummy file rm /mnt/user/appdata/other/rclone/rclone_upload exit thanks for any help
  2. Is anybody can share is settings for docker for folders etc... plex radar sonarr? thanks Other question, can i use two servers unraid with the same scripts, same token, same folders?
  3. ok i didn't understand the main objective of your scripts sorry
  4. ok if i put files to mount_unionfs (not rclone_upload), it's still store locally even after the upload? (like dropbox with local copy synchronized?) i understood if i put directly my files to upload_rclone they will be erased once the upload is complete i am just afraid google close my account g drive and i lost everything
  5. To be understandable i wanted : 1- to update all my files to gdrive and keep them in local for secure them and shut down my big unraid server to save electricity 2- use a small nuc server connected to gdrive crypted to use with plex server (with unraid server shutted down) 3- if i see everything is ok erase my unraid files without erase gdrive crypted files When you say this : "All your 'media' dockers - plex, radarr, sonarr etc should be mapped to the unionfs folder" you talk about this file ? : root-> unraid->user->mount_unionfs->google_vfs i don't understand this sentence : "1. I think yes - as above this is the file 'view' that is what your dockers etc need to use" i don't have a file named "view" i think i understand the process : 1- mount_unionfs is gdrive decrypted ( store locally) 2- mount_rclone is gdrive encrypted (not stored locally) 3- Rclone_upload is the files who are updated to mount_rclone 1- which folder can i erase once it uploaded to earn space on unraid but keep the files in Gdrive as you did with your server? 2- A contrario, if i want to uploaded and keep files in unraid in just move plex files to mount_unionfs and i will keep them locally once it has been updated?
  6. ok thank you i have some stupid questions: 1- if i change my server to another place with another ip adress, is it a problem, should i configure the link to gdrive again? 2-if i want to upload (and keep them locallly) files from plex in my unraid server to gdrive uncrypted in which folder should i move them in unraid? 3-if i want to upload (and erase them locallly to earn space disk) files from plex in my unraid server to gdrive uncrypted in which folder should i move them in unraid? 4- with plex server, which files in unraid i need to track to use only gdrive uncrypted files? 5- can i use a small energy computer like nuc with windows 10 to install plex server and have access to gdrive data uncrypted? what software should i use to mount the gdrive uncrypted to windows 10 and decrypt it? because my unraid server actually costs me too much electricity 6- and please reexplain me the utility of clean script i don't understand at all what it does the procedure i use to upload to gdrive uncrypted is: 1- copy/moving file to root-> unraid->user->mount_unionfs->google_vfs 2- launch the upload script is it correct? am i right to think : 1- root-> unraid->user->mount_unionfs->google_vfs is store in local? 2- root->unraid->user->rclone_upload->google_vfs is just a passerelle, i don't have to put anything in it. When i launch script it takes new data from root-> unraid->user->mount_unionfs->google_vfs and delete it automatically by script when is done, am i right? 3- i don't understand the utility of the file root-> unraid->user-> mount_rclone-> google_vfs is it store in local or in gdrive? is it just the view decrypted of my gdrive? plex needs to be configure on this file? the question can be resume by, which file rclone is stored in my unraid server, which file rclone is gdrive connection and not stored in my unraid server i had my first upload today i am very happy thanks to you 😍
  7. hello i reboot this morning an before i cleared the files you told me, please fin enclosed the result: Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script Note that closing this window will abort the execution of this script 13.06.2019 09:36:44 INFO: rclone installed successfully - proceeding with upload. 2019/06/13 09:36:44 DEBUG : --min-age 30m0s to 2019-06-13 09:06:44.438200373 +0200 CEST m=-1799.994050761 2019/06/13 09:36:44 DEBUG : rclone: Version "v1.47.0-123-g939b19c3-beta" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone-beta/.rclone.conf" "move" "/mnt/user0/rclone_upload/google_vfs/" "gdrive_media_vfs:" "-vv" "--drive-chunk-size" "512M" "--checkers" "3" "--fast-list" "--transfers" "2" "--exclude" ".unionfs/**" "--exclude" "*fuse_hidden*" "--exclude" "*_HIDDEN" "--exclude" ".recycle**" "--exclude" "*.backup~*" "--exclude" "*.partial~*" "--delete-empty-src-dirs" "--fast-list" "--bwlimit" "9500k" "--tpslimit" "3" "--min-age" "30m"] 2019/06/13 09:36:44 DEBUG : Using config file from "/boot/config/plugins/rclone-beta/.rclone.conf" 2019/06/13 09:36:44 INFO : Starting bandwidth limiter at 9.277MBytes/s 2019/06/13 09:36:44 INFO : Starting HTTP transaction limiter: max 3 transactions/s with burst 1 2019/06/13 09:36:45 DEBUG : tl1q5apobimhco7a7eht612i0c: Skipping undecryptable file name: Bad PKCS#7 padding - too long 2019/06/13 09:36:45 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for checks to finish 2019/06/13 09:36:45 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for transfers to finish 2019/06/13 09:36:45 INFO : Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA - Errors: 0 Checks: 0 / 0, - Transferred: 0 / 0, - Elapsed time: 1.3s 2019/06/13 09:36:45 DEBUG : 6 go routines active 2019/06/13 09:36:45 DEBUG : rclone: Version "v1.47.0-123-g939b19c3-beta" finishing with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone-beta/.rclone.conf" "move" "/mnt/user0/rclone_upload/google_vfs/" "gdrive_media_vfs:" "-vv" "--drive-chunk-size" "512M" "--checkers" "3" "--fast-list" "--transfers" "2" "--exclude" ".unionfs/**" "--exclude" "*fuse_hidden*" "--exclude" "*_HIDDEN" "--exclude" ".recycle**" "--exclude" "*.backup~*" "--exclude" "*.partial~*" "--delete-empty-src-dirs" "--fast-list" "--bwlimit" "9500k" "--tpslimit" "3" "--min-age" "30m"] i think is better isn't it? i tried to run cleanup plugin he is the result: Script location: /tmp/user.scripts/tmpScripts/rclone_custom_plugin/script Note that closing this window will abort the execution of this script 13.06.2019 09:39:28 INFO: starting unionfs cleanup. find: '/mnt/user/mount_unionfs/google_vfs/.unionfs': No such file or directory find: '/mnt/user/mount_unionfs/google_vfs/.unionfs': No such file or directory
  8. as you can see here this is a messup i don't know why i have one .appdata (i just deleted) one appdata one rclone_upload one mount_rclone at root unraid user one mount_rclone at root unraid user appdata other rclone i have the same kind of problem with script cleanup unionfs the problem is the script check root mnt user appdata and i have nothing there no?
  9. ok like this? 1- i run on background mount 2- i run script upload 3- i get this : Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script Note that closing this window will abort the execution of this script 13.06.2019 00:05:22 INFO: rclone not installed - will try again later. 4- here is my upload script : #!/bin/bash ####### Check if script already running ########## if [[ -f "/mnt/user/appdata/other/rclone/rclone_upload" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Exiting as script already running." exit else touch /mnt/user/appdata/other/rclone/rclone_upload fi ####### End Check if script already running ########## ####### check if rclone installed ########## if [[ -f "/mnt/user/mount_rclone/google_vfs/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: rclone installed successfully - proceeding with upload." else echo "$(date "+%d.%m.%Y %T") INFO: rclone not installed - will try again later." rm /mnt/user/appdata/other/rclone/rclone_upload exit fi ####### end check if rclone installed ########## # move files rclone move /mnt/user/rclone_upload/google_vfs/ gdrive_media_vfs: -vv --drive-chunk-size 512M --checkers 3 --fast-list --transfers 2 --exclude .unionfs/** --exclude *fuse_hidden* --exclude *_HIDDEN --exclude .recycle** --exclude *.backup~* --exclude *.partial~* --delete-empty-src-dirs --fast-list --bwlimit 9500k --tpslimit 3 --min-age 30m # remove dummy file rm /mnt/user/appdata/other/rclone/rclone_upload exit thanks for your patience i will be lost without you guys edit: it's maybe because my folder is not at the good place like i said 1 page ago in script this is the location it checked /mnt/user/rclone_upload/google_vfs/ gdrive_media_vfs
  10. ok i just did it, now i have this Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script Note that closing this window will abort the execution of this script 12.06.2019 23:47:29 INFO: rclone not installed - will try again later.
  11. I have not the understanding of the problem to act. I can follow instructions that’s all unfortunately
  12. ok i have this now Script location: /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script Note that closing this window will abort the execution of this script 12.06.2019 23:33:03 INFO: mounting rclone vfs. 12.06.2019 23:33:08 INFO: Check rclone gdrive vfs mount success. 12.06.2019 23:33:08 INFO: Check successful, unionfs mounted. 12.06.2019 23:33:08 INFO: dockers already started seems better? isn't it? but upload script is not working i think Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script Note that closing this window will abort the execution of this script /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script: line 4: $'\357\273\277': command not found /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script: line 26: $'\357\273\277': command not found 12.06.2019 23:33:41 INFO: rclone not installed - will try again later.
  13. I found it , what do you want me to do? this is in root unraid user appdata other rclone
  14. i just restarted krusader this change nothing unfortunatly
  15. with the rclone upload plugin i have this : Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script Note that closing this window will abort the execution of this script /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script: line 4: $'\357\273\277': command not found /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script: line 26: $'\357\273\277': command not found 12.06.2019 22:42:40 INFO: rclone not installed - will try again later. log 2.txt
  16. i don't understand very well what you mean in root mnt user appdata i just have a kde folder with krusader you know i navigate only with krusader i am a big noob
  17. ok you update github now i have this : Script location: /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script Note that closing this window will abort the execution of this script 12.06.2019 22:34:25 INFO: Exiting script already running.
  18. ok i just installe nerd pack and the unionfs now i have this in mount plugin Script location: /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script Note that closing this window will abort the execution of this script 12.06.2019 22:02:44 INFO: mounting rclone vfs. 12.06.2019 22:02:50 INFO: Check rclone gdrive vfs mount success. 12.06.2019 22:02:50 INFO: Check successful, unionfs mounted. 12.06.2019 22:02:50 INFO: Starting dockers. Error response from daemon: No such container: plex Error: failed to start containers: plex Error response from daemon: No such container: ombi Error: failed to start containers: ombi Error response from daemon: No such container: tautulli Error: failed to start containers: tautulli Error response from daemon: No such container: radarr Error: failed to start containers: radarr Error response from daemon: No such container: sonarr Error: failed to start containers: sonarr edit : i restart after this plex server package and krusader and now i have this : Script location: /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script Note that closing this window will abort the execution of this script 12.06.2019 22:05:43 INFO: mounting rclone vfs. 2019/06/12 22:05:43 Fatal error: Can not open: /mnt/user/mount_rclone/google_vfs: open /mnt/user/mount_rclone/google_vfs: transport endpoint is not connected 12.06.2019 22:05:48 CRITICAL: rclone gdrive vfs mount failed - please check for problems. rm: cannot remove '/mnt/user/appdata/other/rclone/rclone_mount_running': No such file or directory
  19. #!/bin/bash ####### Start rclone gdrive mount ########## # check if gdrive mount already created if [[ -f "/mnt/user/mount_rclone/google_vfs/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Check rclone vfs already mounted." else echo "$(date "+%d.%m.%Y %T") INFO: mounting rclone vfs." # create directories for rclone mount and unionfs mount mkdir -p /mnt/user/appdata/other/rclone mkdir -p /mnt/user/mount_unionfs/google_vfs mkdir -p /mnt/user/rclone_upload/google_vfs rclone mount --allow-other --buffer-size 256M --dir-cache-time 72h --drive-chunk-size 512M --fast-list --log-level INFO --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off gdrive_media_vfs: /mnt/user/mount_rclone/google_vfs & # check if mount successful # slight pause to give mount time to finalise sleep 5 if [[ -f "/mnt/user/mount_rclone/google_vfs/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Check rclone gdrive vfs mount success." else echo "$(date "+%d.%m.%Y %T") CRITICAL: rclone gdrive vfs mount failed - please check for problems." rm /mnt/user/appdata/other/rclone/rclone_mount_running exit fi fi ####### End rclone gdrive mount ########## ####### Start unionfs mount ########## if [[ -f "/mnt/user/mount_unionfs/google_vfs/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Check successful, unionfs already mounted." else unionfs -o cow,allow_other,direct_io,auto_cache,sync_read /mnt/user/rclone_upload/google_vfs=RW:/mnt/user/mount_rclone/google_vfs=RO /mnt/user/mount_unionfs/google_vfs if [[ -f "/mnt/user/mount_unionfs/google_vfs/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Check successful, unionfs mounted." else echo "$(date "+%d.%m.%Y %T") CRITICAL: unionfs Remount failed." rm /mnt/user/appdata/other/rclone/rclone_mount_running exit fi fi ####### End Mount unionfs ########## ############### starting dockers that need unionfs mount ###################### # only start dockers once if [[ -f "/mnt/user/appdata/other/rclone/dockers_started" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: dockers already started" else touch /mnt/user/appdata/other/rclone/dockers_started echo "$(date "+%d.%m.%Y %T") INFO: Starting dockers." docker start plex docker start ombi docker start tautulli docker start radarr docker start sonarr fi ############### end dockers that need unionfs mount ###################### exit
  20. hello, thanks for your reply i appreciate a lot [gdrive] type = drive client_id = client_secret = scope = drive token = {"access_token":""} [gdrive_media_vfs] type = crypt remote = gdrive:crypt filename_encryption = standard directory_name_encryption = true password = password2 = the erros in rclone mount plugin ; Script location: /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script Note that closing this window will abort the execution of this script 12.06.2019 21:47:13 INFO: mounting rclone vfs. 12.06.2019 21:47:18 INFO: Check rclone gdrive vfs mount success. /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script: line 56: unionfs: command not found 12.06.2019 21:47:18 CRITICAL: unionfs Remount failed. rm: cannot remove '/mnt/user/appdata/other/rclone/rclone_mount_running': No such file or directory
  21. hello, i just suscribed g suite for upload my plex file to google. I try your logs. But i don't understand everything here is the log errors for mount : https://d.pr/i/TOnFob the config file : https://d.pr/i/e1UKZ7 the mount script i copy cut from github same for unmount script the user scripts from your github : https://d.pr/i/zXBbPD the mountcheck : https://d.pr/i/mPJajO the # rclone config : https://d.pr/i/G4Nkjo https://d.pr/i/2zFfSt https://d.pr/i/5wZd4M https://d.pr/i/xEM4h6 for encrypted : https://d.pr/i/3AeNBo I am a noob with coding and totally lost thanking you in advance, regards edit : i have an upload correct now to gdrive but still have some issues 1- an error with gdrive vfs https://d.pr/i/giI75Z i thin i made something wrong with configuration https://d.pr/i/SIneHX or here https://d.pr/i/BRYENB need help on this point 2- in krusader i have this : https://d.pr/i/wPGRY6 and this in the crypt file https://d.pr/i/KTUGSU first question what is the first strange file? second question the file crypt appears in gdrive https://d.pr/i/yZjjd0 but i can see the file, is it normal or should be crypt? 3- my main objective is to upload all my plex files to gdrive with crypt for being invisible to google but accessible to me everywhere, is it ok with my configuration rclone? 4- how to upload everything from my unraid library to my gdrive crypt folder without copy from krusader to local? i want to save space in my server. As i understand, if i copy to disks->gdrive->crypt, it take space on my server, am i right? 5- last question, how i acces to this file from plex server to gdrive? it took me 9 hours to have a connection so please be kind with me thanks for your work and help edit 2: i redo every thing and reboot, i have this : https://d.pr/i/QRZ2Gd