Activating Mail Server on Workspace: 8081 and :3306 error

Thank you for your response :handshake:

I understand that your installation was on a DigitalOcean droplet, and that you enabled the mail server after the initial setup. I appreciate your concerns about downtime for your company.

We are currently aware of a bug affecting the mail server connectivity. Specifically, there is an issue where the mail server installed via the Control Panel does not connect properly. Our team is actively working on a fix for this issue.

Based on your current situation, without delving deeper into the database or verifying the successful creation of the mail_admin user and onlyoffice_mailserver database, I would recommend the following course of action:

  1. Backup your data: Create a backup of your current setup and save it locally. For guidance on how to back up, please refer to the OnlyOffice Backup Documentation.
  2. Retrieve the machine key: You can find it in the following path: /app/onlyoffice/CommunityServer/data/.private/machinekey.
  3. Remove existing containers and data: Delete the containers and clear the data in the /app/ directory.
  4. Reinstall ONLYOFFICE Workspace: Initiate the installation again with the mail server by using the -md parameter and include your old machine key with the -mk parameter. Detailed installation steps can be found in the OnlyOffice Installation Guide.
  5. Restore the backup: After the reinstallation, restore your backup through the control panel.
  6. Run the installation script again: Execute the installation script one more time, adding the -u true parameter.
  7. Locate the mail server container IP: Use the command docker inspect onlyoffice-mail-server to find the IP address of the mail server container.
  8. Configure mail server settings: In the portal settings, enter the following:
    • Mail Server IP: the IP address of the mail server container (IMPORTANT: ensure you use the IP address)
    • Mail Server database host: onlyoffice-mysql-server
    • Leave the other parameters at their default values.

Finally, connect and save the settings. This process should resolve the connectivity issues you are experiencing.

If you find that these steps do not resolve your concerns, please consider discussing the option of dedicated support with our sales department. Dedicated support can provide more tailored assistance to meet your needs. You can find more information about this option here.

If you encounter any further issues, please don’t hesitate to reach out.

Thank you for your patience as we work towards resolving this bug.

1 Like