corrad1nho / qomui

Qomui (Qt OpenVPN Management UI)
GNU General Public License v3.0
555 stars 57 forks source link

0.8.2 cert directory not created during installation #73

Open cloggy opened 5 years ago

cloggy commented 5 years ago

When not using one of the pre-defined VPN providers, the /usr/share/qomui/cert directory and the required auth.txt file are not created so initiating a VPN connection fails. After I created the directory and the auth.txt file myself it works fine. Note that issue does not exist with 0.8.1

corrad1nho commented 5 years ago

Thanks for letting me know! I'll look into it.

ofit commented 5 years ago

the same bug but in my case it is create tigerVPN-auth.txt in /usr/share/qomui/"name_of_provider" but ask /usr/share/qomui/certs/

Ubuntu 18.04 Qomui 0.8.2

connection logs:

2019-06-04 18:50:03,047 - INFO - OpenVPN: WARNING: cannot stat file '/usr/share/qomui/certs/tigerVPN-auth.txt': No such file or directory (errno=2)
2019-06-04 18:50:03,050 - INFO - OpenVPN:Options error: --auth-user-pass fails with '/usr/share/qomui/certs/tigerVPN-auth.txt': No such file or directory (errno=2)
2019-06-04 18:50:03,050 - INFO - OpenVPN:Options error: Please correct these errors.
2019-06-04 18:50:03,051 - INFO - OpenVPN:Use --help for more information.

ls of '/usr/share/qomui/tigerVPN'

drwxr-xr-x 2 root root 4096 июн  4 18:50  .                                          
drwxr-xr-x 8 root root 4096 июн  4 19:16  ..                                         
-rw------- 1 root root 1818 июн  4 18:46  ca.crt                                     
-rw------- 1 root root  501 июн  4 18:46 'CH - Zurich @tigervpn.com.ovpn'            
-rw-r--r-- 1 root root  503 июн  4 19:18  temp.ovpn                                  
-rw------- 1 root root   23 июн  4 18:46  tigerVPN-auth.txt

Please fix it