Closed nheiniger closed 7 years ago
This also happens at build time after precompiling the assets.
** Saving backup... bundler: failed to load command: thor (/usr/local/bundle/bin/thor)
NameError: uninitialized constant DradisTasks::ProjectExport
/dradis-git/server/lib/tasks/thorfile.rb:26:in `backup'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
/usr/local/bundle/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/invocation.rb:115:in `invoke'
/dradis-git/server/lib/tasks/thorfile.rb:50:in `reset'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
/usr/local/bundle/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/runner.rb:44:in `method_missing'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/command.rb:29:in `run'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/command.rb:126:in `run'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
/usr/local/bundle/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
/usr/local/bundle/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
/usr/local/bundle/gems/thor-0.19.4/bin/thor:6:in `<top (required)>'
/usr/local/bundle/bin/thor:17:in `load'
/usr/local/bundle/bin/thor:17:in `<top (required)>'
Yep, getting the same error. It seems to work using reset:database or reset:attachments, but neither allow me to clear the DB successfully and import a backup successfully.
Hello,
I installed Dradis-DE from GIT as explained here https://dradisframework.com/ce/documentation/install_git.html I made some modification to the instance and tried to reset it without success. I already opened a thread on CE forums and was asked to add an issue here.
Here is the output that I got: