Syntax error in database.yml


#1

Hi, I followed the Kali install procedure from
https://dradisframework.com/ce/documentation/install_kali.html
, and then the git procedure as instructed from
https://dradisframework.com/ce/documentation/install_git.html

There were multiple problems.
The github file config/database.yml broke the install script.

The broken file contains:
default: &default
adapter: sqlite3
- pool: 5
+ pool: <%= ENV.fetch(“RAILS_MAX_THREADS”) { 5 } %>
timeout: 5000

I changed it like this, and it fixed the install:
vim /usr/lib/dradis-ce/config/database.yml

default: &default
adapter: sqlite3
 pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
 timeout: 5000

Regards,
Damien


#2

looks like this has been fixed in https://github.com/dradis/dradis-ce/pull/153