u/ausp1c1oushorse

Permission error when installing Adguard Home
▲ 1 r/AdGuardHome+1 crossposts

Permission error when installing Adguard Home

I'm trying to install Adguard Home with the Netbird guide. I begin with the following in /home/MYUSERNAME/

mkdir -p ~/adguardhome && cd ~/adguardhome
nano docker-compose.yml

In my yaml file, I insert the following which is slightly modified from the Netbird guide's text

services:
adguardhome:
image: adguard/adguardhome:latest
container_name: adguardhome
restart: unless-stopped
volumes:
- ./adguard/workdir:/opt/adguardhome/work
- ./adguard/confdir:/opt/adguardhome/conf
ports:
- "10.0.0.XX:53:53/tcp"   # the "XX" part is my server's ip
- "10.0.0.XX:53:53/udp"
- "10.0.0.XX:3003:3003/tcp"   # the original port is 3000 but Dockhand uses that already
- "10.0.0.XX:8080:80/tcp"
cap_add:
- NET_ADMIN

I'm using Dockhand here so I go into Stacks, then create, then select my yaml file, and deploy. Here are where the errors start in the logs.

[adguardhome][info] starting adguard home version="AdGuard Home, version v0.107.74"
[adguardhome][info] this is the first time adguard home has been launched
[adguardhome][info] checking if adguard home has the necessary permissions
[adguardhome][info] adguard home can bind to port 53
[adguardhome][info] dhcpd: warning: creating dhcpv4 server err="dhcpv4: invalid IP is not an IPv4 address"
[adguardhome][info] tls_manager: using default ciphers
[adguardhome][info] webapi: initializing
[adguardhome][info] webapi: This is the first launch of AdGuard Home, redirecting everything to /install.html
[adguardhome][info] permcheck: warning: found unexpected permissions type=directory path=/opt/adguardhome/work perm=0755 want=0700
[adguardhome][info] webapi: AdGuard Home is available at the following addresses:
[adguardhome][info] go to http://127.0.0.1:3000
[adguardhome][info] go to http://[::1]:3000
[adguardhome][info] go to http://172.19.0.2:3000
[adguardhome][info] starting plain server server=plain addr=0.0.0.0:3000

Dockhand says that the container is running with a green dot but when I visit http:10.0.0.XX:3003, I am not able to connect to Adguard Home. Unsure what to do from here.

For what it's worth, here's the ownership and permission details when I do ls -l /home/MYUSERNAME/

drwxrwxr-x 3 MYUSERNAME docker 4096 May 10 18:31 adguardhome
drwxrwxr-x 3 MYUSERNAME docker 4096 May 10 15:35 dockhand

When I do -l /home/MYUSERNAME/adguardhome/ I get

drwxr-xr-x 4 root   root   4096 May 10 18:31 adguard
-rw-rw-r-- 1 MYUSERNAME docker  401 May 10 18:31 docker-compose.yml

When I do -l /home/MYUSERNAME/adguardhome/adguard I get

drwxr-xr-x 2 root root 4096 May 10 18:31 confdir
drwxr-xr-x 3 root root 4096 May 10 18:31 workdir
u/ausp1c1oushorse — 5 days ago

Let’s say my friend is on xywav and wants to stockpile because it is a vitally important medication that they require every day. I am not asking a question about what the pharmacist or doctor says.

If someone was interested in stockpiling by taking less than the prescribed dose, is there any way to extend the sodium oxybate? Like refrigerating? And when the bottle does come to expiration, what exactly happens. does it become less effective or become toxic? Can’t find any scientific literature that talks about the lifespan of sodium oxybate

reddit.com
u/ausp1c1oushorse — 11 days ago