Mattias Svensson
cbb8a52163
Fix: nginx startup failure due to group name mismatch
...
The script was creating a group named 'dispatch' (hardcoded) while
nginx.conf expected a group matching POSTGRES_USER (e.g., 'dispatcharr').
Changes:
- Use $POSTGRES_USER for group name instead of hardcoded 'dispatch'
- Make sed command more robust to match any existing user directive
This ensures the group name matches the user name, fixing the error:
"getgrnam("dispatcharr") failed in /etc/nginx/nginx.conf:1"
Fixes #877
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 08:04:49 +01:00
sethwv-alt
b157159b87
Fix root-owned __pycache__ by running Django commands as non-root user
2025-12-31 12:16:19 -05:00
SergeantPanda
18645fc08f
Bug Fix: Re-apply failed merge to fix clients that don't have ipv6 support.
2025-12-22 16:39:09 -06:00
SergeantPanda
20182c7ebf
Merge branch 'main' into dev
2025-12-19 17:53:06 -06:00
SergeantPanda
f0a9a3fc15
Bug Fix: Docker init script now validates DISPATCHARR_PORT is an integer before using it, preventing sed errors when Kubernetes sets it to a service URL like tcp://10.98.37.10:80. Falls back to default port 9191 when invalid ( Fixes #737 )
2025-12-19 17:00:30 -06:00
dekzter
c51916b40c
Revert "Advanced Filtering"
2025-12-12 08:30:17 -05:00
SergeantPanda
69f9ecd93c
Bug Fix: Remove ipv6 binding from nginx config if ipv6 is not available.
2025-12-08 20:12:44 -06:00
SergeantPanda
93f074241d
Bug fix/enhancement: Check if we're the owner of /data and set ownership if not. Also pre-create /data/models folder
2025-11-04 09:03:39 -06:00
SergeantPanda
d456051eb3
Verify /app also has the correct permissions.
2025-10-18 19:52:22 -05:00
SergeantPanda
9b07f013a4
Refactor directory creation and ownership management in init script for clarity and maintainability. Will only chown recursively if we are not the owner. This should help improve boot speeds.
2025-10-18 19:33:23 -05:00
SergeantPanda
41d7066d6e
Fix incorrect paths for DVR and Plugins.
2025-09-13 11:49:04 -05:00
SergeantPanda
75816b5d8e
Change folder creation for Recordings in entrypoint from 'recordings' to 'Recordings'
2025-09-13 09:07:08 -05:00
SergeantPanda
f9a9d5d336
Convert postgres to UTF8 from ASCII
2025-08-02 19:02:57 -05:00
SergeantPanda
406ac37fb9
Delete temp folder if it exists during upgrade.
2025-07-31 15:01:28 -05:00
SergeantPanda
108a992643
Detect mismatched Postgres version and automatically run pg_upgrade
2025-07-31 14:53:55 -05:00
SergeantPanda
14c3944578
Don't hardcode dispatch as user for nginx. Use postgres_user.
2025-05-14 10:19:55 -05:00
SergeantPanda
cecc057ea4
Make sure we can change render group gid to match host and capture errors so we don't crash server.
2025-05-14 09:32:24 -05:00
SergeantPanda
0a9250c3d5
Vastly improved logic for detecting recommended acceleration methods.
2025-05-13 12:32:49 -05:00
SergeantPanda
dd54a13bdd
Fix script exiting entrypoint if no devices were found.
2025-05-13 00:37:07 -05:00
SergeantPanda
40765ed46d
One more attempt at proper intel detection.
2025-05-12 21:19:43 -05:00
SergeantPanda
bb73da1cb9
Fixes invalid regex detection for intel gpu models.
2025-05-12 20:55:35 -05:00
SergeantPanda
08493321dd
Fixes intel devices not matching correctly for libva_driver recommendations.
2025-05-12 20:27:38 -05:00
SergeantPanda
0953e044b7
Huge improvement to hardware acceleration script. Renamed for accuracy.
2025-05-12 19:46:23 -05:00
SergeantPanda
634d16d402
Improved logic for assigned GID's and group memberships for video and render groups.
2025-05-12 17:23:10 -05:00
SergeantPanda
9f1d382472
Don't force GID for render group.
2025-05-12 16:02:24 -05:00
SergeantPanda
da9a78c875
Only write LIBVA_DRIVER_NAME to dispatcharr.sh if it's set by the user.
2025-05-12 13:16:15 -05:00
SergeantPanda
3a06b12f2c
Hopefully fixes QSV hardware acceleration.
2025-05-11 12:45:57 -05:00
SergeantPanda
3a4631e9ad
Add extra note if model isn't detected.
2025-05-10 16:51:42 -05:00
SergeantPanda
3c1157d330
Enhance user group verification messages to include the username for clarity
2025-05-10 16:45:01 -05:00
SergeantPanda
decd54dba9
Add NVIDIA device name to summary
2025-05-10 15:45:08 -05:00
SergeantPanda
4afa3166ba
Improved group checking logic.
2025-05-10 15:35:48 -05:00
SergeantPanda
e59521ae94
Add Dispatch to video and render groups if they exist.
2025-05-10 15:29:25 -05:00
SergeantPanda
23b678bb03
Add pciutils for better hardware detection.
2025-05-09 20:06:28 -05:00
SergeantPanda
2ddc6beb15
Better messaging since nvidia variables will always exist in our container.
2025-05-09 18:31:16 -05:00
SergeantPanda
18bc422077
Better detection.
2025-05-09 17:37:39 -05:00
SergeantPanda
aff93591fd
Detect hardware acceleration capabilities and provide suggestions.
2025-05-09 17:19:46 -05:00
SergeantPanda
2b3f17972a
Rename group to dispatch if it isn't already.
2025-05-07 21:10:56 -05:00
dekzter
7a90cc8ae3
re-adding in removal of frontend artifacts from dockerfile, re-added chown of /app directory
2025-04-07 08:36:19 -04:00
dekzter
354cd84c88
filesystem watch and process of m3u and epg
2025-04-06 15:58:55 -04:00
dekzter
ecc96f8b69
memory optimization, m3u processing, re-added group filtering before m3u ingestion
2025-04-06 11:36:16 -04:00
SergeantPanda
472c20627c
Update Docker images to use ghcr.io and clean up ownership commands in init script
2025-04-05 21:56:58 -05:00
dekzter
00f6e7c1cd
first run at recordings, among other things
2025-04-05 18:59:15 -04:00
dekzter
82b426f82a
moved some perms around and new folders
2025-04-05 14:34:08 -04:00
dekzter
f9e269bfda
fixing permissions so can work on mac
2025-04-02 16:29:35 -04:00
dekzter
1b75fbc90a
postgres dir var, nginx variable replacement, more permission modification
2025-04-02 16:28:58 -04:00
dekzter
2e1b00782d
Merge remote-tracking branch 'origin/dev' into epg-refactor
2025-03-31 11:13:22 -04:00
SergeantPanda
eb1c1d4165
Fixes db migration.
2025-03-28 15:17:11 -05:00
dekzter
dbee621d90
moving postgres database
2025-03-27 20:15:09 -04:00
dekzter
c31e8f4f97
Merge pull request #43 from SergeantPanda/proxy-stats
...
Remote debugging initial commit.
2025-03-27 10:54:29 -04:00
SergeantPanda
1fcedab1ab
Remote debugging initial commit.
2025-03-27 09:49:51 -05:00