# No space available on server

**URL:** <https://forum.getodk.org/t/no-space-available-on-server/40033>\
**Category:** Support\
**Created:** [January 3, 2023, 10:19am UTC](https://forum.getodk.org/t/no-space-available-on-server/40033 "2023-01-03T10:19:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChamisaShaps](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/chamisashaps/32/17970_2.png) [@ChamisaShaps](https://forum.getodk.org/u/ChamisaShaps)\
**Post date:** [January 3, 2023, 10:19am UTC](https://forum.getodk.org/t/no-space-available-on-server/40033/1 "2023-01-03T10:19:17Z")

</div>

Good day ODK family,  
How do we solve this. The root space is full and no available space. Initially the ODK installed within root. Now the users are failing to log in and when I tried to run this command docker exec -it service sh under Central , I am failing because the is no space to run the command and reboot. So, which files should I delete so that will restore some memories. We want to create unused memory so that we can run the command, remove tmp files and reboot using command . Any help on this  
 ![ODK issues2](https://getodk.b-cdn.net/uploads/default/original/3X/1/e/1ee674aa3bb97c944b2c5b9e386cd78441797d4b.jpeg)

---

<div class="post-metadata">

**Author:** ![dicksonsamwel](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/dicksonsamwel/32/2898_2.png) [@dicksonsamwel](https://forum.getodk.org/u/dicksonsamwel)\
**Post date:** [January 3, 2023, 10:54am UTC](https://forum.getodk.org/t/no-space-available-on-server/40033/2 "2023-01-03T10:54:39Z")

</div>

Hi @ChamisaShaps

I encourage you to search the forum thoroughly you can find answers already exist.

For storage issues, check out this [Running out of storage on my ODK Central server](https://forum.getodk.org/t/running-out-of-storage-on-my-odk-central-server/32703)

Thanks.

---

<div class="post-metadata">

**Author:** ![yanokwa](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/yanokwa/32/1695_2.png) [@yanokwa](https://forum.getodk.org/u/yanokwa)\
**Post date:** [January 3, 2023, 5:05pm UTC](https://forum.getodk.org/t/no-space-available-on-server/40033/3 "2023-01-03T17:05:51Z")

</div>

You'll need to free up space on your host before you can run any command. Maybe remove unused dependencies and clean up your apt cache with `sudo apt-get autoremove; sudo apt-get clean`. You can also try temporarily disabling and removing swap or removing everything in `/tmp` on your host.

This scenario is why [we strongly recommend creating an alert for disk use](https://docs.getodk.org/central-install-digital-ocean/#setting-up-monitoring)...

---

<div class="post-metadata">

**Author:** ![ChamisaShaps](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/chamisashaps/32/17970_2.png) [@ChamisaShaps](https://forum.getodk.org/u/ChamisaShaps)\
**Post date:** [January 4, 2023, 5:27am UTC](https://forum.getodk.org/t/no-space-available-on-server/40033/4 "2023-01-04T05:27:42Z")

</div>

Thank you so much @yanokwa and @dicksonsamwel for the ideas. @yanokwa your cache cleaning commands failed to run again, while I solved the problem by removing some large log files. When I removed the log files, a small amount of available space was created, which allowed me to run all the commands I wanted to run previously.  
Thank you again @yanokwa for addressing this issue in the most recent ODK central version.
