agentj icon indicating copy to clipboard operation
agentj copied to clipboard

docker agentj-smtp-1 can't Start

Open Setsaria opened this issue 1 year ago • 1 comments

Hello I made a Fresh install on a Fresh server I made : git clone https://github.com/Probesys/agentj.git cd agentj Edit the file .env with my information docker compose up -d

All docker are running except : ca832d0e5aa5 probesys38/agentj_smtp:1.6.3 "/entrypoint.sh supe…" 41 seconds ago Restarting (1) 11 seconds ago agentj-smtp-1

If a look the logs :

docker logs agentj-smtp-1

chown: cannot access '/var/spool/postfix/hold': No such file or directory chown: cannot access '/var/spool/postfix/hold': No such file or directory chown: cannot access '/var/spool/postfix/hold': No such file or directory

for information I use the version : VERSION=1.6.3

Someone get an Idea ?

Setsaria avatar Jul 03 '24 09:07 Setsaria

Solved 👍

Inspect the docker to see the Volume Docker inspect agentj-smtp1 "Source": "/var/lib/docker/volumes/agentj_postqueue/_data"

cd "/var/lib/docker/volumes/agentj_postqueue/_data" And create all folder listed in the Entrypoint of the Smtp

Restart docker compose and it's works

Setsaria avatar Jul 03 '24 11:07 Setsaria

Thank you, this was indeed a problem with postfix directory. This was fixed in the new version, see https://github.com/Probesys/agentj/blob/main/smtp/entrypoint.sh#L25

lpoujade avatar Feb 10 '25 14:02 lpoujade