New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pgblitz.sh #787

Closed
wants to merge 1 commit into
base: blitzv2test
from

Conversation

2 participants
@esportagency
Copy link

esportagency commented Jan 10, 2019

"keyuse=${keyuse}C;" results in service pgblitz status returning
Jan 10 01:55:57 pgvm bash[4828]: Upload Test - Using C

and blitz to return following error message:
2019/01/10 02:12:49 Failed to create file system for destination "C:/": didn't find section in config file

which stops pgblitz from further uploading operations.

keyuse=${keyuse}; results in service pgblitz status to return correct service worker keys and correct upload behaviour again.

Update pgblitz.sh
"keyuse=${keyuse}C;" results in service pgblitz status returning 
Jan 10 01:55:57 pgvm bash[4828]: Upload Test - Using C 

and blitz to return following error message:
2019/01/10 02:12:49 Failed to create file system for destination "C:/": didn't find section in config file 

which stops pgblitz from further uploading operations.

keyuse=${keyuse}; results in service pgblitz status to return correct service worker keys and correct upload behaviour again.
@Admin9705

This comment has been minimized.

Copy link
Owner

Admin9705 commented Jan 10, 2019

i can check, but the C is need to use the encrypted version of blitz. Take it away, it doesn't work. rolling back new boxes, but been working fine.

@Admin9705

This comment has been minimized.

Copy link
Owner

Admin9705 commented Jan 10, 2019

also the if statement is there, so are you on encrypted blitz?

@esportagency

This comment has been minimized.

Copy link

esportagency commented Jan 10, 2019

on encrypted blitz, but also totally not a coder. It worked for me after the changes but when I checked the drive the encryption was not used, so yeah, my bad. Sorry about the inconvenience just tried to help out.

@Admin9705

This comment has been minimized.

Copy link
Owner

Admin9705 commented Jan 10, 2019

oh no your fine, it's why i didn't pull it yet :D it's whatever works. running new box. using debian or ubuntu?

@esportagency

This comment has been minimized.

Copy link

esportagency commented Jan 10, 2019

Debian. I wrote a bit more detailed at https://plexguide.com/threads/blitz.3225/#post-18649 if you wanna check.

Basically the blitz error 2019/01/10 02:12:49 Failed to create file system for destination "C:/": didn't find section in config file made me scratch my head.

@Admin9705

This comment has been minimized.

Copy link
Owner

Admin9705 commented Jan 10, 2019

probably that's why. something different. when the C is dropped in front of it, it says to use GDSA01C which is encrypted. the if statement is there to say it has to be encrypted blitz for it to kick in.

@Admin9705

This comment has been minimized.

Copy link
Owner

Admin9705 commented Jan 10, 2019

do me a favor, install v8base (it doesn't show up) but has this

encheck=$(cat /var/plexguide/pgclone.transport)
if [ "$encheck" == "eblitz" ]; then
keyuse="${keyuse}C"
fi

rerun blitz and let me know what happens

@esportagency

This comment has been minimized.

Copy link

esportagency commented Jan 10, 2019

I am on v8 18.016 and it has encheck=$(cat /var/plexguide/pgclone.transport)
if [ "$encheck" == "eblitz" ]; then keyuse=${keyuse}C; fi
in the pgblitz.sh

That's where I get the error / Upload Test - Using C output and uploading does stop every time files are moved from /mnt/move to /pgblitz/upload/ after a new download.

It only starts uploading again when restarting the pgblitz service

@Admin9705

This comment has been minimized.

Copy link
Owner

Admin9705 commented Jan 10, 2019

ya i did a minor change, just trying to see if it reads with that. if you paste that in and restart, see if you get the error.

@Admin9705

This comment has been minimized.

Copy link
Owner

Admin9705 commented Jan 10, 2019

new box, doing a test

image

image

@esportagency

This comment has been minimized.

Copy link

esportagency commented Jan 10, 2019

I see, sorry it's very late here.

After the change service pgblitz status returns
Jan 10 04:09:10 pgvm bash[1736]: Upload Test - Using gdsa01C

And upload is working. I'll see if it does automatically for a few new files and update

@Admin9705

This comment has been minimized.

Copy link
Owner

Admin9705 commented Jan 10, 2019

thnanks, late too haha

@Admin9705

This comment has been minimized.

Copy link
Owner

Admin9705 commented Jan 10, 2019

image

gone so that's good

image

and done

i'll push the minor code to assist debian users; any feedback will help.

@Admin9705 Admin9705 closed this Jan 10, 2019

@esportagency esportagency deleted the esportagency:patch-1 branch Jan 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment