Server Re-install

Discussion in 'Installation/Configuration' started by Jeremy007, Jan 26, 2024.

  1. Jeremy007

    Jeremy007 Member

    Im running
    ISPConfig with Multiserver setup
    NGINX
    Ubuntu 18.0.4.6 (EOL)

    Hello HTF friends,

    I've been trying to update one of my servers (mail) but regardless of what i do, this one keeps failing due to an error "no space left on disk" while i have over 25GB free. Have been fighting the issue for weeks and reading up on all the posts. It's solely a mail server.

    Still not 100% sure if the migration toolkit can achieve this. I need to reset my mail server. Is there anyway to backup my Ispconfig server, re-install the server with 20.04 and then restore the backup and run the Isponfig updater?

    Any tips would be greatly appreciated.
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Please explain how you did you come to this.
     
    Jeremy007 likes this.
  3. Jeremy007

    Jeremy007 Member

    It's the actual error it gives. "out of disk space". I monitored the install by having two sessions running.
    The drive goes from 25GB free, 22GB free, 21GB, 16Gb....and so on until it reaches 0GB free right around the end. Also, when running it with one session, when it stops and i exit and do a disk check and it's 0GB free. I was also able to track down a few of the files during install, just some large temp/install files. Didn't see anything strange.
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What are you doing when this error appears?
    You do not say what you are updating. Ubuntu 18.04 to 20.04? ISPConfig? Something else?
    What shows command
    Code:
    df -hT
    Migration tool can migrate your current setup to a new ISPConfig setup, but you would need those extra hosts during the migration. ISPConfig copy tool could copy your existing mail server to similar mail server, but that would need to have same version of OS, so you would still be stuck in Ubuntu 18.04. If something is messed up in your current host, this might help, though.
    Please do https://forum.howtoforge.com/threads/please-read-before-posting.58408/ and post the common issues report.
     
    ahrasis likes this.
  5. Jeremy007

    Jeremy007 Member

    Hello ,

    Yes, this happens when going from Ubuntu 18.04 to 20.04.
    When i run df -hT it shows the main disk /dev/vda1 as 0% available during the last few installs of the release-upgrade.
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Can you copy and paste the command and output?
    Can you reveal how you are doing the update of Ubuntu?
     
    ahrasis likes this.
  7. Jeremy007

    Jeremy007 Member

    Code:
    udev           devtmpfs  964M     0  964M   0% /dev
    tmpfs          tmpfs     200M  772K  199M   1% /run
    /dev/vda1      ext4       78G   54G   24G  69% /
    tmpfs          tmpfs     997M     0  997M   0% /dev/shm
    tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
    tmpfs          tmpfs     997M     0  997M   0% /sys/fs/cgroup
    tmpfs          tmpfs     200M     0  200M   0% /run/user/0
    
    The update is done via sudo do-release-upgrade
    Is there another way? Similar to a safe-mode or anything else?
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You forgot to post the common issues report.
    I do Ubuntu release upgrades from console, first apt update ; apt full-upgade and then the do-release-upgrade.
    Is this host a server installation? It is strange the update would use up 24 GB space. Are there extra packages installed, like a desktop environment and large packages?
    Have you checked disk is not faulty? With for example smartmontools,
    Code:
    smartctl -a /dev/vda1
    To troubleshoot, do the release-upgrade from console, capturing the output to a file. Then see that file to examine what is happening and what uses up the disk space. The debian release notes has info on how to do this: https://www.debian.org/releases/stable/amd64/release-notes/ch-upgrading.en.html#record-session
     
    ahrasis likes this.

Share This Page