Closed OriBenHur closed 4 years ago
removing the json file from /var/lib/openvpn3/configs fixed the issue
Hey, thanks for this report. Could you please enlighten a bit more what was wrong in the configuration file?
I'm re-opening this ticket, because program termination due to an error in a saved configuration file is a real issue which should be fixed. But having more details on how you made it crash would be really good.
i have no idea really, haven't using it for a while, the only new thing I've tried was switching to ovpn file for openvpn cloud. BTW after removing the file, no new file was created. if it's worth something I'm using zsh although i don't think it's related.
one last thing i don't know if it's related but I've also noticed that the shell auto compilation doesn't work but it might be because I'm using zsh.
Configuration files in /var/lib/openvpn3/configs
appears only when you use openvpn3 config-import --persistent
. Otherwise configuration files are only temporarily stored in memory.
The completion scripts packaged targets bash, and is normally installed under /usr/share/bash-completion/completions/
(look for openvpn*
files). These scripts should work with zsh as well, but I have no experience how to enable bash-completion support under zsh.
For the OpenVPN Cloud integration, I recommend you to install the python3-openvpn-connector-setup
package and use the setup-token available in the OpenVPN Cloud admin interface. This ensures a proper configuration file to be downloaded and installed properly in a simple way. If you do not want this connection to start automatically, add the --no-systemd
argument when running the openvpn-connector-setup
utility.
We have that as comment in that file :)
# Also works with zsh after loading bascomphinit
# (autoload -U +X bashcompinit && bashcompinit)
and iirc you need then do source thatfile
This issue should be resolved with commit 67070ff056bc6003a3c16f97278456ff2f61775f. This will be part of the next release.
Great thank you :)
OS: ubuntu 20.04 This is what i see on journalctl