Open siimpliidiip opened 2 months ago
While troubleshooting, I noticed that if you replace the $_ENV['DB_PASSWORD"] with the actual password. It works perfectly. The clue was the PHP Logs showing that login was "(using password: NO)". Other parts of the Application accurately retrieve the value from the ENV variables. Another aspect of it is that my password starts with the '#' character. I'm not well versed enough in PHP / Laravel and with phpdotenv to know how the variable is resolved and if it could be that my password is getting commented out (?)
Support guidelines
I've found a bug and checked that ...
Description
I've recently been migrating my Self-Hosted to Docker but when going from v 0.14.1 to v1, I'm encountering some issues with connecting to the MariaDB. This coincides with the change to use AccessPolicy.php.
Expected behaviour
Seemless connection to the DB.
Actual behaviour
Incoming mail is getting rejected
mail postfix/smtpd[1164]: warning: problem talking to server private/policy: Application error
NOQUEUE: reject: RCPT from mail-qt1-f181.google.com[209.85.160.181]: 451 4.3.5 <xxxxx@xxxx.xxxx.xxx>: Recipient address rejected: Server configuration problem; from=<xxxxxx@gmail.com> to=<xxxxx@xxxx.xxxx.xxx> proto=ESMTP helo=<mail-qt1-f181.google.com>
Postfix Php Logs
SQLSTATE[HY000] [1045] Access denied for user 'anonaddy'@'192.168.112.3' (using password: NO) (Connection: default, SQL: select exists(select
idfrom
aliaseswhere
email= xxxxx@xxxx.xxxx.xxx) as
exists`)Steps to reproduce
Start with a docker container older than 0.14.1 and migrate to a container newer than 1.0.0
Docker info
Docker Compose config
No response
Logs
Additional info
No response