Hello,
I am using Ubuntu 20.04.6 LTS. A couple of months ago I tried to install Carbonio CE single server installation with this guide https://docs.zextras.com/carbonio-ce/html/single-server-installation.html and it worked perfectly, then some days ago I decided to uninstall it.
I uninstalled Carbonio CE using these commands:
# apt remove --purge service-discover-server \ carbonio-directory-server \ carbonio-proxy \ carbonio-webui carbonio-files-ui \ carbonio-mta \ carbonio-appserver \ carbonio-user-management \ carbonio-files-ce carbonio-files-db \ carbonio-storages-ce \ carbonio-preview-ce \ carbonio-docs-connector-ce carbonio-docs-editor \ carbonio-prometheus # apt autoremove # rm -rf /opt/zextras # rm -rf /etc/zextras
Today, I tried to install Carbonio Single Server using the same official guide.
during the installation process, I have a bunch of these informations about pending-setups:
====================================================== Carbonio mta installed successfully! You must run pending-setups to configure it correctly. ====================================================== Setting up carbonio-directory-server (4.0.28-1ubuntu1~focal) ... Setting up carbonio-proxy (4.4.0-1ubuntu1~) ... ====================================================== Carbonio Proxy installed successfully! You must run pending-setups to configure it correctly. ====================================================== ====================================================== Carbonio ClamAV signature provider installed successfully! You must run pending-setups to configure it correctly. ======================================================
I did not run the pending-setups, because the next step is running carbonio-bootstrap, however I cannot continue the installation because I got this error:
root@carbo:~# carbonio-bootstrap ---------------------------------- | Starting Carbonio Bootstrap... | ---------------------------------- -------------------------------------------------------------------------------- Zextras may collect a minimal set of public-facing technical information about your use of Carbonio CE. This data should not contain personal identifiable information, but in case they are subject to Zextras' Privacy Policy [ https://www.zextras.com ]. As an additional condition, use of the entire software is conditional upon your acceptance that no liability whatsoever shall be attributable to Zextras except that for gross negligence or malice. Nothing in this condition detracts from the provisions of the single licenses for the same case. Should you not accept this condition you use of the software would not be permitted and your licenses would be terminated. No trademark license is granted nor implied. Trademark use, where expressly permitted, is subject to the then-current trademark policy of Zextras. [ https://www.zextras.com ] -------------------------------------------------------------------------------- Operations logged to /tmp/zmsetup.20231102-083223.log /tmp/zmsetup.20231102-083223.log: ERROR /opt/zextras/conf/localconfig.xml is not owned by zextras This will cause installation failure.
here is the log preview zmsetup.20231102-083223.log:
Thu Nov 2 08:32:23 2023 Operations logged to /tmp/zmsetup.20231102-083223.log Thu Nov 2 08:32:23 2023 ERROR Thu Nov 2 08:32:23 2023 /opt/zextras/conf/localconfig.xml is not owned by zextras Thu Nov 2 08:32:23 2023 This will cause installation failure.
even though it says "/opt/zextras/conf/localconfig.xml is not owned by zextras", I cant set the file permission because the file localconfig.xml simply does not exist in the directory.
what could be the root cause of this issue?
May I suggest you to format the server and start 100% fresh?
If you removed Carbonio CE in that way, then reinstalled it on the same server, chances are that some Carbonio-related setting still remained in /etc or some other directory. That's why you should always install on a vanilla Ubuntu 20.04/RHEL 8, as suggested by @anahuac and how we explicitly write in the docs.