Autoconfigure/Autoinstall of EspoCRM for use in containers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SuperEwald
    Junior Member
    • Jun 2018
    • 9

    Autoconfigure/Autoinstall of EspoCRM for use in containers

    I'm currently implementing an EspoCRM docker image which should be able to autoconfigure itself based on a configuration file (install from CLI instead of GUI).
    I inspected the steps of the GUI installer and reproduced them in a custom php script.

    The installation process runs actually fine (config.php is generated, aswell is the database and records). But if I now try to access EspoCRM from browser, I get a "Bad server response" even though there's no error/warning logged in either espo, apache or php logs. (Running php -f rebuild.php doesn't solve this too)

    I'm pretty sure I must be missing something that the original installer script does (because using the GUI installer works perfectly fine in the same container).

    This is what my CLI-installer does so far:

    1. check & save database configuration
    2. build database
    3. create admin user
    4. set preferences
    5. set email settings
    6. set success (method from gui installer)

    Could you may give me information about the required steps for installation so I can properly implement this script ?

    Thanks in advance,
    SuperEwald
    Last edited by SuperEwald; 10-21-2019, 01:55 PM.
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    This should be helpful https://github.com/turnkeylinux-apps...er/conf.d/main.

    Comment

    • SuperEwald
      Junior Member
      • Jun 2018
      • 9

      #3
      Originally posted by Maximus
      Nice, thanks for this man!

      Comment

      Working...