-
Zextras Carbonio 23.6.0
-
Carbonio Community Edition
-
Suite for Zimbra
- Articles coming soon
GET RID OF THE CARBONIO LOGS
Version 23.3.0 no longer includes the carbonio-logger service since the upstream software is no longer supported and is no longer appropriate for Carbonio.
In this part, we’ll walk you through the three steps necessary to completely delete the service from a Carbonio CE installation: remove the package, then remove the directories, and then remove the service.
Note
In a Multi-Server installation, all the commands below must be run on the node on which the Logger is installed.
Refer to Section Centralised Logging Configuration if you need to direct the syslog-generated log files to a centralised server.
Delete the Logger Package
In Carbonio CE setups, the carbonio-logger package is no longer required and may be deleted. The following commands can be used to make sure it’s still on the system.
# apt list carbonio-logger
carbonio-logger/focal,now 4.0.19-1ubuntu1~focal amd64 [installed]
Note
If the string [installed] is not present in the output, the package was already removed.
# dnf list installed carbonio-logger
carbonio-logger.x86_64 4.0.19-1 zextras
Note
This command returns the message Error: No matching Packages to list if the package is not installed
If the package is not set up, you can move on to the part after that.
Execute the command uninstall Logger Directories to uninstall the package.
Warning
Pay attention that if you still have installed the carbonio-ce
meta-package, the command below may remove other Carbonio CE components.
# apt remove -y carbonio-logger
# dnf remove carbonio-logger
Remove Logger Directories
In some circumstances, a warning will appear during the upgrading process informing the user that the logger directory and its subdirectories are not empty and cannot be erased. For instance, on Ubuntu:
dpkg: warning: unable to delete old directory '/opt/zextras/logger/db/data': Directory not empty
dpkg: warning: unable to delete old directory '/opt/zextras/logger/db': Directory not empty
dpkg: warning: unable to delete old directory '/opt/zextras/logger': Directory not empty
You may safely delete these folders because they are no longer needed and only contain information that is pertinent to the logger.
# rm -rf /opt/zextras/logger
Delete the Logger Service
In the Carbonio CE installation, where LOGGER_SRV_HOSTNAME is the hostname of the node where the Logger was installed, the service must be deleted as the last step.
zextras$ carbonio prov ms LOGGER_SRV_HOSTNAME -zimbraServiceEnabled \
-zimbraServiceInstalled logger