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?

I have the same issue. From docker not possible to load the demo data. Is there a simple manual for?

you can get demo data installed easily, by going to apps management and than click on bulk install, tick the demo data and select language. Shared the images.

Hi @siddique, thanks for your reply.

As you can see in the screenshot, I don’t have the checkbox.

I installed the docker: axelor/aio-erp
Got the info from: Docker :: Axelor Documentation
Looks like the image is 4 years old. (Docker Hub)

The version of Axelor installed on this docker is:
Version 5.1.4 for the Axelor Business Suite
Version 5.0.13-SNAPSHOT for the Axelor SDK

Should I use a different docker instead?

see the below threads, it will give you latest version deployed, also you need to update the

Hi @siddique, tried this but can’t get it work.
I’m not a diehard docker expert. I also tried the original base-image of Axelor installing on an unraid server. See image. Now I’m stuck with an rename error. Any idea?

do you have files mounted at those places ? Resource busy means it is pointing to same mount point, I have not used the unraid before

can you try with this image name

siddiqueahmad/axelor-docker:axelor-webapp-aop-54

Not that I’m aware off.

I tried installing your image. It’s getting stuck after a while.

LOGS:

The files belonging to this database system will be owned by user « postgres ».
This user must also own the server process.

The database cluster will be initialized with locale « en_US.UTF-8 ».
The default database encoding has accordingly been set to « UTF8 ».
The default text search configuration will be set to « english ».

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/9.6/main … ok
creating subdirectories … ok
selecting default max_connections … 100
selecting default shared_buffers … 128MB
selecting default timezone … Europe/Berlin
selecting dynamic shared memory implementation … posix
creating configuration files … ok
running bootstrap script … ok
performing post-bootstrap initialization … ok

WARNING: enabling « trust » authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
–auth-local and --auth-host, the next time you run initdb.
syncing data to disk … ok

Success. You can now start the database server using:

pg_ctl -D /var/lib/postgresql/9.6/main -l logfile start
  • Starting PostgreSQL 9.6 database server
    …done.
    CREATE ROLE
    CREATE DATABASE
    /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

19-Sep-2022 12:37:41.889 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.38
19-Sep-2022 12:37:41.970 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 2019 11:42:42 UTC
19-Sep-2022 12:37:41.970 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.38.0
19-Sep-2022 12:37:41.970 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
19-Sep-2022 12:37:41.970 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.15.46-Unraid
19-Sep-2022 12:37:41.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
19-Sep-2022 12:37:41.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /opt/java/openjdk/jre
19-Sep-2022 12:37:41.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_345-b01
19-Sep-2022 12:37:41.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Temurin
19-Sep-2022 12:37:41.971 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /var/lib/tomcat
19-Sep-2022 12:37:41.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/local/tomcat
19-Sep-2022 12:37:41.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat/conf/logging.properties
19-Sep-2022 12:37:41.972 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
19-Sep-2022 12:37:41.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Daxelor.config=/var/lib/tomcat/app.properties
19-Sep-2022 12:37:41.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
19-Sep-2022 12:37:41.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
19-Sep-2022 12:37:41.973 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
19-Sep-2022 12:37:41.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
19-Sep-2022 12:37:41.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/var/lib/tomcat
19-Sep-2022 12:37:41.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
19-Sep-2022 12:37:41.974 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/var/lib/tomcat/temp
19-Sep-2022 12:37:41.974 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.21] using APR version [1.6.5].
19-Sep-2022 12:37:41.975 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
19-Sep-2022 12:37:41.975 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
19-Sep-2022 12:37:41.980 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020]
19-Sep-2022 12:37:42.366 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [« http-nio-8080 »]
19-Sep-2022 12:37:42.378 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
19-Sep-2022 12:37:42.401 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler [« ajp-nio-8009 »]
19-Sep-2022 12:37:42.402 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
19-Sep-2022 12:37:42.403 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1748 ms
19-Sep-2022 12:37:42.453 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
19-Sep-2022 12:37:42.453 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.38
19-Sep-2022 12:37:42.494 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/var/lib/tomcat/webapps/ROOT.war]
19-Sep-2022 12:37:53.568 WARNING [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [4.0]. Default version will be used.
19-Sep-2022 12:38:08.743 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2022-09-19 12:38:09.503 DEBUG 211 — [ost-startStop-1] com.axelor.db.JpaModule : Configuring database…
2022-09-19 12:38:09.844 INFO 211 — [ost-startStop-1] com.axelor.auth.pac4j.AuthPac4jModule : Loading pac4j: AuthPac4jModuleLocal
2022-09-19 12:38:09.939 INFO 211 — [ost-startStop-1] com.axelor.auth.pac4j.AuthPac4jModule : Added local client: FormClient
2022-09-19 12:38:11.471 INFO 211 — [ost-startStop-1] com.axelor.app.AppModule : Configuring app modules…
2022-09-19 12:38:11.472 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.exception.module.AxelorExceptionModule
2022-09-19 12:38:11.474 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.tool.module.ToolModule
2022-09-19 12:38:11.478 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.base.module.AdminModule
2022-09-19 12:38:11.490 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.message.module.MessageModule
2022-09-19 12:38:11.500 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.base.module.BaseModule
2022-09-19 12:38:11.566 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.purchase.module.PurchaseModule
2022-09-19 12:38:11.577 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.stock.module.StockModule
2022-09-19 12:38:11.604 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.account.module.AccountModule
2022-09-19 12:38:11.702 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.crm.module.CrmModule
2022-09-19 12:38:11.714 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.sale.module.SaleModule
2022-09-19 12:38:11.741 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.supplychain.module.SupplychainModule
2022-09-19 12:38:11.797 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.supplierportal.module.SupplierPortalModule
2022-09-19 12:38:11.800 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.contract.module.ContractModule
2022-09-19 12:38:11.806 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.bankpayment.module.BankPaymentModule
2022-09-19 12:38:11.836 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.project.module.ProjectModule
2022-09-19 12:38:11.852 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.hr.module.HumanResourceModule
2022-09-19 12:38:11.886 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.businessproject.module.BusinessProjectModule
2022-09-19 12:38:11.905 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.fleet.module.FleetModule
2022-09-19 12:38:11.907 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.helpdesk.module.HelpdeskModule
2022-09-19 12:38:11.910 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.portal.module.ClientPortalModule
2022-09-19 12:38:11.911 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.businesssupport.module.BusinessSupportModule
2022-09-19 12:38:11.915 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.production.module.ProductionModule
2022-09-19 12:38:11.949 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.maintenance.module.MaintenanceModule
2022-09-19 12:38:11.955 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.projectdms.module.ProjectDMSModule
2022-09-19 12:38:11.956 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.talent.module.TalentModule
2022-09-19 12:38:11.963 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.businessproduction.module.BusinessProductionModule
2022-09-19 12:38:11.974 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.cash.management.module.CashManagementModule
2022-09-19 12:38:11.980 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.studio.module.StudioModule
2022-09-19 12:38:11.998 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.bpm.module.BpmModule
2022-09-19 12:38:12.022 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.quality.module.QualityModule
2022-09-19 12:38:12.026 DEBUG 211 — [ost-startStop-1] com.axelor.app.AppModule : Configure module: com.axelor.apps.marketing.module.MarketingModule
2022-09-19 12:38:17.982 DEBUG 211 — [pool-2-thread-1] com.axelor.db.JpaScanner : Searching for entity classes…
2022-09-19 12:38:17.983 DEBUG 211 — [pool-2-thread-3] com.axelor.db.JpaScanner : Searching for value enum classes…
2022-09-19 12:38:17.983 DEBUG 211 — [pool-2-thread-2] com.axelor.db.JpaScanner : Searching for repository classes…
2022-09-19 12:38:18.792 DEBUG 211 — [pool-2-thread-3] com.axelor.db.JpaScanner : Value enum classes found: 8
2022-09-19 12:38:19.221 DEBUG 211 — [pool-2-thread-2] com.axelor.db.JpaScanner : Repository classes found: 767
2022-09-19 12:38:25.936 DEBUG 211 — [pool-2-thread-1] com.axelor.db.JpaScanner : Entity classes found: 609

it is not stuck, it is loading all classes, this step is time consumer, increase the timeout say 2-5 minutes,