Dradis Installation on CentOS 6.7


#1

I downloaded the latest dradis framwork from git and installed it on CentOS 6.7. I am getting the following error when I try accessing the dradis.

Oops, your Dradis server isn’t quite ready to go.

Grab a system console and:

cd /home/user/Dradis/dradis-git/server

#RAILS_ENV=production bundle exec thor dradis:reset

If you’ve already configured Dradis, you need to reset the password.
#cd /home/user/Dradis/dradis-git/server
#RAILS_ENV=production bundle exec thor dradis:reset:password

I’ve tried running both commands as suggested but still no luck. Scouring the internet, one suggestion was to run the following command:

[root@fcf server]# RAILS_ENV=production bundle exec thor -T
WARNING: unable to load thorfile “/home/user/Dradis/dradis-git/server/Thorfile”: uninitialized constant ProjectScopedController
/usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.1.9/lib/active_support/inflector/methods.rb:238:in `const_get’
dradis

thor dradis:backup # creates a backup of your current repository
thor dradis:export:word # export the current repository structure as a Word report
thor dradis:import:msf:all # Import the hosts, sevices, notes, etc from Metasploit
thor dradis:import:osvdb:lookup ID # search the OSVDB for a specific ID
thor dradis:import:osvdb:search QUERY # search the OSVDB with a general query
thor dradis:reset # resets your local dradis repository
thor dradis:reset:attachments # removes all attachments
thor dradis:reset:database # removes all data from a dradis repository, except configurations
thor dradis:reset:logs # removes all log files
thor dradis:reset:password # Set a new shared password to access the web interface
thor dradis:server # start dradis server
thor dradis:settings [NAMESPACE] # list dradis settings, with an optional namespace to filter the results
thor dradis:settings:get SETTING # get the value of a dradis setting
thor dradis:settings:set SETTING VALUE # change the value of a dradis setting
thor dradis:setup:configure # Creates the Dradis configuration files from their templates (see config/*.yml.template)
thor dradis:setup:migrate # ensures the database schema is up-to-date
thor dradis:setup:seed # adds initial values to the database (i.e., categories and configurations)
thor dradis:upload:nexpose FILE # upload NeXpose results
thor dradis:upload:nikto FILE # upload nikto results
thor dradis:upload:nmap FILE # upload the results of an Nmap scan
thor dradis:upload:openvas FILE # upload OpenVAS results
thor dradis:upload:retina FILE # upload Retina results
thor dradis:upload:surecheck FILE # Upload a SureCheck .sc file
thor dradis:upload:typhon FILE # upload typhon results
thor dradis:upload:w3af FILE # upload w3af results
thor dradis:upload:wxf FILE # upload wXf results
thor dradis:upload:zap FILE # upload ZAP results
thor dradis:version # displays the version of the dradis server

Any help is greatly appreciated.


#2

Hi @rmishra3,

Where are you getting this thor dradis:reset instructions from?

Did you see this post?