Replies: 3 comments 1 reply
-
As an update, I was able to update the web admin using: But the same errors persist. I'm not sure what else to try here. |
Beta Was this translation helpful? Give feedback.
-
You need to find out why the internal IP addresses were banned. Check the logs for details. |
Beta Was this translation helpful? Give feedback.
-
How do we unblock ips? |
Beta Was this translation helpful? Give feedback.
-
Problem:
I recently restarted my Stalwart mail container, which was set to pull the latest version. I didn't realize there were breaking changes between point releases. Unfortunately, I didn’t check the upgrade instructions before restarting, and now I’m encountering several issues.
I don't know the exact version I was running previously, but the system was working fine about a month ago.
Current Issues:
Log
2024-10-10T13:44:35Z INFO Blocked IP address (security.ip-blocked) listenerId = "http", localPort = 8080, remoteIp = 172.18.0.3, remotePort = 60162 2024-10-10T13:44:36Z INFO Blocked IP address (security.ip-blocked) listenerId = "http", localPort = 8080, remoteIp = 172.18.0.3, remotePort = 60136 ... 2024-10-10T13:46:49Z INFO Blocked IP address (security.ip-blocked) listenerId = "http", localPort = 8080, remoteIp = 172.18.0.3, remotePort = 40908
It looks like Stalwart is blocking HTTP requests from the internal Docker network IP used by Nginx (
172.18.0.3
), preventing me from accessing the web admin panel.Upgrade Process Stalled: After reading the upgrade instructions post-restart, I realized I needed to perform an upgrade via the web interface, but I can’t log in due to the blocking.
Potential Database Migration Issue: Since the new version of Stalwart was pulled, I suspect the container might have run database migrations automatically. I’m now worried I can’t safely revert to an older version because of potential schema changes.
Failed Attempts to Revert: I tried reverting to version
v0.9.0
from around two months ago (the last stable version for me), but when I attempt to pull any of thev0.9.x
images, I get 404 errors.Additional Information:
172.18.0.3
) is the internal Docker network IP for Nginx.What I've Tried So Far:
v0.9.x
, but I keep getting 404 errors.What I Need Help With:
Disabling or Relaxing IP Blocking Temporarily: How can I disable or relax the IP blocking in Stalwart, at least temporarily, so I can access the web admin interface and complete the upgrade? Are there command-line options or configuration file changes I can make to bypass this?
Reverting to Older Versions: If database migrations have occurred, what are my options for safely reverting to an older version (if at all)? Are there alternative ways to roll back the changes if I can't pull the older images?
404 Errors on Older Versions: Why am I encountering 404 errors when trying to pull older versions like
v0.9.0
? Have these images been deprecated or removed?Any help or suggestions would be greatly appreciated! Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions