Advertisement
Guest User

Untitled

a guest
Apr 15th, 2019
204
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##GCrypt Service
  2. [Unit]
  3. Description=GCrypt Daemon
  4. After=multi-user.target
  5.  
  6. [Service]
  7. Type=simple
  8. User=0
  9. Group=0
  10. ExecStart=/usr/bin/rclone mount gcrypt: /mnt/gcrypt \
  11. --config /opt/appdata/plexguide/rclone.conf \
  12. --allow-non-empty \
  13. --allow-other \
  14. --size-only \
  15. --uid=1000 --gid=1000 \
  16. --umask 002 \
  17. --log-file=/home/blitzman734/media/tmp/rclone-gcrypt.log \
  18. --log-level INFO \
  19. --timeout 1h \
  20. --dir-cache-time 1h \
  21. --vfs-cache-max-age 72h \
  22. --vfs-cache-mode writes \
  23. --vfs-read-chunk-size 64M \
  24. --vfs-read-chunk-size-limit 5G \
  25. --drive-chunk-size 128M \
  26. --buffer-size 64M
  27.  
  28. ExecStop=/bin/fusermount -uz /mnt/gcrypt
  29. TimeoutStopSec=20
  30. KillMode=process
  31. RemainAfterExit=yes
  32.  
  33. [Install]
  34. WantedBy=multi-user.target
  35.  
  36. ##GDrive Service
  37. [Unit]
  38. Description=GDrive Daemon
  39. After=multi-user.target
  40.  
  41. [Service]
  42. Type=simple
  43. User=0
  44. Group=0
  45. ExecStart=/usr/bin/rclone mount gdrive: /mnt/gdrive \
  46. --config /opt/appdata/plexguide/rclone.conf \
  47. --allow-non-empty \
  48. --allow-other \
  49. --size-only \
  50. --uid=1000 --gid=1000 \
  51. --umask 002 \
  52. --log-file=/home/blitz/media/tmp/rclone-gdrive.log \
  53. --log-level INFO \
  54. --timeout 1h \
  55. --dir-cache-time 1h \
  56. --vfs-cache-max-age 72h \
  57. --vfs-read-chunk-size 64M \
  58. --vfs-read-chunk-size-limit 5G \
  59. --drive-chunk-size 128M \
  60. --buffer-size 64M
  61.  
  62. ExecStop=/bin/fusermount -uz /mnt/gdrive
  63. TimeoutStopSec=20
  64. KillMode=process
  65. RemainAfterExit=yes
  66.  
  67. [Install]
  68. WantedBy=multi-user.target
  69.  
  70. #RClone.conf
  71. [gdrive]
  72. client_id = REDACT
  73. client_secret = REDACT
  74. type = drive
  75. token = {"access_token":"REDACT"}
  76.  
  77. [gcrypt]
  78. type = crypt
  79. remote = gdrive:/encrypt
  80. filename_encryption = standard
  81. directory_name_encryption = true
  82. password = REDACT
  83. password2 = REDACT
  84.  
  85. [pgunion]
  86. type = union
  87. remotes = gdrive: gcrypt: /mnt/move
  88.  
  89. FIRST EVENT
  90. 2019/04/13 20:22:04 DEBUG : &{movies/Moviefilehere.mkv (r)}: Read: len=131072, offset=3931066368
  91. 2019/04/13 20:22:04 DEBUG : &{movies/Moviefilehere.mkv (r)}: >Read: read=131072, err=<nil>
  92. 2019/04/13 20:22:04 DEBUG : &{movies/Moviefilehere.mkv (r)}: Read: len=131072, offset=3931197440
  93. 2019/04/13 20:22:04 DEBUG : &{movies/Moviefilehere.mkv (r)}: >Read: read=131072, err=<nil>
  94. 2019/04/13 20:22:04 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.Read at 3997298688 length 1048576 chunkOffset 3697410048 chunkSize 1073741824
  95. 2019/04/13 20:22:55 DEBUG : &{movies/Moviefilehere.mkv (r)}: Flush:
  96. 2019/04/13 20:22:55 DEBUG : &{movies/Moviefilehere.mkv (r)}: >Flush: err=<nil>
  97. 2019/04/13 20:22:55 DEBUG : &{movies/Moviefilehere.mkv (r)}: Flush:
  98. 2019/04/13 20:22:55 DEBUG : &{movies/Moviefilehere.mkv (r)}: >Flush: err=<nil>
  99. 2019/04/13 20:22:55 DEBUG : &{movies/Moviefilehere.mkv (r)}: Release:
  100. 2019/04/13 20:22:55 DEBUG : movies/Moviefilehere.mkv: ReadFileHandle.Release closing
  101. 2019/04/13 20:22:55 DEBUG : &{movies/Moviefilehere.mkv (r)}: >Release: err=<nil>
  102. 2019/04/13 20:22:56 DEBUG : Google drive root 'encrypt': Checking for changes on remote
  103. 2019/04/13 20:22:56 INFO : Cleaned the cache: objects 44 (was 44), total size 61.615k (was 61.615k)
  104. 2019/04/13 20:22:57 DEBUG : /: Attr:
  105. 2019/04/13 20:22:57 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
  106. 2019/04/13 20:22:57 DEBUG : /: Lookup: name="movies"
  107. 2019/04/13 20:22:57 DEBUG : : Re-reading directory (1h21m47.356858917s old)
  108. 2019/04/13 20:22:57 DEBUG : dddq5rsf3bmke1ks8ve2dvcle8: Skipping undecryptable dir name: Bad PKCS#7 padding - too long
  109. 2019/04/13 20:22:57 DEBUG : /: >Lookup: node=movies/, err=<nil>
  110. 2019/04/13 20:22:57 DEBUG : movies/: Attr:
  111. 2019/04/13 20:22:57 DEBUG : movies/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
  112. 2019/04/13 20:22:57 DEBUG : /: Lookup: name="movies"
  113. 2019/04/13 20:22:57 DEBUG : /: >Lookup: node=movies/, err=<nil>
  114. 2019/04/13 20:22:57 DEBUG : movies/: Attr:
  115. 2019/04/13 20:22:57 DEBUG : movies/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
  116. 2019/04/13 20:22:57 DEBUG : movies/: Lookup: name="Moviefolderhere"
  117. 2019/04/13 20:22:57 DEBUG : movies/: >Lookup: node=movies/Moviefolderhere/, err=<nil>
  118. 2019/04/13 20:22:57 DEBUG : movies/Moviefolderhere/: Attr:
  119. 2019/04/13 20:22:57 DEBUG : movies/Moviefolderhere/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
  120. 2019/04/13 20:22:57 DEBUG : movies/Moviefolderhere/: Lookup: name="Moviefolderhere.mkv"
  121. 2019/04/13 20:22:57 DEBUG : movies/Moviefolderhere/: >Lookup: node=movies/Moviefilehere.mkv, err=<nil>
  122. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: Attr:
  123. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: >Attr: a=valid=1s ino=0 size=5264677536 mode=-rw-rw-r--, err=<nil>
  124. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: Open: flags=OpenReadOnly
  125. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: Open: flags=O_RDONLY
  126. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: >Open: fd=movies/Moviefilehere.mkv (r), err=<nil>
  127. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: >Open: fh=&{movies/Moviefilehere.mkv (r)}, err=<nil>
  128. 2019/04/13 20:22:57 DEBUG : &{movies/Moviefilehere.mkv (r)}: Read: len=131072, offset=0
  129. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.openRange at 0 length 67108864
  130. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 67108864
  131. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 67108864
  132. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 67108864
  133. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 67108864
  134. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 67108864
  135. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 67108864
  136. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 67108864
  137. 2019/04/13 20:22:57 DEBUG : &{movies/Moviefilehere.mkv (r)}: >Read: read=131072, err=<nil>
  138. 2019/04/13 20:22:57 DEBUG : &{movies/Moviefilehere.mkv (r)}: Read: len=131072, offset=131072
  139. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 67108864
  140. 2019/04/13 20:22:57 DEBUG : &{movies/Moviefilehere.mkv (r)}: >Read: read=131072, err=<nil>
  141. 2019/04/13 20:22:57 DEBUG : &{movies/Moviefilehere.mkv (r)}: Read: len=131072, offset=262144
  142. 2019/04/13 20:22:57 DEBUG : &{movies/Moviefilehere.mkv (r)}: >Read: read=131072, err=<nil>
  143. 2019/04/13 20:22:57 DEBUG : &{movies/Moviefilehere.mkv (r)}: Read: len=131072, offset=393216
  144. 2019/04/13 20:22:57 DEBUG : movies/Moviefilehere.mkv: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 67108864
  145. 2019/04/13 20:22:57 DEBUG : &{movies/Moviefilehere.mkv (r)}: >Read: read=131072, err=<nil>
  146. 2019/04/13 20:22:57 DEBUG : &{movies/Moviefilehere.mkv (r)}: Read: len=131072, offset=524288
  147.  
  148. SECOND EVENT
  149. 2019/04/14 07:16:09 DEBUG : &{movies/Moviefilehere (r)}: >Read: read=131072, err=<nil>
  150. 2019/04/14 07:16:09 DEBUG : &{movies/Moviefilehere (r)}: Read: len=131072, offset=641728512
  151. 2019/04/14 07:16:09 DEBUG : &{movies/Moviefilehere (r)}: >Read: read=131072, err=<nil>
  152. 2019/04/14 07:16:09 DEBUG : movies/Moviefilehere: ChunkedReader.Read at 707784704 length 1048576 chunkOffset 469762048 chunkSize 536870912
  153. 2019/04/14 07:16:11 DEBUG : &{movies/Moviefilehere (r)}: Flush:
  154. 2019/04/14 07:16:11 DEBUG : &{movies/Moviefilehere (r)}: >Flush: err=<nil>
  155. 2019/04/14 07:16:11 DEBUG : &{movies/Moviefilehere (r)}: Flush:
  156. 2019/04/14 07:16:11 DEBUG : &{movies/Moviefilehere (r)}: >Flush: err=<nil>
  157. 2019/04/14 07:16:11 DEBUG : &{movies/Moviefilehere (r)}: Release:
  158. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: ReadFileHandle.Release closing
  159. 2019/04/14 07:16:11 DEBUG : &{movies/Moviefilehere (r)}: >Release: err=<nil>
  160. 2019/04/14 07:16:11 DEBUG : /: Attr:
  161. 2019/04/14 07:16:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
  162. 2019/04/14 07:16:11 DEBUG : /: Lookup: name="movies"
  163. 2019/04/14 07:16:11 DEBUG : : Re-reading directory (1h2m37.82286921s old)
  164. 2019/04/14 07:16:11 DEBUG : dddq5rsf3bmke1ks8ve2dvcle8: Skipping undecryptable dir name: Bad PKCS#7 padding - too long
  165. 2019/04/14 07:16:11 DEBUG : /: >Lookup: node=movies/, err=<nil>
  166. 2019/04/14 07:16:11 DEBUG : movies/: Attr:
  167. 2019/04/14 07:16:11 DEBUG : movies/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
  168. 2019/04/14 07:16:11 DEBUG : /: Lookup: name="movies"
  169. 2019/04/14 07:16:11 DEBUG : /: >Lookup: node=movies/, err=<nil>
  170. 2019/04/14 07:16:11 DEBUG : movies/: Attr:
  171. 2019/04/14 07:16:11 DEBUG : movies/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
  172. 2019/04/14 07:16:11 DEBUG : movies/: Lookup: name="Moviefolderhere"
  173. 2019/04/14 07:16:11 DEBUG : movies/: >Lookup: node=movies/Moviefolderhere/, err=<nil>
  174. 2019/04/14 07:16:11 DEBUG : movies/Moviefolderhere/: Attr:
  175. 2019/04/14 07:16:11 DEBUG : movies/Moviefolderhere/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
  176. 2019/04/14 07:16:11 DEBUG : movies/Moviefolderhere/: Lookup: name="Moviefolderhere.mkv"
  177. 2019/04/14 07:16:11 DEBUG : movies/Moviefolderhere/: >Lookup: node=movies/Moviefilehere, err=<nil>
  178. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: Attr:
  179. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: >Attr: a=valid=1s ino=0 size=6467039919 mode=-rw-rw-r--, err=<nil>
  180. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: Open: flags=OpenReadOnly
  181. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: Open: flags=O_RDONLY
  182. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: >Open: fd=movies/Moviefilehere (r), err=<nil>
  183. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: >Open: fh=&{movies/Moviefilehere (r)}, err=<nil>
  184. 2019/04/14 07:16:11 DEBUG : &{movies/Moviefilehere (r)}: Read: len=86016, offset=615366656
  185. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: ChunkedReader.openRange at 0 length 67108864
  186. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: ReadFileHandle.seek from 0 to 615366656 (fs.RangeSeeker)
  187. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: ChunkedReader.RangeSeek from 0 to 615366656 length -1
  188. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: ChunkedReader.Read at -1 length 4096 chunkOffset 615366656 chunkSize 67108864
  189. 2019/04/14 07:16:11 DEBUG : movies/Moviefilehere: ChunkedReader.openRange at 615366656 length 67108864
  190. 2019/04/14 07:16:12 DEBUG : movies/Moviefilehere: ChunkedReader.Read at 615370752 length 8192 chunkOffset 615366656 chunkSize 67108864
  191. 2019/04/14 07:16:12 DEBUG : movies/Moviefilehere: ChunkedReader.Read at 615378944 length 16384 chunkOffset 615366656 chunkSize 67108864
  192. 2019/04/14 07:16:12 DEBUG : movies/Moviefilehere: ChunkedReader.Read at 615395328 length 32768 chunkOffset 615366656 chunkSize 67108864
  193. 2019/04/14 07:16:12 DEBUG : movies/Moviefilehere: ChunkedReader.Read at 615428096 length 65536 chunkOffset 615366656 chunkSize 67108864
  194. 2019/04/14 07:16:12 DEBUG : movies/Moviefilehere: ChunkedReader.Read at 615493632 length 131072 chunkOffset 615366656 chunkSize 67108864
  195. 2019/04/14 07:16:12 DEBUG : &{movies/Moviefilehere (r)}: >Read: read=86016, err=<nil>
  196. 2019/04/14 07:16:12 DEBUG : &{movies/Moviefilehere (r)}: Read: len=131072, offset=615452672
  197. 2019/04/14 07:16:12 DEBUG : movies/Moviefilehere: ChunkedReader.Read at 615624704 length 262144 chunkOffset 615366656 chunkSize 67108864
  198. 2019/04/14 07:16:12 DEBUG : &{movies/Moviefilehere (r)}: >Read: read=131072, err=<nil>
  199. 2019/04/14 07:16:12 DEBUG : &{movies/Moviefilehere (r)}: Read: len=131072, offset=615583744
Advertisement
RAW Paste Data Copied
Advertisement