Latest Docker Image

Hi.

Does anyone know when the latest version (version 5.2.5 seems to be the latest demo), will be available as a Docker image? The current Docker image is version 5.1.4 which has some CSS problems in the App Builder > Studio.

Many thanks.

1 J'aime

I am facing the same issue, the docker image is for version 5.1.4. In addition on bulk app install i do not see the “Import Demo data” option. Is there a different way to import demo data?

Any update on this, anyone?

Anyone? Adding countries and cities manually is a pain

Looks like I found the solution: setting Application Mode from ‘prod’ to ‘dev’ in application.properties line 38 will activate the import demo data checkbox:

the file is located in /axelor-erp/var/data/

# Application Mode
# ~~~~~
# Set to 'dev' for development mode else 'prod'
application.mode = dev

My docker is a fresh installation and the application.mode is already dev

application.mode = dev

But I can’t import demo data when I want to install module, someone can help me ?

thank you

it has another switch too, which is data.import.demo-data = false make it true

Thank you, I made the modification, I restart the container but the data checkbox import demo data before installing is not shown.
I try with bulk installation, I don’t have the button too.

I restart with these cmd :

docker restart ID_CONTAINER

are you sure restart will pick change ??
where is application properties mounted?

I’m not really sure, I think I make something wrong.
On docker to have access on application.properties, I made these cmd :

docker ps <= To see the container ID
docker exec -it CONTAINER_ID bash

In the container, I set the file /var/lib/tomcat/application.properties
I switch like you said : data.import.demo-data = true

when it’s done and save, I make a restart :

docker restart CONTAINER_ID

But I don’t have any changement, so I think I certainly forget something.

Edit : I set this file too /var/lib/tomcat/webapps/ROOT/WEB-INF/classes/application.properties but no changement…

how you started container
you want to load demo data just ??
or anything else is objective too?