# Bug OP-6977 - OP 10.4.x: Wrong message "Installation is already using MySQL, skipping postgres addon"

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 11.0.0 |
| Observed in versions | 10.4.0 |
| Sprint | 11.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.4.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: 10.4.1-1586955625.21892557.stretch

Operating System: Debian 9.12

PostgreSQL: 9.6.17

### **Logs**

Are there errors in the browser console? ([Click here for information on how to open your browser's console](https://webmasters.stackexchange.com/a/77337)) For a local installation: Are there relevant logs output by `openproject logs` (packaged installation) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable

### **Steps to reproduce:**

1.  Have a fresh Debian 9 system
2.  Install your own PostgreSQL database from Debian repo `apt-get install postgresql-9.6`
3.  Setup openproject database and user
4.  Run install according to <https://docs.openproject.org/installation-and-operations/installation/packaged/#debian-9>
5.  Run `sudo openproject configure` and check for MySQL error in output as shown below.

### **Actual Behavior**

Output of openproject configure

``` text
root@host:/opt/openproject# sudo openproject configure
Launching installer for openproject...
Selected addons: legacy-installer postgres apache2 repositories smtp memcached openproject
[legacy-installer] ./bin/configure
[postgres] ./bin/configure
Installation is already using MySQL, skipping postgres addon.
...
```

The value of postgres/autoinstall in /etc/openproject/installer.dat doesn't matter. The result is identical if you set reuse or skip.

### **Expected Behavior**

Since MySQL is deprecated and postgresql is used as standard DB in OP 10.x, the warning `Installation is already using MySQL, skipping postgres addon.` should not occur at all, even if mysql-common is still used.

If actually anything postgres related is skipped, this might be critical for proper setup.
