cannot remove Read-only file system

February 18, 2015 4.6k views


everything was working fine.
10 min ago I had Piwik (tracking script made in PHP) asking me to set the right permission for my folders. (the tmp folder).

The tmp folder in piwik insatllation root has the right permission.
So I decided to deleted and create it again and… it’s not working :-(

One of my errors:

rm: cannot remove `tmp/cache/tracker/piwikcache_1.php’: Read-only file system

and so on with every file.

I don’t know where to watch :-(

Thank you!

1 Answer

Reboot your droplet. If that doesn’t fix it or it happens again, open a ticket.

  • Thank you.
    Rebooted my droplet from command line. The droplet was not responding via SSH and any service was running.
    So from the DigitalOcean admin panel I opened a console VNC connection ( Droplets -> select droplet -> Access -> Console access (blue button))
    The console told me there was something corrupted. Asked me to press F to fix it. After 10 seconds everything started and now it’s working great.

    Pretty scared about this.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!