AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

[fatal] initing hosts container: hosts container: adding path: os watcher: no space left on device

Open narol69 opened this issue 2 years ago • 10 comments

Prerequisites

Platform (OS and CPU architecture)

Custom (please mention in the description)

Installation

Docker

Setup

On one machine

AdGuard Home version

latest (v0.107.39)

Action

My host is a Synology DS918+ where I have 40 containers and no problem with them... Only with ADGuard : I create my docker compose like you suggest (file attached) docker-compose.yaml.txt

I can setup adguard, and login me.

If I restart my Adguard Container , It's broken like I have disk full, but really, I have more 4To free.

Log of my Portainer in attached file : Log Portainer AdGuard.txt

I can't understand why I can restart all my containers but only one Crash (AdGuard)

Expected result

I check on Internet, some forums, your discord, and I find a command to purge come cache on Synology sudo docker system prune -a but that no change the result :-(

Actual result

I can work with adguard but I mustn't restart it

Additional information and/or screenshots

No response

narol69 avatar Oct 17 '23 20:10 narol69

This doesn't seem to be an issue related to AdGuard Home. You can try workaround this by setting clients.runtime_sources.hosts to false, but you should probably inspect your Docker setup.

ainar-g avatar Oct 18 '23 11:10 ainar-g

Might be unrelated: Have you tried to normally setup & manage the docker container through Container Manager on Synology Web UI?

szhu25 avatar Oct 19 '23 13:10 szhu25

Dis you resolve this issue? I have exactly same case...

SebuZet avatar Apr 10 '24 15:04 SebuZet

This doesn't seem to be an issue related to AdGuard Home. You can try workaround this by setting clients.runtime_sources.hosts to false, but you should probably inspect your Docker setup.

It doesn't help in my case

SebuZet avatar Apr 11 '24 06:04 SebuZet

I'm using Synology DS923+ and Container Manager. AdGuard from official channel. It works until reboot. After that I've got the same error. The issue is only with AdGuard. I tried docker with PiHole and it works.

SebuZet avatar Apr 11 '24 06:04 SebuZet

I'm using Synology DS923+ and Container Manager. AdGuard from official channel. It works until reboot. After that I've got the same error. The issue is only with AdGuard. I tried docker with PiHole and it works.我使用的是 Synology DS923+ 和 Container Manager。AdGuard 来自官方渠道。在重启之前一直正常。重启后,我又遇到了同样的错误。问题只出在 AdGuard 上。我试过使用 PiHole 的 docker,可以正常运行。

Did you solve it? I have the same problem.

lovewe avatar Dec 09 '24 08:12 lovewe

same problem

wdog avatar Feb 21 '25 12:02 wdog

Same issue on DS918+

Oneel77 avatar Feb 21 '25 20:02 Oneel77

Based on the input from here https://github.com/AdguardTeam/AdGuardHome/issues/7596#issuecomment-2727019475 I made the following changes and it is now working again

Stop the running adguard docker container.

SSH into the NAS and run the following: sudo sysctl -w fs.inotify.max_user_watches=524288

Make the change permanent by adding the following line to /etc/sysctl.conf: fs.inotify.max_user_watches=524288

Finally, apply the change by running the following: sudo sysctl -p

RobZe89 avatar Mar 15 '25 23:03 RobZe89

Based on the input from here #7596 (comment) I made the following changes and it is now working again

Stop the running adguard docker container.

SSH into the NAS and run the following: sudo sysctl -w fs.inotify.max_user_watches=524288

Make the change permanent by adding the following line to /etc/sysctl.conf: fs.inotify.max_user_watches=524288

Finally, apply the change by running the following: sudo sysctl -p

Thank you. Problem solved

Oneel77 avatar May 02 '25 07:05 Oneel77