Printunl installation crash

Hi,

Im trying to install Printunl on Ubuntu, to run it simultaneously to Apache. I manage to install it to vpn.mydomain.de and i see the installation screen. I insert my setup key and leave the other setting on default because I have no idea what that is and how i find out what goes in there and press on save. then i see for one second a updating database… message, but then I just see the Apache Service Unavailable screen. All of the services appear to be running, but I cant figure out what went wrong. Thanks in advance

This is likely another service interfering with the Pritunl web server. The Pritunl web server doesn’t use Apache. Check /var/logs/pritunl.log for errors.

Yes but I want to use both Apache and Printunl. I use a different Port for Printunl and I can access the web interface, I just receive a crash after clicking save. This is my log file:

[local][2025-04-13 21:16:29,582][INFO] Starting setup server
[local][2025-04-13 21:16:29,584][INFO] Generating setup server ssl cert
[local][2025-04-13 21:16:30,369][ERROR] Setup web server process exited unexpectedly
[local][2025-04-13 21:16:30,370][INFO] Stopping server
[local][2025-04-13 21:17:18,561][INFO] Starting setup server
[patient-plains-7348][2025-04-13 21:20:32,845][INFO] Starting server
  selinux_context = "none"
  ssl_version     = "OpenSSL 3.0.13 30 Jan 2024"
[patient-plains-7348][2025-04-13 21:20:32,849][INFO] Generating server certificate...
[patient-plains-7348][2025-04-13 21:20:34,499][ERROR] Web server process exited unexpectedly
[patient-plains-7348][2025-04-13 21:20:36,875][INFO] Server restarting...
[patient-plains-7348][2025-04-13 21:20:36,885][INFO] Starting server
  selinux_context = "none"
  ssl_version     = "OpenSSL 3.0.13 30 Jan 2024"
[patient-plains-7348][2025-04-13 21:20:37,644][ERROR] Web server process exited unexpectedly

The log continues by trying to start the server and then crashing with the Web server process exited unexpectedly message.

Run sudo pritunl set-mongodb mongodb://localhost:27017/pritunl then sudo systemctl restart pritunl to configure the server without the web setup.

After a few seconds run the commands below to change the web server port and disable the HTTP to HTTPS redirect server on port 80.

sudo pritunl set app.redirect_server false
sudo pritunl set app.server_port 8443
sudo systemctl restart pritunl