ISP Config update ignores out-of-disk space error

Discussion in 'Installation/Configuration' started by newz2000, Feb 19, 2008.

  1. newz2000

    newz2000 New Member

    Hi, I've successfully updated to the latest ispconfig. During the install I was surprised to see an out of disk space warning. I figured the install would stop but it went right on going. The fs that ran out of space was /tmp so the only problem was that the backup was not done reliably. Fortunately the install did not have any problems.

    I'm not sure what the ideal solution is, I find the ISP Config's tendancy to abort on error a bit annoying since it won't resume and has to start over from scratch, but I think I'd find it more annoying to have a broken system after an attempted upgrade.

    Here's the log of the errors:

    Code:
    All prerequisites are fulfilled.
    Here we go...
    
    Connected successfully to db db_ispconfig
    mv: writing `/tmp/root_ispconfig_02_18_2008__12_45_58.tar.gz': No space left on device
    mv: writing `/tmp/home_admispconfig_02_18_2008__12_45_58.tar.gz': No space left on device
    cp: writing `/tmp/existing_db_02_18_2008__12_45_58.sql': No space left on device
    Restarting some services...
     * Stopping Postfix Mail Transport Agent postfix                                                                         [ ok ] 
     * Starting Postfix Mail Transport Agent postfix                                                                         [ ok ] 
    Restarting ProFTPD ftp daemon.proftpd
    .. - setting default address to 127.0.0.1
    proftpd
     done
    Shutting down ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
    ISPConfig system stopped!
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    ISPConfig system is now up and running!
    Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
    
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    df -h
    ? Can you delete some unused files in /tmp?
     
  3. newz2000

    newz2000 New Member

    Well, everything is OK now. After ispconfig finished the /tmp fs was full. After I deleted the backup files it had tons of space in there. By default my comptuer allocates only 16M to the temp fs, so I changed it in the fstab to 64 and rebooted.

    I was just pointing this problem out as something that may be good to address in future versions. Maybe check the return value of the process that creates the backup and if the backup doesn't work, prompt the user for a new location or to proceed without a backup.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    It's on our To-Do list. :)
     

Share This Page