Letsencrypt breaks apache after Update to Ubuntu 24.04

Discussion in 'General' started by MightyMikey, Sep 23, 2025 at 9:17 AM.

  1. MightyMikey

    MightyMikey New Member

    We have updated a ISPConfig-Server from Ubuntu 20.04 to 24.04 this weekend.
    This night, apache would not start anymore.
    It turned out, that there are some vhost-Files named <Domainname>.vhost-le-ssl.conf present with Paths to LE-Certs that no longer exist (e.g. /etc/letsencrypt/live/www.<Domainname>/privkey.pem).
    In other posts I read, that these files should not exist in a ISPConfig installation and result from a manual execution of certbot.
    I cant remember executing certbot manually, but it could have happened in the past.
    All these files are several years old (2018-2021) and most of these projects do not have LE enabled in ISPConfig anymore.
    Is it safe to just delete this vhosts from sites-available or what would be thy best way to clean this up.
    Any ideas, why this is causing problems just now? We also updated ISPConfig from 3.2 to 3.3 on the weekend.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    These files are not from ISPConfig. You must have used certbot manually outside of ISPConfig, which created these files.

    I recommend to delete them, or better store them away as a backup until you are sure you don't need them anymore.

    ISPconfig 3.3 cleans up old unused certs.
     

Share This Page