Trying to update ISPconfig 3.1.15p3 to latest. The server is CentOS 7.9 fully updated. When I run ispconfig_update.sh it is fine until Symlink ISPConfig SSL certs to Pure-FTPd? Creating dhparam file may take some time. (y,n) [y]: No mater if I select y or n the server just crash after some time and reboots. At reboot the server stops with XFS file system faults and I have to recover to my backup of the server. No problems anywhere else than this script. Can anyone help?
Any errors in your log files? How much RAM do you have available? Do you monitor CPU and RAM usage? If so, are there any peaks?
Server is running at vmware with 4gb ram and one cpu. Newer been a problem before. If you think it is the problem how much would you then suggest?
Did a copy and gave it 8GB memory and 2 cpu. selected no to cert renew and got this error: Create new ISPConfig SSL certificate (yes,no) [no]: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /tmp/update_stable.sh.ls6wPDThgY/ispconfig3_insta ll/install/lib/install.lib.php on line 460
I am studying the update too. I noticed that it changes several files that I changed during the installation. An example, the file ispconfig.vhost always goes back to the default, this file I had added some things that in the update always disappear. The most curious thing is that in the backup he does / var / backup / ispconfig .... he does not copy the ispconfig.vhost that I did, but the original file
ISPConfig updates its config files of course during an update. If your changes get overwritten, then you missed making them persistent by putting an updated config file template in conf-custom or conf-custom/install/ folder. Btw. Your post i9s not related to this thread which is about a very specific crash problem during dhparam file creation, please make a new thread instead of hijacking a thread that covers a different topic.
You should scan and repair the xfs filesystem. I guess the memory error is just a symptom that's caused by an earlier issue which seems to be in the filesystem of your server. The ispconfig installer writes files and runs commands like OpenSSL to generate certs and a pem file and these seem to fail due to issues in the xfs filesystem.
I'm not using xfs on my systems, just Googled for 'xfs repair filesystem' and had a look at the first result, which seems to cover the basic commands used for xfs repairs: https://www.thegeekdiary.com/running-repairs-on-xfs-filesystems/
Thank you - xfs_repair fixed crash at my copy of the VM. Did: Booted rescue dvd and exited to shell. lvm vgscan -v vgchange -a y “centos” xfs_repair /dev/mapper/centos-root rebooted and tested with no problems