Home>

I'm using cloud9. I'm a beginner.
The directory created on the terminal is not reflected in the file tree on the left. Pressing reflesh file tree did not update.
Even stranger, depending on the time, the directory may or may not exist when using the ls command on the terminal.
I can't help it now, so I'm writing the file using the vi editor. However, when cloud9 is restarted, the entire directory disappears.
Even if I launch the app with rails new with rails, it disappears when I restart cloud9. So, when I try to launch the app with the same name as rails new, it seems that it exists on the terminal, but when I start cloud9 again, it disappears on the terminal as well.

The cause is not well understood, but I remember that the behavior became strange since I created the public key and private key.

I don't know what the cause is, but does anyone know the cause?

  • Answer # 1

    As a result of searching around, it seems that the free disk space was tight and I could not download it.
    Command to display capacity usage
    df -h
    Filesystem Size Used Avail Use% Mounted on
    devtmpfs 483M 60K 483M 1%/dev
    tmpfs 493M 0 493M 0%/dev/shm
    / dev/xvda1 9.8G 9.5G 124M 99% /

    So first of all
    sudo du -sh/*
    If you look for a large directory,
    3.2G/usr
    3.3G/var
    Was found, and from there, I imitated the solution of the same situation from other sites, deleted the files that seemed unnecessary, and solved it safely.