Automate module installation

Hi everyone,

Was hoping someone could point me in the right direction when it comes to installing modules without using the module loader.

What I was hoping for is a robo command that would extract the files. Then we could run the repair command to add the tables.

Any advice would be appreciated

The Module installer documentation will help you understand the package contents:

There currently isn’t a Robo task that I know of - but maybe, just maybe, it won’t be too hard to do. See here for a starting point:

That silent parameter might be what you’re looking for.

Hey, did you found solution how install module from command line?

Hey Imax,

We are using Kubernetes, so we wanted a way to ship a docker container with the modules already installed.
(To make our CI/CD practices work better)

What we ended up doing is;

  1. Creating a git repo
  2. Installing SuiteCRM from source
  3. Running the application
  4. Installing the module
  5. Git ignoring all the cached areas
  6. Liquibase to do Database changes

We got there in the end.
It allowed us to stop using an NFS. (We didn’t need to do file uploads)

1 Like

How you install module?

  1. Login as an admin user.
  2. Go to menu, click Admin.
  3. Go to Admin Tools, click Module Loader.
  4. Click Browse.
  5. Click Upload.
  6. Click Install.

Yes, I am familiar with this process, but I don’t want to click everything manually. That’s also the reason why I’m interested in what is needed for creating my own Docker image. I would be okay if it was enough to download it via the wget module and install it through a simple command in the Bitnami image, but I haven’t found such an installation method.