Closed aikiharp closed 5 years ago
For a quick fix you can do this:
In your Medaibox folder there is a .env
file - in that file are two variables:
PIAUNAME=
PIAPASS=
You can manually change those two variables to your new credentials.
Then once that is done you will want to run:
$ docker-compose up -d
from inside the Mediabox folder.
Please let me know if you are not familiar enough with Linux commandline to make this edit and I will come back and give a more detailed walk-through to edit that file.
Additionally - I have wanted to add in some functionality for people to be able to make adjustments to some of these settings things like PIA Creds changing, maybe changes to Plex from public to paid (or vice versa) etc.
So try this quick fix for now, let me know if you need additional help, and I'll try and get some new adjustments in the script to deal with information that might change / need to be changed.
Thanks --Tom
I've got no .env file at the root of my mediabox folder, but I do see env.txt in mediabox>www, and it has the relevant entries in it. Do I need to copy or move/rename that file to the root of mediabox before running the $ docker-compose up -d
command?
You will need to do a ls -lah
since the .
in front means .env
is a hidden file.
@joshnat did you ever get this woking?
I am really going to try and carve out some time this weekend to add in the fix for this.
Yes, it worked perfectly. Thanks.
This issue has been addressed.
If anyone needs to change their PIA credentials just:
Re-run ./mediabox.sh
and along with checking for updates it will now also ask if your PIA credentials need to be changed.
Coming soon it will also ask if you would like to make changes to: Your PIA Server Plex version Portainer Authentication type
Thanks --Tom
Tom, I'm having a problem with Deluge VPN that appears to be related. Here's a log:
OpenVPN started Thu Sep 26 13:54:36 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 2019-09-26 13:54:36,329 DEBG 'start-script' stdout output: Thu Sep 26 13:54:36 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]199.229.249.165:1198 Thu Sep 26 13:54:36 2019 UDP link local: (not bound) 2019-09-26 13:54:36,329 DEBG 'start-script' stdout output: Thu Sep 26 13:54:36 2019 UDP link remote: [AF_INET]199.229.249.165:1198 2019-09-26 13:54:36,424 DEBG 'start-script' stdout output: Thu Sep 26 13:54:36 2019 [3debc3f042b9603cdd7678d8ce2d47ac] Peer Connection Initiated with [AF_INET]199.229.249.165:1198 2019-09-26 13:54:37,509 DEBG 'start-script' stdout output: Thu Sep 26 13:54:37 2019 AUTH: Received control message: AUTH_FAILED 2019-09-26 13:54:37,509 DEBG 'start-script' stdout output: Thu Sep 26 13:54:37 2019 SIGTERM[soft,auth-failure] received, process exiting
I ran docker-compose up -d from inside mediabox after editing .env, and also ran ./mediabox.sh and input my new PIA credentials. Restarted and I'm still getting the error.
I changed my PIA subscription, which required me creating a new account. I have a different username and password now. How do I update DelugeVPN to use the new credentials? PIA has an .ovpn generator; should I just replace the .ovpn file in the delugevpn>openvpn directory with one generated by PIA?