Hello everyone,
I recently installed SmarterMail on Ubuntu 24.04 because I decided to migrate from Windows to Linux after over 15 years. During the installation, I encountered some issues, particularly with the /domains directory. After converting, I had to manually copy all contents to the /var/lib/domains directory.
Now, I have the following questions:
1. Is anything converted in the Domain folder during installation or migration?
What specific data or structures are converted when migrating to Linux or during the first startup of SmarterMail? Can I simply copy the Domains from Windows to Linux without any issues?
2. Error After Checking SmarterMail Status:
After the fresh installation, I ran a status check and received an error that concerns me:
root@mail:~# sudo service smartermail status
● smartermail.service - SmarterMail (100.0.8979.28647)
Loaded: loaded (/etc/systemd/system/smartermail.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2024-08-11 14:39:24 UTC; 10s ago
Main PID: 15024 (MailService)
Tasks: 52 (limit: 18685)
Memory: 556.2M
CPU: 13.738s
CGroup: /system.slice/smartermail.service
└─15024 /opt/smartermail/MailService
Aug 11 14:39:25 mail MailService[15024]: [WebServer] Listening on port 80 and 443
Aug 11 14:39:26 mail MailService[15024]: Microsoft.AspNetCore.Server.Kestrel[0] Overriding address(es) '://*:17017'. Binding to endpoints defined via IConfigura>
Aug 11 14:39:26 mail MailService[15024]: Microsoft.Hosting.Lifetime[14] Now listening on: 0.0.0.0:80
Aug 11 14:39:26 mail MailService[15024]: Microsoft.Hosting.Lifetime[14] Now listening on: 0.0.0.0:443
Aug 11 14:39:26 mail MailService[15024]: Microsoft.Hosting.Lifetime[0] Application started. Hosting environment: Production; Content root path: /opt/smartermail
Aug 11 14:39:28 mail MailService[15024]: [Information] SmarterMail Starting
Aug 11 14:39:28 mail MailService[15024]: [ERROR] systemEncoding: System.Exception: Default encoding changed since initial install. Please search the SmarterMail Kno>
Aug 11 14:39:28 mail MailService[15024]: at MailService.Core.MailServer.MailServerFullStart()
Aug 11 14:39:28 mail MailService[15024]: [ERROR] systemEncoding: System.Exception: Default encoding changed since initial install. Please search the SmarterMail Kno>
Aug 11 14:39:28 mail MailService[15024]: at MailService.Core.MailServer.MailServerFullStart()
The error message systemEncoding: System.Exception: Default encoding changed since initial install occurred right after the fresh installation, which is quite concerning.
Another issue is that when I try to stop the service, it takes about 2 minutes for the service to stop. Since I plan to transfer real customers to Linux, there should be no delays or errors in a fresh installation.
It’s crucial for me to understand which data and paths are modified in which files during the migration process. I also need to know if I can directly copy the Domains into the folder again after the initial conversion, or if any further conversions take place within the domain folders themselves. If additional conversions occur, I’d like to know exactly what is being converted.
This information is essential for ensuring a smooth transition to Linux, especially since I plan to move real customer data. Any guidance or detailed explanation would be greatly appreciated!
Thanks in advance!
I had to remove the HTTP links from the status output because they are not allowed here in the forum.
George