ispconfig 3 creates a strange backup directory and breaks Apache configuration

Discussion in 'ISPConfig 3 Priority Support' started by hotmifi, Oct 30, 2025.

  1. hotmifi

    hotmifi New Member HowtoForge Supporter

    Since before yesterday I am installing a new server. Today Apache refuses to restart because some ssl subfolder containing the certificates went missing.
    This is what happened:

    ll /var/www/clients/client0/
    ...
    :::
    drwxr-xr-x 18 root root 4096 Oct 29 09:00 web1/
    drwxr-xr-x 20 root root 4096 Oct 29 16:49 web3/
    drwxr-xr-x 20 root root 4096 Oct 30 13:16 web5/
    drwxr-xr-x 25 root root 4096 Oct 29 16:21 web5_bak/
    drwxr-xr-x 13 root root 4096 Oct 29 11:37 web6/

    web5_bak contained the original files from web5 and web5 also, but without the ssl directory. I did not create web5_bak, however. After recreating ssl apache2 started without problems.
    Can it be some acme.sh deployment went wild?
    How can I prevent his in the future?
    Regards,
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This happens when, for some reason, a new website gets created with a document root that already exists. The only way that this can happen is when the ISPConfig database and the folder structure you have do not align, e.g. you created folders manually or copied over folders from another server while using a database version from ISPConfig where this website did not exist.
     
  3. hotmifi

    hotmifi New Member HowtoForge Supporter

    I did experiment with creating a shell user and changing its base directory during creation hoping it would be created in a similar manner as when creating ftp users with their base directory.
     

Share This Page