Troubleshooting Bare Metal
Logs
RabbitMQ:
sudo tail -f /var/log/rabbitmq/rabbit@*.log
Supervisor:
sudo tail -f /var/log/supervisor/supervisord.log
Supervisor jobs (Mercure and Messenger):
sudo tail -f /var/log/supervisor/mercure*.log
sudo tail -f /var/log/supervisor/messenger*.log
The separate Mercure log:
sudo tail -f /var/www/mbin/var/log/mercure.log
Application Logs (prod or dev logs):
tail -f /var/www/mbin/var/log/prod-{YYYY-MM-DD}.log
Or:
tail -f /var/www/mbin/var/log/dev-{YYYY-MM-DD}.log
Web-server (Nginx):
- Normal access log:
sudo tail -f /var/log/nginx/mbin_access.log
- Inbox access log:
sudo tail -f /var/log/nginx/mbin_inbox.log
- Error log:
sudo tail -f /var/log/nginx/mbin_error.log
Debugging
Please, check the logs above first. If you are really stuck, visit to our Matrix space, there is a 'General' room and dedicated room for 'Issues/Support'.
Test PostgreSQL connections if using a remote server, same with Redis (or KeyDB is you are using that instead). Ensure no firewall rules blocking are any incoming or out-coming traffic (eg. port on 80 and 443).