cannot remove Read-only file system

Posted February 18, 2015 5.7k 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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.