idempiere / idempiere-docker

Official iDempiere Docker Image
14 stars 29 forks source link

iDempiere with Docker doesn't work after restart #1

Closed sauljabin closed 3 years ago

sauljabin commented 3 years ago

Issue context

It happens because of the console setup and a new docker layer. In the first run iDempiere will configure the env variables and the keystore for https protocol. The docker saves the new files on a new layer. When it restarts it will use the previous layer then the console-setup.sh will fail and iDempiere won't start.

Thanks to Fkr Arif for reporting.

Solution

Removing the files before the console-setup.sh executing.

rm -f idempiereEnv.properties jettyhome/etc/keystore

Links

Google group reference: https://groups.google.com/g/idempiere/c/8yHeFxMzNJ8/m/4iBF84NaBAAJ?pli=1