Hello.
The setup is as follows: I have installed Ubuntu user 22.04 on a private physical server which is not allowed to have internet connection.
Every single ubuntu package such as tomcat9, postgresql etc has been installed through an internal private ubuntu repository wich is up to date.
I have followed, step by step, the procedure indicated in hmdm/download page (see below), and, when I try to acces the web panel, the error that appears is the one that appears when you have no internet connection (standard firefox error).
This makes me thing that hmdm needs internet connection in a mandatory way to get installed and going(really need to confirm this issue, and if there is a way to bypass it)
Here below you can find the terminal prompts, again, password does not have special characters, is hidden for security issues. There are also no tomcat errors.
Please choose the installation language (en/ru) [en]: en
PostgreSQL database setup
=========================
Make sure you've installed PostgreSQL and created the database.
If you didn't create a database yet, please click Ctrl-C to break,
then execute the following commands:
-------------------------
su postgres
psql
CREATE USER hmdm WITH PASSWORD 'topsecret';
CREATE DATABASE hmdm WITH OWNER=hmdm;
\q
exit
-------------------------
PostgreSQL host [localhost]: localhost
PostgreSQL port [5432]: 5432
PostgreSQL database [hmdm]: hmdm
PostgreSQL user [hmdm]: hmdm
PostgreSQL password: xxxxxxxxxx
The database is already setup.
To re-deploy Headwind MDM, the database needs to be cleared.
Clear the database? ALL DATA WILL BE LOST!
Type "erase" to clear the database and continue setup: erase
Database has been cleared.
File storage setup
==================
Please choose where the files uploaded to Headwind MDM will be stored
If the directory doesn't exist, it will be created
##### FOR TOMCAT 9, USE SANDBOXED DIR: /var/lib/tomcat9/work #####
Headwind MDM storage directory [/var/lib/tomcat9/work]: /var/lib/tomcat9/work
Please choose the directory where supply scripts will be located.
Headwind MDM scripts directory [/opt/hmdm]: /opt/hmdm
Web application setup
=====================
Headwind MDM requires access from Internet
Please assign a public domain name to this server
Protocol (http|https) [https]: http
Domain name or public IP (e.g. example.com): x.x.x.x
Port (e.g. 8080, leave empty for default ports 80 or 443): 8080
Project path on server (e.g. /hmdm) or ROOT: ROOT
To enable password recovery function, Headwind MDM must be connected to SMTP.
Password recovery is an optional but recommended feature.
Setup SMTP credentials [Y/n]?: n
Ready to install!
Location on server: /var/lib/tomcat9/work
URL: http://x.x.x.x:8080
Is this information correct [Y/n]? y
Waiting for undeploying the previous version
..........
Tomcat config file created: /var/lib/tomcat9/conf/Catalina/localhost/ROOT.xml
Deploying hmdm-5.26.1-os.war to Tomcat: /var/lib/tomcat9/webapps/ROOT.war
...........
Deployment successful, initializing the database...
======================================
Minimal installation of Headwind MDM has been done!
At this step, you can open in your web browser:
http://x.x.x.x:8080
Login: admin:admin
======================================
Setup HTTPS via LetsEncrypt [Y/n]?: n
Move required APKs from h-mdm.com to your server [Y/n]?: n
======================================
Headwind MDM installation is completed!
To access your web panel, open in the web browser:
http://x.x.x.x:8080
Login: admin:admin
======================================