Help with database-charm relation

Joe Liau joe at ubuntuvancouver.org
Sat Feb 21 00:24:59 UTC 2015


Hello,

I'm new to the list and juju community. I'm not sure if this is how to
go about things, but here goes anyway :P

I started to make my first charm:
https://github.com/userj/suitecrm-charm

This is SuiteCRM (https://github.com/salesagility/SuiteCRM), based on
SugarCRM (https://github.com/salesagility/SuiteCRM)

SuiteCRM charm seems to deploy properly and connect to mysql db when
relation created. However, I cannot get the database details to populate
in the installation page of suitecrm. The page still shows  the default
information.

If I manually enter the details as extracted from the deploy log, then
the SuiteCRM seems to function properly.

Since SuiteCRM is based on SugarCRM, I tried copying the Sugar
db-relation-changed hook exactly, but that didn't seem to help.

Thanks for your help.

Joe





More information about the Juju mailing list