Closed StCyr closed 2 years ago
Have you tried with the master branch from dmproadmap itself? This is a Belgian fork, with local additions. You could also try:
bin/rails db:schema:load
bin/rails db:migrate
(the "rake" commands for database are moved to the rails command since Rails 4 I guess)
Hi,
thanks for your answer.
I've already tried bin/rails db:schema:load and bin/rails db:migrate with no luck (same results).
Note that I have to export DB_ADAPTER=mysql2
and export RAILS_ENV=development
before running bin/setup or these commands. Maybe my environment is not 100% correct?
I believe I want the Belgian fork.
Could you please re-open the issue? I didn't find any useful resources elsewhere on the Internet to debug this issue.
hmmm, it seems an issue with my environment eventualy: the last lines of the error logs show:
/usr/local/bin/roadmap/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
bin/rails:4:in `<main>'
Tasks: TOP => db:schema:dump => db:load_config => environment
(See full trace by running task with --trace)
So, it looks like it's failing in db:load_config
or something
Hi,
I'm trying to setup roadmap on a development server, following the doc https://github.com/DMPRoadmap/roadmap/wiki/Installation
Unfortunatelly, I'm stuck at the
bin/setup
phase.For some reasons that I can't figure out myself, rails won't create/setup the database.
Could you help me figure out what's going wrong?
PS: I've already tried to setup the credentials, though it's supposed to happen after the
bin/setup
step. However, I didn't set thedevise_pepper
anddragonfly_secret
settings yet.What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
master branch
Expected behaviour:
running bin/setup should create the database
Actual behaviour:
Steps to reproduce:
follow steps described in https://github.com/DMPRoadmap/roadmap/wiki/Installation