New error: FAILED: systemctl link conf/mailinabox.service

I have a lot of troubles in my update to ubunty 18.04.

I am tryin to reinstall mail-in-a-box and i have this error.

Installing Nginx (web server)...
Installing Roundcube (webmail)...
Installing Nextcloud (contacts/calendar)...
Nextcloud is already latest version
Installing Z-Push (Exchange/ActiveSync server)...
Installing Mail-in-a-Box system management daemon...

FAILED: systemctl link conf/mailinabox.service
Failed to link unit: File /etc/systemd/system/mailinabox.service already exists and is a symlink to /root/mailinabox/conf/mailinabox.service.

Anybody knows how to bypass it? I’m very confussed with this

A link is trying to be created to /root/mailinabox/conf/mailinabox.service and it is complaining because this link already exists. For now you can rm the link (not the file in the conf directory) with
rm -f /etc/systemd/system/mailinabox.service

Devs: There should probably be a check (or just force it with -f) before running
systemctl link anything

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.