Hello all! I was running without issue ISPconfig and 2 website on a Debian 10. Then I moved to a Debian 12 and I installed ISPconfig following the howtoforge tuto, and then I moved the old ISPconfig (same version, whole mysql DB, /usr/local/ispconfig, whole /web) Unfortunately I can't get any PHP working (all 7.4) ; txt pdf html etc files are ok. For PHP-FPM for all website I get AH01071: Got error 'Primary script unknown' in all /var/log/ispconfig/httpd/xxx/error.log logs and Code: File not found. on the frontend For Fast-CGI for all website I get No input file specified. on the frontend, and in /var/log/php7.4-fpm.log I get: Code: [06-Apr-2025 00:16:03] NOTICE: Reloading in progress ... [06-Apr-2025 00:16:03] NOTICE: reloading: execvp("/usr/sbin/php-fpm7.4", {"/usr/sbin/php-fpm7.4", "--nodaemonize", "--fpm-config", "/etc/php/7.4/fpm/php-fpm.conf"}) [06-Apr-2025 00:16:03] NOTICE: using inherited socket fd=8, "/run/php/php7.4-fpm.sock" [06-Apr-2025 00:16:03] NOTICE: using inherited socket fd=8, "/run/php/php7.4-fpm.sock" [06-Apr-2025 00:16:03] NOTICE: using inherited socket fd=9, "/var/lib/php5-fpm/web1.sock" [06-Apr-2025 00:16:03] NOTICE: using inherited socket fd=9, "/var/lib/php5-fpm/web1.sock" [06-Apr-2025 00:16:03] NOTICE: fpm is running, pid 510 [06-Apr-2025 00:16:03] NOTICE: ready to handle connections [06-Apr-2025 00:16:03] NOTICE: systemd monitor interval set to 10000ms and only if i try to access thought https using FastCGi I get Code: AH01974: could not connect to OCSP responder 'r10.o.lencr.org AH01941: stapling_renew_response: responder error I checked the linux users and group and the files permissions, and everything seems right I created a new user to be sure to move the site around and be sure all permissions are properly applied everywhere here is the conte,t of the htf report Expand: HTF report ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] OS version is Debian GNU/Linux 12 (bookworm) [INFO] uptime: 00:26:23 up 1:21, 1 user, load average: 0.13, 0.04, 0.04 [INFO] memory: total used free shared buff/cache available Mem: 31Gi 2.7Gi 26Gi 81Mi 2.8Gi 28Gi Swap: 0B 0B 0B [INFO] systemd failed services status: UNIT LOAD ACTIVE SUB DESCRIPTION ● quotaon.service loaded failed failed Enable File System Quotas LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed. [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.2.12p1 ##### VERSION CHECK ##### [INFO] php (cli) version is 8.2.28 [INFO] php-cgi (used for cgi php in default vhost!) is version 8.2.28 ##### PORT CHECK ##### [WARN] Port 8080 (ISPConfig) 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): Apache 2 (PID 136072) [INFO] I found the following mail server(s): Postfix (PID 1095) [INFO] I found the following pop3 server(s): Dovecot (PID 498) [INFO] I found the following imap server(s): Dovecot (PID 498) [INFO] I found the following ftp server(s): PureFTP (PID 831) ##### LISTENING PORTS ##### (only () Local (Address) [anywhere]:22 (614/sshd [anywhere]:25 (1095/master) [localhost]:953 (504/named) [localhost]:953 (504/named) [localhost]:953 (504/named) [localhost]:953 (504/named) [localhost]:953 (504/named) [localhost]:953 (504/named) [localhost]:953 (504/named) [localhost]:953 (504/named) [anywhere]:4190 (498/dovecot) [anywhere]:993 (498/dovecot) [anywhere]:995 (498/dovecot) [localhost]:11332 (618/rspamd [localhost]:11333 (618/rspamd [localhost]:11334 (618/rspamd [localhost]:10023 (431/postgrey) [anywhere]:3306 (589/mariadbd) [anywhere]:587 (1095/master) [localhost]:6379 (516/redis-server) [localhost]:11211 (502/memcached) [anywhere]:110 (498/dovecot) [anywhere]:143 (498/dovecot) [anywhere]:465 (1095/master) [anywhere]:21 (831/pure-ftpd) ***.***.***.***:53 (504/named) ***.***.***.***:53 (504/named) ***.***.***.***:53 (504/named) ***.***.***.***:53 (504/named) ***.***.***.***:53 (504/named) ***.***.***.***:53 (504/named) ***.***.***.***:53 (504/named) ***.***.***.***:53 (504/named) [localhost]:53 (504/named) [localhost]:53 (504/named) [localhost]:53 (504/named) [localhost]:53 (504/named) [localhost]:53 (504/named) [localhost]:53 (504/named) [localhost]:53 (504/named) [localhost]:53 (504/named) *:*:*:*::*:22 (614/sshd *:*:*:*::*:8089 (136072/apache2) *:*:*:*::*:953 (504/named) *:*:*:*::*:953 (504/named) *:*:*:*::*:953 (504/named) *:*:*:*::*:953 (504/named) *:*:*:*::*:953 (504/named) *:*:*:*::*:953 (504/named) *:*:*:*::*:953 (504/named) *:*:*:*::*:953 (504/named) *:*:*:*::*:25 (1095/master) *:*:*:*::*:443 (136072/apache2) *:*:*:*::*:4190 (498/dovecot) *:*:*:*::*:993 (498/dovecot) *:*:*:*::*:995 (498/dovecot) *:*:*:*::*:11332 (618/rspamd *:*:*:*::*:11333 (618/rspamd *:*:*:*::*:11334 (618/rspamd *:*:*:*::*:10023 (431/postgrey) *:*:*:*::*:3306 (589/mariadbd) *:*:*:*::*:6379 (516/redis-server) *:*:*:*::*:587 (1095/master) [localhost]10 (498/dovecot) [localhost]43 (498/dovecot) *:*:*:*::*:80 (136072/apache2) *:*:*:*::*:8081 (136072/apache2) *:*:*:*::*:465 (1095/master) *:*:*:*::*:21 (831/pure-ftpd) *:*:*:*::*:53 (504/named) *:*:*:*::*:53 (504/named) *:*:*:*::*:53 (504/named) *:*:*:*::*:53 (504/named) *:*:*:*::*:53 (504/named) *:*:*:*::*:53 (504/named) *:*:*:*::*:53 (504/named) *:*:*:*::*:53 (504/named) *:*:*:*::*3a60:77ff:fe2e:53 (504/named) *:*:*:*::*3a60:77ff:fe2e:53 (504/named) *:*:*:*::*3a60:77ff:fe2e:53 (504/named) *:*:*:*::*3a60:77ff:fe2e:53 (504/named) *:*:*:*::*3a60:77ff:fe2e:53 (504/named) *:*:*:*::*3a60:77ff:fe2e:53 (504/named) *:*:*:*::*3a60:77ff:fe2e:53 (504/named) *:*:*:*::*3a60:77ff:fe2e:53 (504/named) ##### IPTABLES ##### ##### LET'S ENCRYPT ##### acme.sh is installed in /root/.acme.sh/acme.sh Thank you in advance for your help
Did you move /usr/local/ispconfig from old server to new? That might break the system. Also, I am not sure just copying the databases and /web is going to work. Code: ##### PORT CHECK ##### [WARN] Port 8080 (ISPConfig) seems NOT to be listening That seems rather odd. I got the impression you could access ISPConfig Panel? If you suspect you have messed up the Debian 12 / ISPConfig installation, it might be best to start from scratch: install clean Debian 12, autoinstall ISPConfig, do not mess with the system in unsupported ways. Then use ISPConfig Migration Toolkit to migrate the data from the old system to the new.
Hello and thank you I'm used to change the Ispconfig port. So that's normal that the report show that error. The Ispconfig panel works fine since I've been able to create client and switch php modes The old sever died so I wasn't able to export Ispconfig configuration to the use the migration tool
I'm not sure how to move ISPConfig installation to a new host manually. It may be possible but may be laborious. Did you install additional PHP versions? Have you verified you have installed all the necessary PHP modules for all the PHP versions you are using? If you have only 2 websites and are willing to start from scratch, what should work is install a new clean ISPConfig system with the PHP versions you need, then create the two users, databases, websites in ISPConfig Panel. Now it is possible to copy database dumps and the website files to the new host.
Install the additional PHP versions if you have not done that yet, and then use Tools > Resync to resync the websites.