-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Checklist
- I checked that this feature has not been requested before
- I checked that this feature is not in the "Not planned" list
- This feature will benefit the majority of users
Problem Description / Use Case
Stremthru log:
level=ERROR
msg=failed to get remote url
scope=worker/sync-dmm-hashlist
error=exit status 128
cmd_error=fatal: detected dubious ownership in repository at '/app/data/hashlists' To add an exception for this directory, call: git config --global --add safe.directory /app/data/hashlists
In the default configuration, Stremthru logs the above error whenever it's trying to parse the hashlists in /stremthru/data/hashlists due to Git ownership requirements. While the log proposes a fix by adding an exception in the git config, a more elegant solution would be to address the ownership mismatch when creating the Stremthru container.
Proposed Solution
In docker/apps/stremthru/compose.yaml, add user: $PUID:$PGID as follows:
services:
stremthru:
user: $PUID:$PGID
image: ...
Metadata
Metadata
Assignees
Labels
No labels