Update crash server

Discussion in 'Installation/Configuration' started by OleSt, Jan 15, 2021.

  1. OleSt

    OleSt New Member

    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?
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    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?
     
  3. OleSt

    OleSt New Member

    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?
     
  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    That should be alright. Can you answer my other questions?
     
  5. OleSt

    OleSt New Member

    Did not monitor memory and cpu usage
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

     
  7. OleSt

    OleSt New Member

    Cannot access filsystem after crash and reboot
     
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Weird. Can you try updating without generating a new cert?
     
  9. OleSt

    OleSt New Member

    I'll make a copy of the VM to test with...let you know when tested without gen. new cert.
     
  10. OleSt

    OleSt New Member

    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
     
  11. OleSt

    OleSt New Member

    It does not help if I change php.ini max memory to 512MB
     
  12. 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
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
    Jesse Norell and Marcio Urakawa like this.
  14. OleSt

    OleSt New Member

    Think that is another issue. Please start another thread for your issue.
     
    Marcio Urakawa likes this.
  15. Okay, sorry. I will arrange
     
  16. OleSt

    OleSt New Member

  17. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  18. OleSt

    OleSt New Member

    Do you have any idea on how I do that. (I have a copy of system to test with)
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

  20. OleSt

    OleSt New Member

    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
     

Share This Page