Mailcow-dockerized: docker-compose issue regarding MAILDIR_SUB

Created on 19 Mar 2019  路  6Comments  路  Source: mailcow/mailcow-dockerized

I tried to setup a new server for testing purposes using docker-compose as explained in the documentation with the newest version. I saw in the GIT history that parameter "MAILDIR_SUB" was added recently. However, it seems to cause problems when setting up a new server:

ERROR: Invalid interpolation format for "environment" option in service "dovecot-mailcow": "MAILDIR_SUB=${MAILDIR_SUB:-}

Any ideas on how to solve the issue? Thanks!

missing info

Most helpful comment

Cannot replicate with latest compose. We cannot help if you guys skip the issue template, sorry.

All 6 comments

Cannot replicate with latest compose. We cannot help if you guys skip the issue template, sorry.

I have tried the setup on a fresh installation of the server and it worked... Seems to have been an issue with the old machine (despite of the latest docker-compose). Sorry for the inconvenience.

I have tried the setup on a fresh installation of the server and it worked... Seems to have been an issue with the old machine (despite of the latest docker-compose). Sorry for the inconvenience.

for those who find this issue when they search for this problem.
it can also happen when you run docker-compose without sudo rights!

you're using an old version of docker-compose. the new syntax was added in version 1.19.0 and older versions can't understand it.

how to update docker-compose: https://stackoverflow.com/a/49839172

Which compose version?

well... when I was having the issue, I was on 1.17.0 but I upgraded to 1.24.1 and it started working

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phipag picture phipag  路  3Comments

K2rool picture K2rool  路  3Comments

a3li picture a3li  路  3Comments

patrick7 picture patrick7  路  3Comments

mritzmann picture mritzmann  路  3Comments