Closed dssjoblom closed 2 years ago
You are missing the privilege to create the database. We could add an option to skip creation of database during install.
@dssjoblom I added an option to the installer. Can you try with
# Gemfile
gem "alchemy_cms", github: "tvdeyen/alchemy_cms", branch: "installer/skip-db-migrate"
@tvdeyen thanks for the response. However, I realized that the problem was actually in the database config, as it failed to set replica: true on the replica instance. After fixing this, the installation works even without the --skip-db-create flag.
Description
When installing (rake alchemy:install) with a DB replica setup, e.g. something along the lines of
in database.yml, the installer fails with an exception.
Expected behavior
The installation should work normally. Specifically, it should not try to do anything with the replica.
Actual behavior
Installation fails with an exception:
System configuration