SergeantPanda
d6c1a2369b
Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into pr/patchy8736/823
2026-01-08 13:27:42 -06:00
SergeantPanda
1a2d39de91
Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into dev
2026-01-08 10:28:15 -06:00
SergeantPanda
f389420251
Add optional legacy NumPy support for older CPUs in Docker configurations
2026-01-08 10:27:58 -06:00
patchy8736
0441dd7b7e
Bug Fix: Add socket-timeout to uWSGI production config to prevent VOD stream timeouts during client buffering
...
The production uWSGI configuration (docker/uwsgi.ini) was missing the socket-timeout directive, causing it to default to 4 seconds. When clients (e.g., VLC) buffer VOD streams and temporarily stop reading from the HTTP socket, uWSGI's write operations timeout after 4 seconds, triggering premature stream cleanup and causing VOD streams to disappear from the stats page.
The fix adds socket-timeout = 600 to match the existing http-timeout = 600 value, giving uWSGI sufficient time to wait for clients to resume reading from buffered sockets. This prevents:
- uwsgi_response_write_body_do() TIMEOUT !!! errors in logs
- GeneratorExit exceptions and premature stream cleanup
- VOD streams vanishing from the stats page when clients buffer
The debug config already had socket-timeout = 3600, which is why the issue wasn't observed in debug mode. This fix aligns production behavior with the debug config while maintaining the production-appropriate 10-minute timeout duration.
2026-01-07 14:10:17 +01:00
SergeantPanda
518c93c398
Enhance Docker setup for legacy NumPy support and streamline installation process
2026-01-06 14:07:37 -06: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
523a127c81
Enhancement: Add VLC dependencies to DispatcharrBase image.
Base Image Build / prepare (push) Has been cancelled
Build and Push Multi-Arch Docker Image / build-and-push (push) Has been cancelled
Base Image Build / docker (amd64, ubuntu-24.04) (push) Has been cancelled
Base Image Build / docker (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Base Image Build / create-manifest (push) Has been cancelled
2025-12-24 15:48:56 -06: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
SergeantPanda
bd57ee3f3c
Merge branch 'dev' into flexible_devbuild
2025-12-18 08:56:58 -06:00
SergeantPanda
4878e92f44
Merge pull request #488 from stlalpha/feature/automated-backups
...
Enhancement: Add automated configuration backups
2025-12-15 16:17:33 -06:00
dekzter
c51916b40c
Revert "Advanced Filtering"
2025-12-12 08:30:17 -05:00
James Blackwell
56cf37d637
Give arguments to docker/build-dev.sh
...
This command improves docker/build-dev.sh, providing a variety of
arguments to assist building images
-h for help
-p push the build
-r Specify a different registry, such as myname on dockerhub, or
myregistry.local
-a arch[,arch] cross build to one or more architectures; .e.g. -a
linux/arm64,linux/amd64
2025-12-12 12:59:03 +07: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
62f5c32609
Remove DJANGO_SECRET_KEY environment variable from uwsgi configuration files
2025-12-08 17:27:07 -06:00
SergeantPanda
e2736babaa
Reset umask after creating secret file.
2025-12-07 20:04:58 -06:00
SergeantPanda
2155229d7f
Fix uwsgi command path in entrypoint script
2025-12-07 19:40:32 -06:00
SergeantPanda
3512c3a623
Add DJANGO_SECRET_KEY environment variable to uwsgi configuration files
2025-12-07 19:05:31 -06:00
dekzter
d0edc3fa07
remove permission lines to see if this resolves lack of django secret key in environment profile.d
2025-12-07 07:54:30 -05:00
dekzter
b18bc62983
merged in from main
2025-12-06 14:13:06 -05:00
dekzter
f3a901cb3a
Security Fix - generate JWT on application init
2025-12-06 13:40:10 -05:00
SergeantPanda
f1320c9a5d
Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into pr/stlalpha/488
2025-12-02 13:39:06 -06:00
3l3m3nt
43949c3ef4
Added IPv6 port bind to nginx.conf
2025-11-30 19:30:47 +13:00
Jim McBride
3eaa76174e
Feature: Automated configuration backups with scheduling
...
- Create/Download/Upload/Restore database backups (PostgreSQL and SQLite)
- Configurable data directory backups (via settings.py)
- Scheduled backups (daily/weekly) via Celery Beat
- Retention policy (keep last N backups)
- Token-based auth for async task polling
- X-Accel-Redirect support for nginx file serving
- Comprehensive tests
2025-11-26 21:11:13 -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
0a6f9eb8e1
Bug fix: Fixes uWSGI not getting environmental variables passed to it and LXC not being able to access daemons launched by uWSGI.
...
Fixes #575 , #576 , #577
2025-10-22 15:31:12 -05:00
SergeantPanda
73bb1ecd2d
Trying a different approach to fix LXC issues.
2025-10-22 08:26:15 -05:00
SergeantPanda
645c1ec9df
Testing redis potential fix. Launch redis in entrypoint before uWSGI
2025-10-21 21:47:15 -05:00
SergeantPanda
119b222428
Enhancement: Allow setting both Celery and UWSGI nice levels. Default nice levels are UWSGI=0, Celery=5. Added documentation to the compose files on how to use it. Using nice levels for UWSGI allows us to have streaming run at a high priority.
2025-10-21 10:11:53 -05: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
7cbdb61f2c
Enhancement: Ensure root's .bashrc sources Dispatcharr profile scripts for interactive non-login shells. This will help when running root commands from the container cli
2025-10-18 19:08:02 -05:00
SergeantPanda
44478804f8
Split install and build into separate tasks.
2025-09-30 10:25:39 -05:00
SergeantPanda
37b05f1dde
Attempt to fix epipe error in docker build.
2025-09-30 10:01:11 -05:00
SergeantPanda
9da20b1941
Switch back to node 24, switch to npm for building frontend. Remove node_modules before starting frontend build. Fixes bug with NPM
2025-09-30 09:22:05 -05:00
SergeantPanda
0e6889c6c1
Try node 20 (again)
2025-09-28 18:43:11 -05:00
SergeantPanda
e072fb88f9
Another test.
2025-09-28 18:30:28 -05:00
SergeantPanda
bbb559d1cd
Attempt to work around known npm bug for ARM.
2025-09-28 17:38:15 -05:00
SergeantPanda
a0745fcaa5
Switch from yarn to npm for building
2025-09-28 11:57:13 -05:00
SergeantPanda
f3de398c89
Remove extra build tools.
2025-09-28 11:49:24 -05:00
SergeantPanda
836871f102
Add installation of build dependencies in Dockerfile
2025-09-28 11:36:59 -05:00
SergeantPanda
e281041458
Get logs from yarn install if failed.
2025-09-28 09:38:01 -05:00
SergeantPanda
19f0088b40
Switch from slim build to full build of node 24.
2025-09-28 09:30:26 -05:00
SergeantPanda
db5713a050
Update Dockerfile to use Node.js 24-slim for frontend build
2025-09-27 17:53:15 -05:00
SergeantPanda
563f890cf4
Yarn apparently no longer supports igrnore optional.
2025-09-27 17:47:23 -05:00
SergeantPanda
09b79bd174
Fix: Update yarn install command to remove fallback option
2025-09-27 17:41:30 -05:00
SergeantPanda
857471e1ad
Attempt to get arm builds working
2025-09-27 17:39:00 -05:00
SergeantPanda
1493eaf28b
Merge branch 'main' of https://github.com/Dispatcharr/Dispatcharr into dev
2025-09-27 17:33:25 -05:00
SergeantPanda
4a4d93767e
Separate steps to debug failed builds
2025-09-27 17:28:34 -05:00