Skip to content

Chamilo automatic deployment - Ansible #2502

Open
@bruno911

Description

@bruno911

Hi,

I am starting to test Chamilo as an alternative to moodle.

I would like to use automatic deployment, I am currently using Ansible + ansistrano.

Basically the setup is as follow:

  • Chamilo in a private repository
  • Ansible + ansistrano deploy to the server

This way I can have rollbacks etc. Let's assume I want to create a new them, or customize part of Chamilo and can do it, merge and then redeploy.

There are a couple of issues, the first one is that after deploy I always get the first installation popup, I find out it is due to the file app/configuration that is missing, so I will copy that file after it is generated and merge it into my private repository.

Second issue, when I run the first install after deploying automatically, I get: "A test course has been created successfully": no.
While all other are yes, not sure why.

Third issue, is that every time I deploy I will delete the courses as the whole folder is replace with the repository one, the normal fix for this is to use share paths, so I could define for example if all courses were stored in ./main/course I could create that as a symbolic link to /data/chamilo/course and every time I deploy I have the courses always accessible.

I was wondering if anyone has managed to install chamilo using automatic deployments, or if I could be given some hints, for example which folders should be shared between instances and if is possible to set the app/configuration.php manually.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions