Did anyone manage to install Dradis CE on Ubuntu 20.04 ?
I have tried the instructions here with no luck.
Hey @H2Cyber, what error(s) do you run into when installing? It should still be working as far as I know!
Here is the error I get :
hcyber@ubuntu:~/dradis-ce$ ./bin/setup
== Enabling default add-ons ==
== Installing dependencies ==
git@github.com:paper-trail-gem/paper_trail.git (at 1e56afd@1e56afd) is not yet checked out. Run `bundle install` first.
Fetching git@github.com:paper-trail-gem/paper_trail.git
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Retrying `git clone git@github.com:paper-trail-gem/paper_trail.git /usr/share/rvm/gems/ruby-2.7.2/cache/bundler/git/paper_trail-1099ff99be89c52753a9da60941c019b052529ab --bare --no-hardlinks --quiet` at /home/hcyber/dradis-ce due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command `git clone git@github.com:paper-trail-gem/paper_trail.git /usr/share/rvm/gems/ruby-2.7.2/cache/bundler/git/paper_trail-1099ff99be89c52753a9da60941c019b052529ab --bare --no-hardlinks --quiet` in directory /home/hcyber/dradis-ce has failed.
If this error persists you could try removing the cache directory '/home/hcyber/dradis-ce'
Retrying `git clone git@github.com:paper-trail-gem/paper_trail.git /usr/share/rvm/gems/ruby-2.7.2/cache/bundler/git/paper_trail-1099ff99be89c52753a9da60941c019b052529ab --bare --no-hardlinks --quiet` at /home/hcyber/dradis-ce due to error (3/4): Bundler::Source::Git::GitCommandError Git error: command `git clone git@github.com:paper-trail-gem/paper_trail.git /usr/share/rvm/gems/ruby-2.7.2/cache/bundler/git/paper_trail-1099ff99be89c52753a9da60941c019b052529ab --bare --no-hardlinks --quiet` in directory /home/hcyber/dradis-ce has failed.
If this error persists you could try removing the cache directory '/home/hcyber/dradis-ce'
Retrying `git clone git@github.com:paper-trail-gem/paper_trail.git /usr/share/rvm/gems/ruby-2.7.2/cache/bundler/git/paper_trail-1099ff99be89c52753a9da60941c019b052529ab --bare --no-hardlinks --quiet` at /home/hcyber/dradis-ce due to error (4/4): Bundler::Source::Git::GitCommandError Git error: command `git clone git@github.com:paper-trail-gem/paper_trail.git /usr/share/rvm/gems/ruby-2.7.2/cache/bundler/git/paper_trail-1099ff99be89c52753a9da60941c019b052529ab --bare --no-hardlinks --quiet` in directory /home/hcyber/dradis-ce has failed.
If this error persists you could try removing the cache directory '/home/hcyber/dradis-ce'
Git error: command `git clone git@github.com:paper-trail-gem/paper_trail.git
/usr/share/rvm/gems/ruby-2.7.2/cache/bundler/git/paper_trail-1099ff99be89c52753a9da60941c019b052529ab --bare --no-hardlinks
--quiet` in directory /home/hcyber/dradis-ce has failed.
If this error persists you could try removing the cache directory '/home/hcyber/dradis-ce'
== Command ["bundle install"] failed ==
Same exact error both on a fresh Ubuntu 20.4 and Kali 2021.1.
replicated the error in different environment for both Ubuntu and Kali
@4rdver have you tried removing the cache directory like the error mentions? /home/[redacted]/dradis-ce
?
yes tried that.
I also tried the âfixâ from https:// Setup Fails ¡ Issue #782 ¡ dradis/dradis-ce ¡ GitHub
replaced in Gemfile the line
gem âpaper_trailâ, git: âgit@github.com:paper-trail-gem/paper_trail.gitâ, ref: â1e56afdâ
with the line
gem âpaper_trailâ, git: âhttps ://github.com:paper-trail-gem/paper_trail.gitâ, ref: â1e56afdâ
But when i run âsudo ruby bin/setupâ I get the following error:
== Enabling default add-ons ==
== Installing dependencies ==
Traceback (most recent call last):
32: from /usr/local/bin/bundle:23:in<main>' 31: from /usr/local/bin/bundle:23:in
loadâ
30: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/exe/bundle:37:in<top (required)>' 29: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/friendly_errors.rb:130:in
with_friendly_errorsâ
28: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/exe/bundle:49:inblock in <top (required)>' 27: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/cli.rb:24:in
startâ
26: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/base.rb:485:instart' 25: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/cli.rb:30:in
dispatchâ
24: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor.rb:392:indispatch' 23: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
invoke_commandâ
22: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/command.rb:27:inrun' 21: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/cli.rb:182:in
checkâ
20: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/cli/check.rb:15:inrun' 19: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler.rb:194:in
definitionâ
18: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/definition.rb:33:inbuild' 17: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/dsl.rb:13:in
evaluateâ
16: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/dsl.rb:232:into_definition' 15: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/dsl.rb:232:in
newâ
14: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/definition.rb:124:ininitialize' 13: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/definition.rb:689:in
converge_sourcesâ
12: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source_list.rb:99:inreplace_sources!' 11: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source_list.rb:77:in
lock_sourcesâ
10: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source_list.rb:77:insort_by' 9: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source_list.rb:77:in
eachâ
8: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:78:into_s' 7: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:228:in
revisionâ
6: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:306:ingit_proxy' 5: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:219:in
cache_pathâ
4: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:326:ingit_scope' 3: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:289:in
uri_hashâ
2: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/uri/lib/uri/common.rb:234:inparse' 1: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb:73:in
parseâ
/var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb:67:insplit': bad Bundler::URI(is not Bundler::URI?): "https://github.com:paper-trail-gem/paper_trail.git" (Bundler::URI::InvalidURIError) Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Traceback (most recent call last): 34: from /usr/local/bin/bundle:23:in
â
33: from /usr/local/bin/bundle:23:inload' 32: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/exe/bundle:37:in
<top (required)>â
31: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/friendly_errors.rb:130:inwith_friendly_errors' 30: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/exe/bundle:49:in
block in <top (required)>â
29: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/cli.rb:24:instart' 28: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/base.rb:485:in
startâ
27: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/cli.rb:30:indispatch' 26: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor.rb:392:in
dispatchâ
25: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:ininvoke_command' 24: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/thor/lib/thor/command.rb:27:in
runâ
23: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/cli.rb:258:ininstall' 22: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/settings.rb:115:in
temporaryâ
21: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/cli.rb:259:inblock in install' 20: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/cli/install.rb:61:in
runâ
19: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler.rb:194:indefinition' 18: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/definition.rb:33:in
buildâ
17: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/dsl.rb:13:inevaluate' 16: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/dsl.rb:232:in
to_definitionâ
15: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/dsl.rb:232:innew' 14: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/definition.rb:124:in
initializeâ
13: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/definition.rb:689:inconverge_sources' 12: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source_list.rb:99:in
replace_sources!â
11: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source_list.rb:77:inlock_sources' 10: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source_list.rb:77:in
sort_byâ
9: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source_list.rb:77:ineach' 8: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:78:in
to_sâ
7: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:228:inrevision' 6: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:306:in
git_proxyâ
5: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:219:incache_path' 4: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:326:in
git_scopeâ
3: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/source/git.rb:289:inuri_hash' 2: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/uri/lib/uri/common.rb:234:in
parseâ
1: from /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb:73:inparse' /var/lib/gems/2.7.0/gems/bundler-2.2.8/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb:67:in
splitâ: bad Bundler::URI(is not Bundler::URI?): âhttps://github.com:paper-trail-gem/paper_trail.gitâ (Bundler::URI::InvalidURIError)== Command [âbundle installâ] failed ==
same error if i run âbundle installâ
update: after the latest update on github, reinstalling it on Ubuntu and Kali has completed successfully.
Try to install it on fresh Kali 2021.2 and Ubuntu Desktop 20.04 with no luck. On Kali I get
== Enabling default add-ons ==
== Installing dependencies ==
Your Ruby version is 2.7.4, but your Gemfile specified 2.7.2
Your Ruby version is 2.7.4, but your Gemfile specified 2.7.2
== Command [âbundle installâ] failed ==
On Ubuntu it got stuck installing libv8
Any ideas?
Hey @blueshore this thread should help you get your Ruby version changed to v2.7.2: Installation Issue - #4 by CybertSys. Otherwise, Google is probably your friend with libv8 install errors, Iâve had trouble with that dependency before myself.
Thanks! Notice that most users are going with the build-in in Kali. Since Iâm doing an eval for recommendation, Iâll check that way, and then I might get deeper into the rabbit hole