# Bug OP-7475 - OpenProject development Setup on Debian / Ubuntu is not correct

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-7475

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions |  |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Oliver Günther |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Development

Operating System: Ubuntu 20.04.1 LTS  
64 Bit

### Observations + Actions

**Observed:** When running the console command as documented, I get an error message

```bash
sudo apt-get install git curl build-essential zlib1g-dev libyaml-dev libssl-dev libpq-dev libffi6

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libffi6
```

**Action:** I removed libffi6 from the command and continued.

\---

**Observed:** When installing Ruby, it complained about libreadline-dev missing.  
**Action:**

```bash
sudo apt-get install -y libreadline-dev
```

\---

**Observed:** after starting openproject with foreman, neither localhost:5000, nor 127.0.0.1:5000 (which are basically the same) are reachable. The last line in the console window is some database query.

**Action:** Start Openproject manually (start rails server and frontend). These two can be accessed on localhost using their respective ports.

\---

**What I did different from the manual:** I did not clone opf/openproject as described in the manual, but forked it first and cloned the fork. I would like to see it described like that in the docs also. 

\---

What is different from the manual: a minor detail - the installed versions

```bash
johan@WS0004:~/openproject$ ruby --version
ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-linux]
johan@WS0004:~/openproject$ node --version
v12.16.1
johan@WS0004:~/openproject$ npm -version
6.13.4
johan@WS0004:~/openproject$ 
```

\---

Next: I am completely new to Ruby, foreman and the Openproject development environment. So, if you need things like log-files etc, just let me know where to get the data.
