Getting No input file specified error on ispconfig main page

Discussion in 'Installation/Configuration' started by Hostreps, Jan 4, 2025.

  1. Hostreps

    Hostreps New Member

    Hi,

    I am getting the error "No input file specified." on ispconfig main page.
    This is my control panel URL.
    please visit isp.hostreps.in:8080
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. Hostreps

    Hostreps New Member

    Hi, I just added SSL certifcate using certbot for the ispconfig panel,


    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 24.04.1 LTS

    [INFO] uptime: 10:06:29 up 2 days, 6:45, 3 users, load average: 0.04, 0.05, 0.04

    [INFO] memory:
    total used free shared buff/cache available
    Mem: 31Gi 3.1Gi 17Gi 263Mi 10Gi 28Gi
    Swap: 1.0Gi 0B 1.0Gi

    [INFO] systemd failed services status:
    UNIT LOAD ACTIVE SUB DESCRIPTION

    0 loaded units listed.

    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.2.12p1


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 8.3.15
    [INFO] php-cgi (used for cgi php in default vhost!) is version 8.3.15

    ##### PORT CHECK #####

    [WARN] Port 8081 (ISPConfig Apps) seems NOT to be listening

    ##### MAIL SERVER CHECK #####

    [WARN] I found no "smtps" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.

    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Unknown process (nginx:) (PID 732820)
    [INFO] I found the following mail server(s):
    Postfix (PID 10351)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 10412)
    [INFO] I found the following imap server(s):
    Dovecot (PID 10412)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 10500)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:8080 (732820/nginx:)
    ***.***.***.***:53 (839/systemd-resolve)


    This is the result for the test script.

    I tried ispconfig_update.sh --force also. still the issue persists.
     
  4. Hostreps

    Hostreps New Member

    And I changed the port to 443 and addded server name, I am using nginx, Even though reverting back doesn't works
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, but you did not run certbot manually? If you did that, it would destroy the configuration as certbot cannot read web server configuration files properly and mess things up. Only use ISPconfig SSL settings to create certificates. ISPConfig update is not able to fix your system then anymore, you would have to undo all changes certbot made to the config manually to get it up and running again.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Also, all recent ISPConfig systems use acme.sh, so certbot should not be installed there at all, as having two incompatible LE clients at the same time will give you a lot of trouble. If you do not have a backup of the system from the point where you started the changes that you can restore, then please describe in detail what you did, e.g. if you installed certbot later even if acme.sh was already set up by installing ISPConfig and which exact command you used to create the cert with certbot. Also, check if you can find any files with -le in the file name in nginx sites-enabled or sites-available, which would indicate that certbot altered nginx config files.
     
  7. Hostreps

    Hostreps New Member

    After doing the conf, site was working fine for 4-5 hours, I ran certbot --nginx -d isp.hostreps.in
     
  8. Hostreps

    Hostreps New Member

    Is there any way to revert the config file alone?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, this makes certbot mess up the config. You must clean it up to fix it and remove all changes certbot made. Also, take care to remove certbot if your system is suing acme.sh, as basically any ISPConfig system that has been installed in the past few years dows.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    You must identify which files certbot has changed and undo all these changes. I mentioned where to look for in my post.
     
  11. Hostreps

    Hostreps New Member

    I Thoguht to reinstall ISPconfig, one doubt, while reinstalling ISPconfig, will the data in mysql will loss?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Reinstalling will not allow you to keep the current config, so that's not a good option. To fix your issue:

    1) Did you install certbot, or was it installed by ISPConfig.
    2) Is there a folder /root/.acme.sh ?
    3) Check if you can find any files with -le in the file name in /etc/nginx/sites-enabled or /etc/nginx/sites-available
     
  13. Hostreps

    Hostreps New Member

    Hi,
    1) I manually installed certbot.
    2) yes its there
    3) These are the files which are present other than the domains
    000-apps.vhost
    000-ispconfig.vhost
    999-acme.vhost
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    ok, so your system is using acme.sh and not certbot. You should remove certbot to avoid SSL cert conflicts.

    This seems to be sites-enabled. What's in sites-available folder? Any files with -le in file name or any copies of one of the ispconfig.chost or .conf files?
     
  15. Hostreps

    Hostreps New Member

    -rw-r--r-- 1 root root 494 Jan 5 13:15 acme.vhost
    -rw-r--r-- 1 root root 11272 Jan 5 10:11 apps.vhost
    -rw-r--r-- 1 root root 4241 Jan 4 22:39 default
    -rw-r--r-- 1 root root 3826 Jan 5 13:15 ispconfig.vhost
     

Share This Page