docker-tools icon indicating copy to clipboard operation
docker-tools copied to clipboard

proftpd: restart loop on docker-compose due to adduser error

Open richardg867 opened this issue 3 years ago • 1 comments
trafficstars

I run instantlinux/proftpd as part of a docker-compose stack, with restart set to always. Today, I found the server was no longer running, and docker-compose did not restart it as expected. Instead, the container's log had a flood of:

adduser: user 'backup' in use

...where backup is my configured FTPUSER_NAME. The entrypoint script should not attempt to create the FTP user if it somehow already exists.

richardg867 avatar Jun 28 '22 00:06 richardg867

Figured out how to reproduce, posting a fix, thanks for the report!

instantlinux avatar Aug 30 '22 05:08 instantlinux