Comments (6)
@Luccio96
Assuming you're using Portainer, what is showing at the end of your log after the container launches? For example, mine shows:
2023/04/08 13:10:43.943 [I] [asm_amd64.s:1581] http server Running on http://:8080
Also what's showing, as far as the openvpn-admin-plus container is concerned, in the Containers section of Portainer?
Is it possible that you already have something running on port 8080?
from openvpn-admin-plus.
Hi @bnhf
This is my logs:
2023-04-17T07:03:41.026873581Z TERM environment variable not set. 2023-04-17T07:03:41.064898127Z OpenVPN directory set to: /etc/openvpn 2023-04-17T07:03:41.064927584Z Working directory set to: /opt 2023-04-17T07:03:41.136755920Z PiVPN server set to: server_5WvzCbfmkb2jPw63 server_X194SFMGqcUxbZkB 2023-04-17T07:03:41.136869622Z Working directory set to: /opt/openvpn-gui-tap 2023-04-17T07:03:41.173742736Z sed: -e expression #1, char 97: unterminated
s' command`
Here the containter, as it shows it's running and I don't have anything running on port 8080.
from openvpn-admin-plus.
@Luccio96
Looks like you have an image that was pulled at the end of last year somehow. In Portainer - Stacks, use the slide switch that forces a new container to be pulled with the latest tag. So stop the stack, and then update the stack with the "Re-pull image and redeploy" option:
from openvpn-admin-plus.
I did it but still the same errors and the port is not listening, tried also to change the port...
As I see from Image info the created date is 2023-01-11, is there a newer one?
from openvpn-admin-plus.
@Luccio96
I missed it on first-look, but I believe the problem is here (from your logs):
PiVPN server set to: server_5WvzCbfmkb2jPw63 server_X194SFMGqcUxbZkB
You seem to have two values entered for server. Only a single OpenVPN server is supported, and this value needs to match what's being used as the server name, which in turn is the name used for the server certificate and key. If you're not sure what that is, look in your current /etc/openvpn/server.conf file, and there should be a couple of directives that look like this:
cert easy-rsa/pki/issued/NUC10-PC2_ae265e62-cd06-xxxx-4092-bd68-xxxxxxxxxxxx.crt
key easy-rsa/pki/private/NUC10-PC2_ae265e62-cd06-xxxx-4092-bd68-xxxxxxxxxxxx.key
The part including the server's name, but not including the extension, is what you want. So in the above example, the PIVPN_SERVER environment variable would be set to:
PIVPN_SERVER=NUC10-PC2_ae265e62-cd06-xxxx-4092-bd68-xxxxxxxxxxxx
from openvpn-admin-plus.
That was the problem, after revoked the certificate the container started.
from openvpn-admin-plus.
Related Issues (20)
- Spaces when importing to the name.ovpn file HOT 4
- SSL certificate and HTTPS protocol for OpenVPNAdmin HOT 25
- Make conf directory mappable HOT 1
- Billing of incoming and outgoing traffic HOT 5
- Improve the documentation HOT 3
- Settings > management address Error HOT 6
- Missing info from GUI HOT 7
- Infinitely growing container log file HOT 5
- Cannot create new client certificate
- easy-rsa location HOT 1
- Run on existing configuration - unterminated `s' command HOT 23
- MAPPING ERROR HOT 5
- 500 error on status page when clients connected
- Failed to configure admin for tun VPN HOT 15
- No such file or directory easy-rsa vars HOT 2
- support dco
- No client
- Think it's possible to get this working with Gluetun?
- Fix your configuration ERROR HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openvpn-admin-plus.