Topic: Newsletter subscription page internal server error
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.0
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
When trying to create the newsletter style mailing list I get an error when trying to access the signup form.
I have "Enable newsletter-style mailing list" enabled, text entered in the "Text to introduce this newsletter on subscription page" box, and that is saved.
When I obtain a link from the "Get a newsletter signup form" and try to access it, I get an "internal server error"
The only log entry I see is in the nginx access.log:
192.168.104.68 - - [21/Apr/2021:07:57:36 -0400] "GET /newsletter/subscribe/1fdf00c7-34ab-4ae4-bdc5-ba791cd5d734 HTTP/1.1" 500 32 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0"
All packages are up to date, version 3.1 of mlmmjadmin installed.
log from /var/log/messages when restarting:
Apr 21 07:59:56 mail systemd[1]: Stopping RESTful API server used to manage mlmmj mailing list manager...
Apr 21 07:59:58 mail systemd[1]: Stopped RESTful API server used to manage mlmmj mailing list manager.
Apr 21 07:59:58 mail systemd[1]: Starting RESTful API server used to manage mlmmj mailing list manager...
Apr 21 07:59:58 mail systemd[1]: Started RESTful API server used to manage mlmmj mailing list manager.
Apr 21 07:59:58 mail uwsgi[28490]: [uWSGI] getting INI configuration from /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini
So I don't see any problem there.
From the Chrome inspection tab (console):
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found)
1fdf00c7-34ab-4ae4-bdc5-ba791cd5d734:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.