Step by Step Installation - Linux

Hello,

Can we get a step by step guide to install Axelor in Debian/Ubuntu?

I’ve searched forums and scripts to help me install in Linux and as a Docker image with no movement.

Can somebody help?

Thank you
Ravi

https://docs.axelor.com/abs/5.0/install/index.html

Thanks for the response, Viktor.

I have tried all methods in the documentation. I have tried using few scripts from github. But nothing worked.

Only a standalone runtime works, an install from the source doesn’t work.

If you have installed it on Debian or Ubuntu, would you share all the steps?

I am asking for help after trying many many times.

Hi,

The better way:

  1. download the lastest release of tomcat (or using the apt tools)
  2. clone the lastest source code from github (https://github.com/axelor/abs-webapp.git)
  3. edit the config file src/main/resources/application.properties (especially the database stuff)
  4. compile using gradle (gradlew --no-daemon -x test build)
  5. copy the generated war (build/libs) into the webapps folder of tomcat
  6. start tomcat and take a look at the catalina.out file

Do not forget to serup the database as specified in the installation doc.

Regards

Better to start tomcat with -Daxelor.config=/path/to/config/file if you want to avoid recompile sources to change a single param :slight_smile:

from my point of view I prefer to edit the files directly inside the WEB-INF/classes instead of storing it outside this directory :slight_smile:

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘/home/admin/abs-webapp/build.gradle’ line: 23

  • What went wrong:
    A problem occurred evaluating root project ‘axelor-erp’.

Could not read script ‘/home/admin/abs-webapp/modules/abs/version.gradle’ as it does not exist.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 6s
admin@debian-1cpu-1gb-de-fra1:~/abs-webapp$ ./gradlew --no-daemon -x clean build

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘/home/admin/abs-webapp/build.gradle’ line: 23

  • What went wrong:
    A problem occurred evaluating root project ‘axelor-erp’.

Could not read script ‘/home/admin/abs-webapp/modules/abs/version.gradle’ as it does not exist.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 6s

What next?