Mac BooK: Apple M1 Pro OS: Ventura
Docker 4.13.1
command line:
d2 cluster up 2.39.0 --db-version 2.39
Also add --seed to it doesn’t always bring up the DB and set it up correctly. Most of the time I have to run 3-4 times to get it up and running, however there are still SQL issues.
Currently it’s sitting at these logs:
Rs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
* INFO 2022-11-04T19:08:24,873 Context variable dhis2-home not set (LogOnceLogger.java [main])
* INFO 2022-11-04T19:08:24,901 System property dhis2.home not set (LogOnceLogger.java [main])
* INFO 2022-11-04T19:08:24,941 Environment variable DHIS2_HOME points to /DHIS2_home (LogOnceLogger.java [main])
* INFO 2022-11-04T19:08:25,075 File /DHIS2_home/dhis-google-auth.json does not exist (LogOnceLogger.java [main])
* INFO 2022-11-04T19:08:25,079 Could not find dhis-google-auth.json (LogOnceLogger.java [main])
* INFO 2022-11-04T19:08:35,297 Monitoring metric for key monitoring.api.enabled is disabled (MetricsEnabler.java [main])
* INFO 2022-11-04T19:08:35,425 Monitoring metric for key monitoring.hibernate.enabled is disabled (MetricsEnabler.java [main])
* INFO 2022-11-04T19:08:35,438 Monitoring metric for key monitoring.dbpool.enabled is disabled (MetricsEnabler.java [main])
* INFO 2022-11-04T19:08:35,450 Monitoring metric for key monitoring.cpu.enabled is disabled (MetricsEnabler.java [main])
* INFO 2022-11-04T19:08:35,464 Monitoring metric for key monitoring.uptime.enabled is disabled (MetricsEnabler.java [main])
* INFO 2022-11-04T19:08:35,480 Monitoring metric for key monitoring.jvm.enabled is disabled (MetricsEnabler.java [main])
* INFO 2022-11-04T19:08:52,151 Hibernate configuration loaded: dialect: 'org.hisp.dhis.hibernate.dialect.DhisPostgresDialect', region factory: 'org.hibernate.cache.ehcache.EhCacheRegionFactory', connection pool max size: null (DefaultHibernateConfigurationProvider.java [main])
* INFO 2022-11-04T19:09:07,973 Simple Local Cache instance created for region:'periodCache' (SimpleCacheBuilder.java [main])
After about 20 minutes and nothing happens. Tomcat is not getting fired up. Sometimes, it does, but then things aren’t quite right with the DB, and/or something else happens. On occasion rebooting the laptop helps, but not really.
Any ideas what’s going on or how to make this more stable?