Content
Updated by Olivier Dalang almost 5 years ago
### **Environment**:
Your OpenProject Version: 10.1
Operating System / Browser / Language: Windows 10
### **Logs**
```text
Starting PostgreSQL 9.6 database server: mainError: Config owner (postgres:103) and data owner (memcache:102) do
not match, and config owner is not root ... failed!
```
### **Steps to reproduce:**
1. start the container with a named volume for the postgres data
2. wait until it works
3. restart the container
### **Actual Behavior**
Under Windows, docker volumes are mounted as owned by root, but in the container, postgres doesn't run as root. Postgres requires to run with the same user than the file's owner.
### **Expected Behavior**
It should work on Windows too (one benefit of using Docker is to have cross platform usability).
Your OpenProject Version: 10.1
Operating System / Browser / Language: Windows 10
### **Logs**
```text
Starting PostgreSQL 9.6 database server: mainError: Config owner (postgres:103) and data owner (memcache:102) do
not match, and config owner is not root ... failed!
```
### **Steps to reproduce:**
1. start the container with a named volume for the postgres data
2. wait until it works
3. restart the container
### **Actual Behavior**
Under Windows, docker volumes are mounted as owned by root, but in the container, postgres doesn't run as root. Postgres requires to run with the same user than the file's owner.
### **Expected Behavior**
It should work on Windows too (one benefit of using Docker is to have cross platform usability).