h-mdm / hmdm-server

Mobile Device Management System for Android: web control panel. Manage Android devices, install and update apps, get device info. See website for more features!
https://h-mdm.com
Apache License 2.0
290 stars 130 forks source link

Postgre DB default LATIN1 encoding leads to "Failure to deploy war" #85

Open wildriff66 opened 1 year ago

wildriff66 commented 1 year ago

OS: Ubuntu 18.04 LTS - with Tomcat8 installed

This issues is not really an issue, but only annoying.

Issue: After a fresh OS installation and everything set up correctly, it still threw "Failure to deploy error". I tried a few times the install script, still the same error. But after checking the catalina.out log, I've noticed the app requires to have a database encoded with UTF8 and not with the LATIN1 default encoding.

Solved by: I've changed the encoding of "hmdm" database to UTF8 from LATIN 1 and the installation and deployment worked.

h-mdm commented 1 year ago

You are right, Headwind MDM requires UTF-8 database encoding which is currently a standard encoding on most PostgreSQL installations (apparently beginning with Ubuntu 20.04).