-
Notifications
You must be signed in to change notification settings - Fork 19
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
Editing .env file doesn't change anything #57
Comments
Hi @softfan2019, For both issues, you don't need to make any changes to main.py. All of them can be managed in the Settings tab within the Panel. Simply adjust the configuration there and restart the panel to apply the changes! Alternatively, you can modify the .env file directly. Please do not make any changes to main.py. |
As I said for SSL file path, first attempt was in webpanel with no effect and then I edited .env with still no change, and only change in main.py took effect. Is it possible that setting are not saved to or read from .env file? |
Web panel settings take precedence over the configurations in the .env file. After saving changes in the web panel, ensure you restart the panel for the updates to take effect. |
I got bot working, but I think that there must be a problem or bug in setting sequence. So for now the problem is limited to host and port of IPv6 that won't get read from .env file. I thought I know the cause, because of priority of setting and their order. hope to find the reason. |
I'll review these steps thoroughly and get back to you. |
Hi @softfan2019, could you please install the latest version and let me know? |
Hi @eloravpn same problem here its just ignoring .env file |
Hi @eloravpn , Sorry for delay. I updated script ( using command provided in page, so not clean install) |
Hi @softfan2019 |
Yes, but now I'm reinstall panel, and modify only settings in panel, and somehow after restart "systemctl" it worked, but .env file not modified, and any change there not applying in panel🙃 |
Same problem. Are there any solutions? How to make it work? |
@tkmw1985 Just set these configurations in the panel's Settings page. |
Unfortunately, I followed all the steps carefully but after installing the certificates in the panel, the login page appeared but did not log in! |
@tkmw1985 |
Hello sir. It will be better if you add these steps to the readme file for those who are installing the first time
|
@tkmw1985 @softfan2019 @hugetoucan In the new version, you can configure all settings related to SSL and IPv6 in the settings menu. Refer to these sections for more details: |
Hi,
I previously asked about IPv6, after a system restart service again started in IPv4 while the
/opt/elora-vpn/.env
had the IPv6 address after some test, I changed the code in/opt/elora-vpn/main.py
to
host=("::" if DEBUG else "::"),
and it started to work on IPv6.
same problem with SSL editing .env file with cert path had no effect but changing the code and directly adding path to main.py worked.
now i have same problem with telegram, first I added the values for BOT in webpanel and restart service but it didn't change .env file values while web panel showed information in fields.
So I edited .env file with telegram token and other information and still no telegram BOT.
I changed debug value to true and added the debug level line but journal only shows stop and start of service.
I think somehow script dosnt get its setting from .env file in
/opt/elora-vpn/.env
.Thanks
The text was updated successfully, but these errors were encountered: