# Bug OP-20235 - Unable to create backup with PostgreSQL 18: mismatch pg_dump version with postgres server version

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | DevSecOps / Docker, DevSecOps / Installer and packaging |
| Target versions | 18.0.0 |
| 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 |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Login as a user with an active backup token

2.  Go to the Administration/backups page

3.  Enter your backup token

4.  Click on "Request backup"

### What is the buggy behavior?

  - An error message is displayed almost immediately stating "Somthing went wrong"

  - The error details says:  
    Backup failed: pg\_dump: error: aborting because of server version mismatch pg\_dump: detail: server version: 18.6 (Ubuntu 18.6-0ubuntu0.26.04.1); pg\_dump version: 17.11 (Debian 17.11-1.pgdg13+2)

### What is the expected behavior?

In accordance with system requirements for database: <https://www.openproject.org/docs/installation-and-operations/system-requirements/#database> OpenProject should support any Postgres database version above 16

### 

### **Logs**

``` text
2026-09-21T10:52:19.172624995Z I, [2026-09-21T10:52:19.171748 #7]  INFO -- : [ActiveJob] [BackupJob] [24614f57-5592-4d86-9af4-d9946de02835] Performing BackupJob (Job ID: 24614f57-5592-4d86-9af4-d9946de02835) from GoodJob(default) enqueued at 2026-09-21T10:52:16.666412796Z
2026-09-21T10:52:19.417620727Z I, [2026-09-21T10:52:19.416205 #7]  INFO -- : [ActiveJob] [BackupJob] [24614f57-5592-4d86-9af4-d9946de02835] BackupJob(include_attachments: false) finished with status failure (dumped: false, archived: )
2026-09-21T10:52:19.417713173Z I, [2026-09-21T10:52:19.416491 #7]  INFO -- : [ActiveJob] [BackupJob] [24614f57-5592-4d86-9af4-d9946de02835] Performed BackupJob (Job ID: 24614f57-5592-4d86-9af4-d9946de02835) from GoodJob(default) in 329.3ms
```

### Screenshots and other files

<img class="image_resized op-uc-image op-uc-image_inline" style="width:359px;" src="/api/v3/attachments/924898/content">

### Environment information

**OpenProject installation type:**

  - Docker-compose installation

  - Stand-alone database server

**OpenProject version**

**Product version**

v17.8.0

**Core version**

OpenProject 17.8.0

**PostgreSQL version**

18.6

**Browser**

- [x] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows  
  Client
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [x] Linux (please specify distro)  
  Ubuntu 26.04.1 LTS (Both server & database server)
- [ ] Chrome OS
- [ ] Other (please specify)
