Probesys / agentj

AgentJ is a free software anti-spam solution with human authentication and admin panel
https://agentj.io/
GNU Affero General Public License v3.0
22 stars 6 forks source link

docker agentj-smtp-1 can't Start #82

Open Setsaria opened 3 months ago

Setsaria commented 3 months ago

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 commented 3 months ago

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