Hi All,
I try to install DHIS 2.34.1 on Ubuntu 18.04 (Docker container).
Everything installed without errors, however I still have 404 Not found.
dhis@fa933d63d702:~/tomcat-dhis/logs$ cat catalina.out | grep -v " INFO "
15-Sep-2020 11:48:59.445 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/home/dhis/tomcat-dhis/common/classes], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.447 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/home/dhis/tomcat-dhis/common], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.447 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/common/classes], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.447 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/common], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.448 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/home/dhis/tomcat-dhis/server/classes], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.448 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/home/dhis/tomcat-dhis/server], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.449 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/server/classes], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.449 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/server], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.449 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/home/dhis/tomcat-dhis/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.449 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/home/dhis/tomcat-dhis/shared], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.450 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
15-Sep-2020 11:48:59.450 WARNING [main] org.apache.catalina.startup.ClassLoaderFactory.validateFile Problem with directory [/usr/share/tomcat8/shared], exists: [false], isDirectory: [false], canRead: [false]
* WARN 2020-09-15T11:49:41,088 DB: column "capturecoordinates" of relation "program" already exists, skipping (SQL State: 42701 - Error Code: 0) (Slf4jLog.java [localhost-startStop-1])
- EmailMessageSender
- SmsMessageSender
(DefaultMessageService.java [localhost-startStop-1])
* WARN 2020-09-15T11:50:23,778 AMQ222275: Failed to deploy queue DLQ: null (ActiveMQServerImpl.java [localhost-startStop-1])
* WARN 2020-09-15T11:50:23,779 AMQ222275: Failed to deploy queue ExpiryQueue: null (ActiveMQServerImpl.java [localhost-startStop-1])
* WARN 2020-09-15T11:50:24,446 Invalid JavaBean property 'logoutHandlers' being accessed! Ambiguous write methods found next to actually used [public void org.springframework.security.web.session.ConcurrentSessionFilter.setLogoutHandlers(org.springframework.security.web.authentication.logout.LogoutHandler[])]: [public void org.springframework.security.web.session.ConcurrentSessionFilter.setLogoutHandlers(java.util.List)] (GenericTypeAwarePropertyDescriptor.java [localhost-startStop-1])
* WARN 2020-09-15T11:50:24,650 RP discovery / realm validation disabled; (RealmVerifier.java [localhost-startStop-1])
* WARN 2020-09-15T11:50:27,619 Cannot get users with disjoint roles as user does not have any user roles (DefaultUserService.java [localhost-startStop-1])
dhis@fa933d63d702:~/tomcat-dhis/logs$
I repeated the steps on linode.com:
http://173.255.233.192:8080/ - the same result 404 not found
my dhis.conf:
# ----------------------------------------------------------------------
# Database connection
# ----------------------------------------------------------------------
# Hibernate SQL dialect
connection.dialect = org.hibernate.dialect.PostgreSQLDialect
# JDBC driver class
connection.driver_class = org.postgresql.Driver
# Database connection URL
connection.url = jdbc:postgresql:dhis2
# Database username
connection.username = dhis
# Database password
connection.password = dhis2x-dev
# Database schema behavior, can be validate, update, create, create-drop
connection.schema = update
# Encryption password (sensitive)
encryption.password = dhis2x-dev012345678901234567890
# ----------------------------------------------------------------------
# Server
# ----------------------------------------------------------------------
# Enable secure settings if deployed on HTTPS, default 'off', can be 'on'
server.https = off
# Server base URL
server.base.url = http://localhost/
postgresql-10:
Installed: 10.14-0ubuntu0.18.04.1
postgresql-contrib:
Installed: 10+190ubuntu0.1
postgis:
Installed: 2.4.3+dfsg-4
How to get it running?
Vladimir