Solving problems

Error starting docker after update

After an update I came across this error

chmod: changing permissions of '/config/nginx/site-confs': Bad address
chmod: changing permissions of '/config/nginx/site-confs/default.conf.sample': Bad address
chmod: changing permissions of '/config/nginx/site-confs/default.conf': Bad address
chmod: changing permissions of '/config/nginx/nginx.conf.sample': Bad address
chmod: changing permissions of '/config/nginx/ssl.conf.sample': Bad address
chmod: changing permissions of '/config/nginx/nginx.conf': Bad address
chmod: changing permissions of '/config/nginx/ssl.conf': Bad address
chmod: changing permissions of '/config/nginx/dhparams.pem': Bad address
chmod: changing permissions of '/config/nginx/resolver.conf': Bad address
chmod: changing permissions of '/config/nginx/worker_processes.conf': Bad address
chmod: changing permissions of '/etc/logrotate.d/acpid': Bad address
chmod: changing permissions of '/etc/logrotate.d/nginx': Bad address
chmod: changing permissions of '/etc/logrotate.d/php-fpm': Bad address
chmod: changing permissions of '/etc/logrotate.d/php-fpm83': Bad address
App Key found - setting variable for seds

It was solved by going into the container

[~] # docker exec -it 52e39ca076d9 /bin/bash
user@52e39ca076d9:/config/nginx/site-confs# chmod +777 default.conf
user@52e39ca076d9:/config/nginx# chmod +777 nginx.conf

Restart container

Error starting MariaDB after update

After an update I saw this in my docker station

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 10.11.8-r0-ls155
Build-date: 2024-09-10T07:43:39+00:00
───────────────────────────────────────
    
chmod: changing permissions of '/var/run/mysqld/mysqld.pid': Bad address
s6-rc: warning: unable to start service init-mariadb-config: command exited 1
[migrations] started
[migrations] no migrations found
usermod: no changes

 

Again, ssh into the docker and in this case, removing the mysqld.pid solved the problem:

 

 

[~] # docker exec -it e2de9fa5c446 /bin/bash
user@e2de9fa5c446:/# cd /var/run
user@e2de9fa5c446:/var/run# cd mysqld
user@e2de9fa5c446:/var/run/mysqld# ls
mysqld.pid  mysqld.sock
user@e2de9fa5c446:/var/run/mysqld# rm mysqld.pid

SMTP: response code "235" but got code "535"

This is probably more a PHP error, but I came across it in the context of bookstacks.

When configuring the .env file to connect to a mail server, and testing the email, you might get this error:

unexpected response code "235" but got code "535", with message "535 Error: authentication failed".". Authenticator "PLAIN" returned "Expected response code "235" but got code "535

The problem goes away when you put the password in quotes a such:

 

 

MAIL_PASSWORD="thIsIsYour873#password"