# How to fix "no space left on device" error?

**URL:** <https://forum.gitea.com/t/how-to-fix-no-space-left-on-device-error/11728>\
**Category:** Install/Maintain/Configure\
**Created:** [October 8, 2025, 11:35pm UTC](https://forum.gitea.com/t/how-to-fix-no-space-left-on-device-error/11728 "2025-10-08T23:35:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnBlood](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/johnblood/32/6033_2.png) [@JohnBlood](https://forum.gitea.com/u/JohnBlood)\
**Post date:** [October 8, 2025, 11:35pm UTC](https://forum.gitea.com/t/how-to-fix-no-space-left-on-device-error/11728/1 "2025-10-08T23:35:35Z")

</div>

Today, I tried to import a repo from GitLab. I got an error that “no space left on device”. I logged into the server and ran `df -h --total /`. I have 14GB free. I checked the Gitea logs and found almost 1400 pages of the same error. Why am I getting this error? How can I get Gitea to use more space?

I’m on Debian 10 (I know I have to upgrade). Gitea is installed via the binary.

---

<div class="post-metadata">

**Author:** ![remram44](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/remram44/32/3152_2.png) [@remram44](https://forum.gitea.com/u/remram44)\
**Post date:** [October 16, 2025, 11:06pm UTC](https://forum.gitea.com/t/how-to-fix-no-space-left-on-device-error/11728/2 "2025-10-16T23:06:13Z")

</div>

This could be caused by a lack of free inodes. What does `df -hi /` report?

Are you sure Gitea is using `/` and not another filesystem?
