Stalwart will not start after attempting to add license #2315
-
|
Morning all, I successfully set up Stalwart yesterday and had it sending and receiving mail correctly. I requested a trial of an enterprise license, and since adding the license to I removed the license and restored Only when I reboot the server do I see something different: But this only occurs after a reboot. I'm using a minimal config, using Rocks for everything. I've gone through my I suspect that it was restarting Stalwart after the config change (for the license) that was the issue, rather than the config change itself. I've effectively ruled that out by reverting. I read somewhere that Stalwart reads the config from the TOML file and then persists it in the storage. I think that may be the issue here, as it's the first time I've used Any ideas? I'm feeling that the issue is with the Rocks storage in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Worked out the issue through a series of increasingly risky debugging steps! First I removed the data from I added back the few bits of config that had got wiped (but all data remained) and started to work out what caused it. Adding the license through the UI was fine. Restarting the Then I checked the file permissions on I'll leave this here for anyone else that makes my same silly mistake! |
Beta Was this translation helpful? Give feedback.
Worked out the issue through a series of increasingly risky debugging steps!
First I removed the data from
/opt/stalwart/datato see if it was a corruption issue. That didn't fix it, so I returned it.Then I ran
sh install.shagain; which did fix it!I added back the few bits of config that had got wiped (but all data remained) and started to work out what caused it.
Adding the license through the UI was fine. Restarting the
systemdservice in the command line was fine.Then I checked the file permissions on
config.tomlbefore and after I directly edited it. That was it! The way I was editing it was changing the owner to root. Fixed with a simple...