
Get Kopano Database Migrations Back on Track After a MySQL Upgrade
Diagnose Kopano migration failures safely with a verified backup, version checks, permission review, and release-specific recovery steps.
To set up these features, treat them as two separate things: Kopano WebApp’s File Previewer is controlled by the ENABLE_FILE_PREVIEWER setting, while MDM is a separately installed WebApp plugin that depends on Z-Push. Enable the preview option in the WebApp configuration, install and point MDM at the correct Z-Push service, then confirm that users can preview a supported attachment and see their connected device in Settings.
This distinction matters because “FileViewer” is not the name used in the public WebApp admin documentation. That documentation calls it the File Previewer and describes a configuration switch, not a separate package. The instructions below apply to the Kopano WebApp packaging model described in Kopano’s published manuals; check your distribution’s supported repository and version before installing legacy package names.
An administrator should first check the main WebApp configuration file used by the installation. Kopano documents the setting as ENABLE_FILE_PREVIEWER: when true, users can enable the previewer in their own settings; when false, the setting is hidden and the previewer is disabled for everyone. The documented default is true. See the Kopano WebApp Admin Manual’s File Previewer setting.

If the setting is already present, change its value rather than adding a duplicate definition. Preserve valid PHP syntax and follow your deployment’s configuration procedure. The documentation does not prescribe a universal restart step for this setting, so use the reload or service procedure that applies to your WebApp installation instead of guessing.
After the administrator makes the option available, a user can open WebApp settings and enable the File Previewer if the control is offered. Apply the change, reopen WebApp if needed, and try an attachment whose format the installed build supports. Success means the preview option is available and that known-supported file opens in the preview area. A visible option alone does not prove every file type can be previewed; supported formats and any rendering dependencies can vary with the deployed build.
MDM is a separate plugin package. Kopano’s MDM installation manual lists Z-Push 2.0 or later and PHP SOAP as dependencies because the plugin communicates with the Z-Push web service. The manual gives these package examples:
dpkg -i kopano-webapp-plugins-mdm_<version>.debrpm -Uhv kopano-webapp-plugins-mdm_<version>_.noarch.rpmReplace the placeholder with the package version available for the installed WebApp release. Do not paste either example literally or mix a package from another release. The official MDM installation instructions are useful for identifying dependencies and historical package names, but the public MDM PDF is dated August 9, 2017. If the package is missing from your configured repository, stop and check the supported package source or ask the Kopano administrator; do not substitute an unrelated plugin.
Before users test MDM, an administrator should review /etc/kopano/webapp/config-mdm.php, the configuration path specified by Kopano’s MDM manual. The relevant options are:
PLUGIN_MDM_SERVER identifies the Z-Push server. The documented default is localhost.PLUGIN_MDM_SERVER_SSL should be true when the configured Z-Push connection uses SSL. The documented default is false.PLUGIN_MDM_USER_DEFAULT_ENABLE_MDM controls whether the plugin is enabled by default for users. The documented default is false.Use the actual Z-Push address reachable from the WebApp server, especially when Z-Push runs on another host. Set SSL to match the connection you are using; a mismatch can prevent the plugin from reaching its service. The Kopano MDM configuration reference documents these names and defaults. Make configuration edits as an administrator and preserve the file’s PHP syntax.
Once the package and server configuration are ready, sign in to WebApp, open Settings, select the Plugins tab, check MDM, and click Apply. Kopano’s WebApp user manual says administrators install plugins and users enable installed plugins through this tab. Some deployments can enable MDM by default in the server configuration, but the user-facing plugin control is a direct way to test the setup.

After enabling MDM, return to Settings and open the MDM tab. The official manual says the tab shows connected-device information, including a device ID and last-sync time. If the device that already syncs through your organization’s Z-Push service appears there with plausible information, the WebApp plugin is communicating well enough to display its device record.

If MDM is missing from the Plugins list, verify that the package is installed for the same WebApp instance and that plugins are allowed by the server configuration. If MDM can be enabled but its tab is empty or fails to load, first recheck the Z-Push host, SSL setting, PHP SOAP dependency, and the service’s reachability from the WebApp server. Then ask the administrator to inspect the relevant WebApp and Z-Push logs. The manuals do not provide a single error-code map that fits every version, so the exact log message and package versions matter.
The MDM tab’s buttons do different jobs. Kopano documents Refresh as updating the list, Resync as sending server information to the device, and Remove as removing a device from the list. To make a removed device appear again, its account must be removed from the phone and reconnected. Remove is therefore not a harmless refresh. Wipe is more consequential: the manual warns that it removes all data from the device and prompts for the user’s password.

Use Wipe only when the device is positively identified and the organization intends to erase it. The feature operates on devices known to the Z-Push/ActiveSync setup; it is not a complete enterprise mobile-device-management suite for enforcing every operating-system, application, or security policy. Kopano’s Core Administrator Manual describes user-initiated wipes through the WebApp MDM plugin and administrator wipes through z-push-admin.
To finish, confirm both outcomes separately: open a known-supported attachment to test File Previewer, then refresh the MDM list and check the connected device’s ID and last-sync field. If the preview option is unavailable, revisit ENABLE_FILE_PREVIEWER and the user setting. If the MDM list still does not reflect a device that syncs through the expected Z-Push server, change the troubleshooting path to server connectivity, PHP SOAP, and version-compatible packages before trying device actions.

Diagnose Kopano migration failures safely with a verified backup, version checks, permission review, and release-specific recovery steps.

Trace Zimbra DB failures to connection, storage, or corruption issues, then protect backups and choose a version-safe recovery path.

Trace Zimbra’s deferred SMTP queue to the exact MX or relay, test TCP port 25 from the MTA, and fix the network path without deleting queued mail.

Increase Zimbra’s per-file and message-size limits together, then verify uploads and delivery without setting inconsistent MTA caps.

Find oversized Zimbra audit logs, check retention, and reclaim disk space while preserving required security records and avoiding the wrong audit file.

Separate a browser-side loading problem from a Zimbra server issue with safe checks, targeted log review, and version-aware recovery steps.

Publish the right DNS records, enable Zimbra DKIM signing, and verify SPF and DMARC alignment before enforcing mail authentication.

Configure per-domain LDAP authentication in Zimbra with a bind template or search filter, encrypted transport, and a test account before rollout.

Configure every Zimbra Proxy host to redirect webmail traffic to HTTPS, restart Nginx, and verify the redirect and certificate safely.