Config email failure

1、.install.sh done, everything is ok
2、i change sentry/config.yml add my email info

        mail.host: 'smtp.163.com'
       mail.port: 25
       mail.username: 'uestca163.com'
       mail.password: '***'
       mail.use-tls: false
 mail.from: 'uestca@163.com'

3、docker-compose down

4、docker-compose up -d

5、then page is 502

6、i use docker-compose ps as follow:

According to the topic you have some issues with email. If its the mail failing and you have pasted from your config, the indentation is wrong :smiley:
But you dont supply enough information to help you.
What do you want to show with the print? geoipupdate container was not started? Thats probably because you dont have a valid geoip-file.

As you’ve changed config.yml for your Email set up, you need to run install.sh again to rebuild the docker images to activate such changes.

This is no longer needed since the last several months, a simple restart of the containers are enough. Your formatting suggest a YAML formatting error to me. Maybe you can share your logs via docker-compose logs web?

Hello,

I have exactly the same problem. I installed without the config and if i fill it up later i receive nginx 502. I tried both to restart containers and run ./install.sh on different fresh installs. I’m pretty sure the yaml formatting is ok.

Here it’s my docker-compose logs web:

web_1 | 12:00:03 [INFO] sentry.plugins.github: apps-not-configured
web_1 | *** Starting uWSGI 2.0.19.1 (64bit) on [Tue Jan 5 12:00:05 2021] ***
web_1 | compiled with version: 8.3.0 on 23 December 2020 20:37:00
web_1 | os: Linux-5.4.0-1031-azure #32~18.04.1-Ubuntu SMP Tue Oct 6 10:03:22 UTC 2020
web_1 | nodename: 528b702c5ec2
web_1 | machine: x86_64
web_1 | clock source: unix
web_1 | detected number of CPU cores: 2
web_1 | current working directory: /
web_1 | detected binary path: /usr/local/bin/uwsgi
web_1 | !!! no internal routing support, rebuild with pcre support !!!
web_1 | your memory page size is 4096 bytes
web_1 | detected max file descriptor number: 1048576
web_1 | lock engine: pthread robust mutexes
web_1 | thunder lock: enabled
web_1 | uWSGI http bound on 0.0.0.0:9000 fd 4
web_1 | uwsgi socket 0 bound to TCP address 127.0.0.1:33557 (port auto-assigned) fd 3
web_1 | Python version: 3.6.10 (default, Jun 9 2020, 18:45:00) [GCC 8.3.0]
web_1 | Set PythonHome to /usr/local
web_1 | Python main interpreter initialized at 0x559c90d62e80
web_1 | python threads support enabled
web_1 | your server socket listen backlog is limited to 100 connections
web_1 | your mercy for graceful operations on workers is 60 seconds
web_1 | setting request body buffering size to 65536 bytes
web_1 | mapped 1924224 bytes (1879 KB) for 12 cores
web_1 | *** Operational MODE: preforking+threaded ***
web_1 | spawned uWSGI master process (pid: 17)
web_1 | spawned uWSGI worker 1 (pid: 21, cores: 4)
web_1 | spawned uWSGI worker 2 (pid: 22, cores: 4)
web_1 | spawned uWSGI worker 3 (pid: 23, cores: 4)
web_1 | spawned uWSGI http 1 (pid: 24)
web_1 | 12:00:29 [INFO] sentry.plugins.github: apps-not-configured
web_1 | 12:00:29 [INFO] sentry.plugins.github: apps-not-configured
web_1 | 12:00:29 [INFO] sentry.plugins.github: apps-not-configured
web_1 | WSGI app 0 (mountpoint=’’) ready in 25 seconds on interpreter 0x559c90d62e80 pid: 21 (default app)
web_1 | WSGI app 0 (mountpoint=’’) ready in 25 seconds on interpreter 0x559c90d62e80 pid: 22 (default app)
web_1 | WSGI app 0 (mountpoint=’’) ready in 25 seconds on interpreter 0x559c90d62e80 pid: 23 (default app)

Can you share the rest of the logs? These are inconclusive.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.