My instance shows “Client metadata documents are disabled” after typing admin username.
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
I encountered the same issue (among many other problems) after updating from v0.16.27 to the latest version (on Monday). Take a look at the command-line logs - not just the Stalwart log file. In my case, it was an incompatibility with the RocksDB database version, which is no longer supported following the update.
If your database is intact, you could try starting Stalwart in recovery mode and then creating a new admin user via the web GUI.
Unfortunately, none of that worked for me, so I had to set up Stalwart from scratch using an empty database. Once I did that, the problem you described disappeared.
You’re welcome. A very simple question: have you tried clearing your browser cache? This error message can also appear if your session cookie has expired.
I also encountered this message sporadically in relation to a second issue I had. After about 12 hours, Stalwart locked me out of the WebGUI by adding the IP address of my Caddy reverse proxy to its blacklist. You can check this via recovery mode.
If you are using Docker Compose, you need to add an environment variable for the main domain you intend to use to access the WebGUI (required for the latest version of Stalwart):
Also, since you mentioned that your installation is brand new and you haven’t customized many settings yet, I would suggest deleting everything and starting from scratch. Just make sure to completely remove all database and configuration files first; any leftover remnants can cause issues.