# Installing Dradis CE on Ubuntu 20.04

**URL:** <https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800>\
**Category:** Community Edition\
**Created:** [May 6, 2021, 8:36pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800 "2021-05-06T20:36:51Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![H2Cyber](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@H2Cyber](https://discuss.dradis.com/u/H2Cyber)\
**Post date:** [May 6, 2021, 8:36pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/1 "2021-05-06T20:36:51Z")

</div>

Did anyone manage to install Dradis CE on Ubuntu 20.04 ?  
I have tried the instructions [here](https://dradis.com/ce/documentation/install_git.html) with no luck.

---

<div class="post-metadata">

**Author:** ![rachkor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/rachkor/32/51_2.png) [@rachkor](https://discuss.dradis.com/u/rachkor)\
**Post date:** [May 6, 2021, 8:58pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/2 "2021-05-06T20:58:04Z")

</div>

Hey @H2Cyber, what error(s) do you run into when installing? It should still be working as far as I know!

---

<div class="post-metadata">

**Author:** ![H2Cyber](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@H2Cyber](https://discuss.dradis.com/u/H2Cyber)\
**Post date:** [May 6, 2021, 9:13pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/3 "2021-05-06T21:13:08Z")

</div>

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 ==

```

---

<div class="post-metadata">

**Author:** ![H2Cyber](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@H2Cyber](https://discuss.dradis.com/u/H2Cyber)\
**Post date:** [May 8, 2021, 7:58am UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/4 "2021-05-08T07:58:18Z")

</div>

I have tried to paste the error but the SPAM bot blocked it, here is a screenshot instead :

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/dradisframework/original/1X/b40e38777e7446932d0f2b03c53c12c13552739a.png)

---

<div class="post-metadata">

**Author:** ![4rdver](https://avatars.discourse-cdn.com/v4/letter/4/a6a055/32.png) [@4rdver](https://discuss.dradis.com/u/4rdver)\
**Post date:** [May 12, 2021, 3:48pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/5 "2021-05-12T15:48:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rachkor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/rachkor/32/51_2.png) [@rachkor](https://discuss.dradis.com/u/rachkor)\
**Post date:** [May 17, 2021, 3:30pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/6 "2021-05-17T15:30:56Z")

</div>

@4rdver have you tried removing the cache directory like the error mentions? `/home/[redacted]/dradis-ce`?

---

<div class="post-metadata">

**Author:** ![4rdver](https://avatars.discourse-cdn.com/v4/letter/4/a6a055/32.png) [@4rdver](https://discuss.dradis.com/u/4rdver)\
**Post date:** [May 20, 2021, 2:56pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/7 "2021-05-20T14:56:59Z")

</div>

yes tried that.

I also tried the ‘fix’ from https:// [Setup Fails · Issue #782 · dradis/dradis-ce · GitHub](http://github.com/dradis/dradis-ce/issues/782)

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:in `block 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:in `start' 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:in `dispatch' 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:in `run' 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:in `run' 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:in `build' 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:in `to_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:in `initialize' 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:in `replace_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:in `sort_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:in `to_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:in `git_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:in `git_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: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:in `parse’  
> /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) 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:in `load' 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:in `with_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:in `start' 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:in `dispatch' 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:in `invoke_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:in `install' 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:in `block 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:in `definition' 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:in `evaluate' 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:in `new' 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:in `converge_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:in `lock_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:in `each' 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:in `revision' 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:in `cache_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: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: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:in `parse' /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](https://github.com):paper-trail-gem/paper\_trail.git” (Bundler::URI::InvalidURIError)
> 
> == Command [“bundle install”] failed ==

same error if i run “bundle install”

---

<div class="post-metadata">

**Author:** ![4rdver](https://avatars.discourse-cdn.com/v4/letter/4/a6a055/32.png) [@4rdver](https://discuss.dradis.com/u/4rdver)\
**Post date:** [May 28, 2021, 7:07pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/8 "2021-05-28T19:07:35Z")

</div>

update: after the latest update on github, reinstalling it on Ubuntu and Kali has completed successfully.

---

<div class="post-metadata">

**Author:** ![blueshore](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@blueshore](https://discuss.dradis.com/u/blueshore)\
**Post date:** [August 6, 2021, 8:25pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/9 "2021-08-06T20:25:31Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![rachkor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/rachkor/32/51_2.png) [@rachkor](https://discuss.dradis.com/u/rachkor)\
**Post date:** [August 6, 2021, 8:47pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/10 "2021-08-06T20:47:48Z")

</div>

Hey @blueshore this thread should help you get your Ruby version changed to v2.7.2: [Installation Issue - #4 by CybertSys](https://discuss.dradis.com/t/installation-issue/740/4). Otherwise, Google is probably your friend with libv8 install errors, I’ve had trouble with that dependency before myself.

---

<div class="post-metadata">

**Author:** ![blueshore](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@blueshore](https://discuss.dradis.com/u/blueshore)\
**Post date:** [August 6, 2021, 9:22pm UTC](https://discuss.dradis.com/t/installing-dradis-ce-on-ubuntu-20-04/800/11 "2021-08-06T21:22:20Z")

</div>

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 🐇 🙂
