# Bug OP-10438 - openproject configure fails Ubuntu 20.04

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

## Open points

_No work packages_

## Details

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

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| 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**:

Your OpenProject Version: Version 12

Operating System / Browser / OpenProject language:

Ubuntu 20.04 & Ubuntu 18.04

Brand new freshly installed OS on digital ocean VM 

2vcore 4GB ram

### **Logs**

\[openproject\] ./bin/configure  
DONE  
\[legacy-installer\] ./bin/preinstall  
\[openproject-edition\] ./bin/preinstall  
\[postgres\] ./bin/preinstall  
INFO: autoinstall=install. A new PostgreSQL v13 server will be installed locally unless a conflicting installation is found.  
INFO: existing installation found. Skipping to next step.  
INFO: Checking connection to PostgreSQL server...  ?column?   
\----------  
       1  
(1 row)

OK  
\[apache2\] ./bin/preinstall  
\[repositories\] ./bin/preinstall  
Module perl already enabled  
Module dav already enabled  
Considering dependency dav for dav\_svn:  
Module dav already enabled  
Module dav\_svn already enabled  
\[Sat May 14 00:07:53.899650 2022\] \[so:warn\] \[pid 57574\] AH01574: module dav\_module is already loaded, skipping  
Your MPM seems to be threaded. Selecting cgid instead of cgi.  
Module cgid already enabled  
\[smtp\] ./bin/preinstall  
\[memcached\] ./bin/preinstall  
\[openproject\] ./bin/preinstall  
\[legacy-installer\] ./bin/postinstall  
\[openproject-edition\] ./bin/postinstall  
\[postgres\] ./bin/postinstall  
\[apache2\] ./bin/postinstall  
Last prefix was /  
Module rewrite already enabled  
Module proxy already enabled  
Considering dependency proxy for proxy\_http:  
Module proxy already enabled  
Module proxy\_http already enabled  
Module headers already enabled  
Module expires already enabled  
Considering dependency filter for deflate:  
Module filter already enabled  
Module deflate already enabled  
Module filter already enabled  
Site openproject already enabled  
\[Sat May 14 00:07:55.454662 2022\] \[so:warn\] \[pid 57868\] AH01574: module dav\_module is already loaded, skipping  
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message  
Syntax OK  
\[repositories\] ./bin/postinstall  
Setting up Git integration for Apache  
\[smtp\] ./bin/postinstall  
\[memcached\] ./bin/postinstall  
\[openproject\] ./bin/postinstall  
/opt/openproject/config/constants/settings/definition.rb:307:in \`find\_env\_var\_override': Using unprefixed environment variables is deprecated. Please use OPENPROJECT\_ATTACHMENTS\_STORAGE\_PATH instead of ATTACHMENTS\_STORAGE\_PATH (StructuredWarnings::StandardWarning)  
/opt/openproject/config/constants/settings/definition.rb:307:in \`find\_env\_var\_override': Using unprefixed environment variables is deprecated. Please use OPENPROJECT\_RAILS\_CACHE\_STORE instead of RAILS\_CACHE\_STORE (StructuredWarnings::StandardWarning)  
/opt/openproject/config/constants/settings/definition.rb:307:in \`find\_env\_var\_override': Using unprefixed environment variables is deprecated. Please use OPENPROJECT\_ATTACHMENTS\_STORAGE\_PATH instead of ATTACHMENTS\_STORAGE\_PATH (StructuredWarnings::StandardWarning)  
/opt/openproject/config/constants/settings/definition.rb:307:in \`find\_env\_var\_override': Using unprefixed environment variables is deprecated. Please use OPENPROJECT\_RAILS\_CACHE\_STORE instead of RAILS\_CACHE\_STORE (StructuredWarnings::StandardWarning)  
W, [2022-05-14T00:08:24.227470 <mention class="mention" data-id="58850" data-type="work_package" data-text="#58850">#58850</mention>]  WARN -- : Creating scope :open. Overwriting existing method GithubPullRequest.open.  
\*\*\* Seeding for locale: 'en'  
\*\*\* Seeding basic data for standard edition  
↳ BuiltinRolesSeeder  
  \*\*\* Skipping built in role Non member - already exists  
  \*\*\* Skipping built in role Anonymous - already exists  
↳ RoleSeeder  
↳ ActivitySeeder  
↳ ColorSeeder  
↳ ColorSchemeSeeder  
↳ WorkflowSeeder  
  \*\*\* Skipping types, statuses and workflows as there are already some configured  
↳ PrioritySeeder  
↳ SettingSeeder  
  Loading discovered seeders:   
↳ EnumerationSeeder  
↳ SettingSeeder  
\*\*\* Seeding admin user  
\*\*\* Seeding demo data  
↳ GroupSeeder  
I, [2022-05-14T00:08:29.873205 <mention class="mention" data-id="58850" data-type="work_package" data-text="#58850">#58850</mention>]  INFO -- :     ↳ Creating groups  
↳ AttributeHelpTextSeeder  
I, [2022-05-14T00:08:29.873600 <mention class="mention" data-id="58850" data-type="work_package" data-text="#58850">#58850</mention>]  INFO -- :     ↳ Creating attribute help texts  
↳ GlobalQuerySeeder  
I, [2022-05-14T00:08:29.873786 <mention class="mention" data-id="58850" data-type="work_package" data-text="#58850">#58850</mention>]  INFO -- :     ↳ Creating global queries  
↳ ProjectSeeder  
↳ OverviewSeeder  
\*\*\* Loading action\_view\_railtie seed data  
\*\*\* Loading active\_storage seed data  
\*\*\* Loading action\_cable\_engine seed data  
\*\*\* Loading action\_mailbox seed data  
\*\*\* Loading action\_text seed data  
\*\*\* Loading doorkeeper\_engine seed data  
\*\*\* Loading typed\_dag\_engine seed data  
\*\*\* Loading date\_validator\_engine seed data  
\*\*\* Loading ok\_computer seed data  
\*\*\* Loading i18n\_js\_engine seed data  
\*\*\* Loading sentry seed data  
\*\*\* Loading openproject\_auth\_plugins seed data  
\*\*\* Loading openproject\_auth\_saml seed data  
\*\*\* Loading openproject\_openid\_connect seed data  
\*\*\* Loading openproject\_documents seed data  
\*\*\* Loading openproject\_xls\_export seed data  
\*\*\* Loading costs seed data  
\*\*\* Loading openproject\_reporting seed data  
\*\*\* Loading openproject\_meeting seed data  
\*\*\* Loading openproject\_pdf\_export seed data  
\*\*\* Loading openproject\_backlogs seed data  
\*\*\* Loading openproject\_avatars seed data  
\*\*\* Loading openproject\_two\_factor\_authentication seed data  
\*\*\* Loading openproject\_webhooks seed data  
\*\*\* Loading openproject\_github\_integration seed data  
\*\*\* Loading openproject\_ldap\_groups seed data  
\*\*\* Loading openproject\_recaptcha seed data  
\*\*\* Loading openproject\_job\_status seed data  
\*\*\* Loading grids\_engine seed data  
\*\*\* Loading my\_page\_engine seed data  
\*\*\* Loading dashboards seed data  
\*\*\* Loading openproject\_boards seed data  
\*\*\* Loading overviews seed data  
\*\*\* Loading budgets\_engine seed data  
\*\*\* Loading openproject\_team\_planner seed data  
\*\*\* Loading openproject\_calendar seed data  
\*\*\* Loading openproject\_storages seed data  
\*\*\* Loading openproject\_bim seed data  
/opt/openproject/config/constants/settings/definition.rb:307:in \`find\_env\_var\_override': Using unprefixed environment variables is deprecated. Please use OPENPROJECT\_ATTACHMENTS\_STORAGE\_PATH instead of ATTACHMENTS\_STORAGE\_PATH (StructuredWarnings::StandardWarning)  
/opt/openproject/config/constants/settings/definition.rb:307:in \`find\_env\_var\_override': Using unprefixed environment variables is deprecated. Please use OPENPROJECT\_RAILS\_CACHE\_STORE instead of RAILS\_CACHE\_STORE (StructuredWarnings::StandardWarning)  
rake aborted\!  
NoMethodError: undefined method \`set\_value\!' for nil:NilClass  
/opt/openproject/lib/tasks/setting.rake:57:in \`block (3 levels) in \<top (required)\>'  
/opt/openproject/lib/tasks/setting.rake:50:in \`each'  
/opt/openproject/lib/tasks/setting.rake:50:in \`block (2 levels) in \<top (required)\>'  
/opt/openproject/vendor/bundle/ruby/3.0.0/gems/sentry-ruby-core-5.2.1/lib/sentry/rake.rb:24:in \`execute'  
/opt/openproject/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in \`\<top (required)\>'  
bin/bundle:110:in \`load'  
bin/bundle:110:in \`\<main\>'  
Tasks: TOP =\> setting:set\_to\_env  
(See full trace by running task with --trace)  
sysadmin@projects:~$ 

### **Steps to reproduce:**

1.  Follow the installation steps
2.  <https://www.openproject.org/docs/installation-and-operations/installation/packaged/>

### **Actual Behavior**

configure fails with an error and openproject doesn't work

### **Expected Behavior**

It should work out of the box for new users right? 

I have tried the default install about 6-7 times. Freshly created VM at DigitalOcean. I get this same error every time when running "sudo openproject configure"
