Content
You are here:
[SOLVED] MySQL manual/automatic installation is no longer available?
Added by Moutonjr NotApplicable about 5 years ago
Hello team:
I try to install manually OpenProject from sources. I opted for standalone application server puma v.4.2.0
instead of the Phusion Passenger & Apache.
I'm running MySQL on the instance and don't want to add Postgres in parallel for performance concerns.
I'm therefore following https://github.com/opf/openproject/blob/stable/10/docs/installation/manual/README.md to proceed and changed this line before install:
[openproject@host] bundle install --deployment --without postgres sqlite development test therubyracer docker
However when firing rake
, I encounter an error of dependency with postgres, and saw that there is no occurence of any gem in then GemFile
.
openproject@yunohost:~/openproject$ RAILS_ENV="production" ./bin/rake db:create
rake aborted!
LoadError: Error loading the 'postgresql' Active Record adapter. Missing a gem it depends on? pg is not part of the bundle. Add it to your Gemfile.```
Is the MySQL support officially off?
Thank you very much for your comments about this,
-- moutonjr
Replies (4)
Small comment on this: the `openproject` package doesn't even let the choice of Database.
Hi,
9.0 deprecated support for MySQL and 10.0 removed it. For the background and reasoning for this, please see:
https://www.openproject.org/deprecating-mysql-support/
and
https://www.openproject.org/openproject-10-drag-drop-card-view-and-graphs/
Best,
Oliver
Hi Oliver and thank you for this amazing work.
There is plenty of doc bugs about mysql configs in the manual install which were confusing, really.
I'll therefore install postgres backend.
I'll issue a PR to track down these traces.
https://github.com/opf/openproject/pull/7741