Bug Report: Installation fails on chown due to missing group during initial setup #163

Open
opened 2026-10-27 09:35:56 +01:00 by adam · 0 comments
Owner

Describe the bug:
When running the openHop Repeater installation wizard (sudo ./manage.sh install), the setup environment crashes and errors out with chown: invalid group: 'repeater:repeater'.
Details & Context:

  • Cause: The script fails to create or verify the repeater group before changing permissions, or fails on re-runs where the user exists without the correct primary group mapping.
  • Error: chown: invalid group: 'repeater:repeater' on a Raspberry Pi Zero W via sudo ./manage.sh install.
  • Workaround: Manually create the group and assign the user before rerunning the script:

sudo groupadd repeater
sudo usermod -g repeater repeater
sudo ./manage.sh install

  • Suggested Fix: Explicitly check/create the group prior to user creation or use useradd -r -U repeater in the installer logic.

Describe the bug: When running the openHop Repeater installation wizard (sudo ./manage.sh install), the setup environment crashes and errors out with chown: invalid group: 'repeater:repeater'. Details & Context: * * Cause: The script fails to create or verify the repeater group before changing permissions, or fails on re-runs where the user exists without the correct primary group mapping. * Error: chown: invalid group: 'repeater:repeater' on a Raspberry Pi Zero W via sudo ./manage.sh install. * Workaround: Manually create the group and assign the user before rerunning the script: sudo groupadd repeater sudo usermod -g repeater repeater sudo ./manage.sh install * Suggested Fix: Explicitly check/create the group prior to user creation or use useradd -r -U repeater in the installer logic. * ------------------------------ <!-- github-sync-id:5705349521 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/pyMC_Repeater#163