1 (edited by vladimir.camaj 2021-02-11 07:07:14)

Topic: failed to create symbolic link '..../certs/iRedMail.crt': File exists

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend: MySQL
- Web server: Nginx
- Manage mail accounts with iRedAdmin-Pro? No
====


I am installing ssl certs for iRedMail server according documentation and as I try to make symbolic links I am getting an error:

ln -s /etc/letsencrypt/live/myserver.net/fullchain.pem /etc/ssl/certs/iRedMail.crt
ln: failed to create symbolic link '/etc/ssl/certs/iRedMail.crt': File exists

It is obvious that file really exists but I dont know if I should remove it or what to do with it.
Can somebody tell me please how to fix it? Thanks a lot.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: failed to create symbolic link '..../certs/iRedMail.crt': File exists

Please rename old "iRedMail.crt" file first.
The document mentions backup old cert/key files, seems you missed them.

3

Re: failed to create symbolic link '..../certs/iRedMail.crt': File exists

No I have both original and bak files.

4

Re: failed to create symbolic link '..../certs/iRedMail.crt': File exists

Ok done. I removed bak files and then rerun all commands again.