Command /etc/init.d/stubby restart shows: "error chown: unknown user/group stubby:stubby"

Hi, configuring stubby with DoT I get the error above in the terminal session via ssh. In Luci I can restart it without issues.

I use OpenWRT 24.10.5 on a Fritzbox 7530. I know that user and group stubby are missed, but why and is the best way to solve it, to create both? Or is there anything else wrong?

Just add the user. You lost him somehow.

For reference:

root@OpenWrt:~# cat /etc/passwd | grep stubby
stubby:x:410:410:stubby:/var/run/stubby:/bin/false
root@OpenWrt:~# cat /etc/shadow | grep stubby
stubby:x:0:0:99999:7:::
root@OpenWrt:~# cat /etc/group | grep stubby
stubby:x:410:stubby

Did you use the firmware selector to build an image with stubby included by any chance? I've seen a few reports of users having similar issues, i.e. users/groups not created.

No, I installed it with Luci.

In between I created group and user stubby manually and it works now.