"Missing 'Sites' Tab in ISPConfig – Reconfigure Fails with DB Error"

Discussion in 'General' started by Systems, Jun 27, 2025.

  1. Systems

    Systems New Member

    Hi,

    I'm running ISPConfig on a Debian 12 server with Nginx, installed via the autoinstaller using these flags:

    Code:
    --use-nginx --no-dns --no-mail --no-firewall --unattended-upgrades --i-know-what-i-am-doing
    I have several servers installed this way, and everything worked fine until recently. I noticed that on one of the servers, the "Sites" tab and a few others are missing. I'm logging in with the default admin user, and I also tried creating a new admin account — the tabs are still missing.

    I even set the default start page to Sites, and it loads correctly (the module works), but the tab still doesn’t appear.

    Here’s how it looks:

    upload_2025-6-27_14-55-36.png


    After checking documentation and community suggestions, I tried to re-enable the modules by running:

    Code:
    ispconfig_update.sh
    I selected the stable channel and attempted to reconfigure services. However, during the process, I received the following error:

    Code:
    PHP Warning: Trying to access array offset on value of type null in /tmp/update_runner.sh.EDU3XOltRc/install/lib/update.lib.php on line 147
    PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /tmp/update_runner.sh.EDU3XOltRc/install/lib/update.lib.php on line 147
    Unable to read server configuration from database.
    
    Things I’ve tried:
    • Verified MySQL root access works.

    • Checked that /usr/local/ispconfig/server/lib/config.inc.php has the correct DB credentials.

    • Tried re-running the installer interactively — got a warning that it would overwrite the whole server (I can’t risk that).

    • No backups available.

    • Verified the Sites module is present in the filesystem and expected tables exist in the database.
    System:
    • Debian 12 (Bookworm)

    • Nginx setup

    • ISPConfig 3.2.12p1

    • Installed via autoinstaller with --use-nginx, --no-dns, --no-mail, etc.
    Question:
    How can I safely restore the missing Sites tab/module without breaking the current configuration?
    Can the server table be regenerated manually, or is a full reinstall required?

    Any help or guidance would be greatly appreciated.

    Thanks in advance.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Login to ISPConfig, go to System > CP users, and check the settings of your login user if sites module is enabled for it or not.
     
  3. Systems

    Systems New Member

    All modules are enabled, also checked at the DB

    upload_2025-6-27_15-6-29.png
     
    Last edited: Jun 27, 2025
  4. Systems

    Systems New Member

    And like I said, I have set the default start page to Sites, and it loads correctly (the module works), but the tab still doesn’t appear.

    upload_2025-6-27_15-8-19.png
     
  5. Systems

    Systems New Member

    Recently I saw the error — the server table in the database was empty. I copied it from another server, changing a few names, and now the interface appears correctly.

    But now there's another problem: when I create a site, it shows up on the web, but on the server the site's path doesn’t exist. Also, the task number (the red circle with the number) doesn’t appear — not when making changes or anything.

    Any idea where I should look?
     

Share This Page