Session: connection failed
OS: debian 10.7
PHP: PHP 7.3.19-1~deb10
apach2: Server version: Apache/2.4.38 (Debian) Server built: 2020-08-25T20:08:29
I used to install it successfully on centos7, I installed it on another server Debian 10.5, and the login page shows Session: connection failed
Mostly the ADOdb library is missing, more rarely the connection to the database. Please check if the folder /ADOdb is present in the folder /srv/ovpn_modules.
Mostly the ADOdb library is missing, more rarely the connection to the database. Please check if the folder /ADOdb is present in the folder /srv/ovpn_modules.


ADOdb can be found in the web directory, too unfamiliar with PHP
Running the Database? (local or remote?) Is the information in $wwwroot/include/config.php correct? Server, IP, password and user name?
I'll have another look at it tomorrow morning. Maybe I have made a mistake. So it might take a little while. Sorry.
Running the Database? (local or remote?) Is the information in $wwwroot/include/config.php correct? Server, IP, password and user name?
I'll have another look at it tomorrow morning. Maybe I have made a mistake. So it might take a little while. Sorry.
I replaced your other project, it can be used normally, and solved the inconvenience of remote development with my partner
What other project?
What other project?
https://github.com/Wutze/OpenVPN-Web
This project
The project is only a fork (therefore not my project) and should not be used anymore. It contains too many bugs and is anything but secure.
To find the actual error, the file with the installation log would be helpful (/opt/openvpn-admin/loginstall.log). I just did a test installation on Debian and could not replicate the error.
I guess the database was missing. In particular, the session table. This can only be created if the local MySQL server has a correctly assigned root password. That is the only conceivable error at the moment. I therefore suspect that there was an input error during the installation, as the root password is requested twice.
The project is only a fork (therefore not my project) and should not be used anymore. It contains too many bugs and is anything but secure.
To find the actual error, the file with the installation log would be helpful (/opt/openvpn-admin/loginstall.log). I just did a test installation on Debian and could not replicate the error.
Okay, thank you for your reminder, I will try to install again later
I guess the database was missing. In particular, the session table. This can only be created if the local MySQL server has a correctly assigned root password. That is the only conceivable error at the moment. I therefore suspect that there was an input error during the installation, as the root password is requested twice.
I guess the database was missing. In particular, the session table. This can only be created if the local MySQL server has a correctly assigned root password. That is the only conceivable error at the moment. I therefore suspect that there was an input error during the installation, as the root password is requested twice.
I will re-install in a while, if something goes wrong, I will send you the server ip and password, which will help you locate the error
That's how we can do it too. Thank you.
Hello, what is your email address? After I reinstalled the cloud server, I still got the Session: connection failed error.
If found the problem.
Characters containing a "&" are entered incorrectly (as "escaped &") in config.php due to an error during installation. This does not affect config.sh in /etc/openvpn/scripts.
So when running a shell script, ‘&’ needs to be translated, right? Thank you very much
Hello guys, I have installed your control panel more than once, and everything worked, but today I needed another installation and I got the same problem as yours, how did you fix it? i tried installing several times and still get this error Session: connection failed
my server config is the same as others Debian 10
In most cases, a reload with the web browser (F5) will solve the problem.
One more hint. The script has problems with "&" in the passwords. Just don't use that until the problem is fixed during installation. There are so many other nice characters that are worth using.
Hello, yes it was because of the characters in the password