Open miickel opened 5 years ago
The database hasn't had the install ran yet... Try setting MAUTIC_INSTALL to 1 for one deployment.
I have the same issue, MAUTIC_INSTALL is set to 1,
totalcaos@build-host:~/Documents/mautic-eb$ eb printenv Environment Variables: APP_URL = mauticebtest.xxxx.com REDIS_HOST = mautic-eb-redis.xxxx.apse2.cache.amazonaws.com DB_HOST_RO = clientclusterxxxx-ap-southeast-2.rds.amazonaws.com MAUTIC_INSTALL = 1 EFS_DNS_NAME = fs-xxxx.efs.ap-southeast-2.amazonaws.com MAUTIC_WORKERS = 1 DB_PORT = 3306 MAILER_FROM_EMAIL = xxxx@xxxx.com DB_USER = xxxx DB_PASSWD = xxxx DB_NAME = mauticebdb DB_HOST = clientclusterxxxx.ap-southeast-2.rds.amazonaws.com SECRET_KEY = xxxx MAILER_FROM_NAME = xxxx
However, when I look at the eb logs:
[2019-07-05T04:29:05.471Z] INFO [3169] - [Application deployment app-2_14_0-420-ge77d-190705_042547@18/StartupStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_5_mautic_eb/Command 72_mautic_install] : Completed activity. Result:
[2019-07-05 04:29:03] Database mauticebdb
for connection named default already exists. Skipped.
Installing mautic
This will replace all of the data currently in Mautic's tables. Are you sure you want to continue?
[0] No
[1] Yes
Output from aurora (db name = mauticebdb)
mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mautic_eb_multi | | mauticebdb | | mysql | | performance_schema | | tmp | +--------------------+ 6 rows in set (0.00 sec)
mysql> use mauticebdb; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A
Database changed mysql> show tables; +----------------------+ | Tables_in_mauticebdb | +----------------------+ | migrations | +----------------------+ 1 row in set (0.00 sec) `
What type of report is this:
Description:
Would love to see some more detailed install/deploy instructions for us new to AWS EBS. I had to guess quite a bit, and I still can't get mautic-eb to install properly. First it failed because EC2 wasn't able to connect to EFS, then same with RDS. Setting up a new security group with some options solved this.
Now however, the command
74_mautic_plugins
errors because the mautic tables have not been added in the database.Disclaimer: first time ever using AWS EBS.
Thanks for creating this project!
If a bug:
Steps to reproduce:
eb init
php 7.1, etc.eb create
+ envvars as in documentation. -> fails due to no access to EFS.eb deploy
Log errors: