Skip to content

Latest commit

Β 

History

History
577 lines (315 loc) Β· 23 KB

CHANGELOG.md

File metadata and controls

577 lines (315 loc) Β· 23 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Version [5.4.5] - 2024-11-22 πŸš€

Fixed πŸ› οΈ

  • PR #88 Zilean: Add database connection timeouts πŸ› - Thanks @skeet70 πŸ™

Version [5.4.4] - 2024-11-16 πŸš€

Changed πŸ”„

  • Zilean: Update to dotnet 9 πŸ”„
  • Zilean: Update to support both Zilean.Scraper & Zilean.DmmScraper for older version of Zilean πŸ”„

Notes πŸ“

  • Zilean: Only Zilean v2.1.0 and newer are supported due to dotnet update to version 9 🚨

Version [5.4.3] - 2024-11-01 πŸš€

Changed πŸ”„

  • Riven Frontend: Updated the name and location of the server-config.json file to server.json and to be transferred to the /riven/frontend/config directory on startup πŸ”„
  • Re-enabled reaping of zombie processes πŸ”„

Version [5.4.2] - 2024-10-29 πŸš€

Fixed πŸ› οΈ

  • Issue #72 Zilean Permissions Issue πŸ›

Version [5.4.1] - 2024-10-28 πŸš€

Fixed πŸ› οΈ

  • Issue #71 PostgreSQL Graceful Shutdown πŸ›

Version [5.4.0] - 2024-10-25 πŸš€

Fixed πŸ› οΈ

  • Issue #14 Add Riven build process to Dockerfile ✨
  • Issue #65 Zilean Enabled when ZILEAN_ENABLED=false πŸ›
  • Issue #66 Dockerfile pulls from Riven Frontend main branch vs. latest release πŸ›
  • Issue #67 Future releases for Riven Frontend and Backend will require an API Key πŸ›

Added ✨

  • Riven Backend: Added the Riven backend build process to the Dockerfile πŸ“¦
  • Riven Frontend: Added the server-config.json to the be saved in /config and transferred to the Riven Frontend when using the API key πŸ“¦
  • Zilean: Added the Zilean build process to the Dockerfile πŸ“¦

Changed πŸ”„

  • Riven Backend: Settings are now loaded with or without the API key depending on the version of Riven used πŸ”„
  • Refactor: Refactored the utils and version checks πŸ”„
  • Utils: Added description to reaped processes πŸ”„
  • Logging: Added thread lock to rollover πŸ”„

Notes πŸ“

  • Future releases for Riven Frontend and Backend will require an API Key to be set 🚨
  • With these changes, you can now use the latest development versions of Riven Frontend and Backend πŸŒ™
  • Use the RIVEN_BACKEND_BRANCH=release-please--branches--main and RIVEN_FRONTEND_BRANCH=release-please--branches--main environment variables to test the current development versions of Riven πŸŒ™

Version [5.3.2] - 2024-10-18 πŸš€

Fixed πŸ› οΈ

  • Issue #60 Does not correctly handle deleted files in new Riven releases πŸ›
  • Issue #61 Riven Backend v0.16.0 Broke Settings Update πŸ›
  • Issue #62 Riven Frontend v0.14.0 Broke VersionFilePath πŸ›
  • Issue #63 Riven Frontend v0.16.0 Broke Frontend Build πŸ› - This may be a temporary fix...

Version [5.3.1] - 2024-10-15 πŸš€

Fixed πŸ› οΈ

  • Issue #59 Zombie dotnet Processes Accumulating Over Time πŸ›

Version [5.3.0] - 2024-10-03 πŸš€

Added ✨

  • pgAdmin 4: Added system_stats extension to pgAdmin 4 for host system monitoring πŸ“¦
  • pgAdmin 4: Added pgAgent extension to pgAdmin 4 for job scheduling πŸ“¦

Fixed πŸ› οΈ

  • pgAdmin 4: Fixed the pgAdmin 4 config_local.py SSL settings πŸ›

Changed πŸ”„

  • RIVEN_BACKEND_URL: Linked to the Riven backend load_settings function. PR #57 Thanks @FunkeCoder23 πŸ™

Version [5.2.0] - 2024-10-01 πŸš€

Added ✨

  • pgAdmin 4: Added pgAdmin 4 to the DMB image for PostgreSQL management πŸ“¦ - Resolves Issue #49

Notes πŸ“

  • pgAdmin 4 is enabled by setting the PGADMIN_SETUP_EMAIL and PGADMIN_SETUP_PASSWORD environment variables πŸ†”πŸ”
  • The DMB PostgreSQL server is automatically added to pgAdmin4 ServersπŸ—„οΈ
  • On the first access of pgAdmin 4, the DMB PostgreSQL server password will need to be set in pgAdmin 4 πŸ—„οΈ - the default PostgreSQL server password is postgres or set with POSTGRES_PASSWORD πŸ”
  • To access pgAdmin 4, navigate to http://<DMB_IP>:5050 in your browser 🌐
  • The pgAdmin 4 data is stored in the /pgadmin/data directory - though, not required to mounted to the host πŸ“
  • The pgAdmin 4 config_local.py is stored in the /pgadmin/data directory and symlinked at startup πŸ“ - review the pgAdmin 4 documentation for additional configuration options πŸ“š
  • Backups of the PostgreSQL database can be made using pgAdmin 4 and are stored in the /pgadmin/storage directory πŸ—„οΈ
  • The following message can be ignored on initial startup: ERROR - PostgreSQL subprocess: relation "version" does not exist at character 75

Version [5.1.10] - 2024-09-24 πŸš€

Fixed πŸ› οΈ

  • logger: Fixed obfuscation of sensitive data in logs πŸ›

Version [5.1.9] - 2024-09-23 πŸš€

Fixed πŸ› οΈ

  • Riven Backend: Enabled not set to true for applied subordinate dictionary values - seriously this time πŸ›
  • Riven Frontend: Set the default path for the frontend version.txt in dockerfile πŸ›
  • Issue #54 An error occurred in the Zilean setup: 'NoneType' object has no attribute 'lower'

Version [5.1.8] - 2024-09-23 πŸš€

Fixed πŸ› οΈ

  • Riven Backend: Enabled not set to true for applied subordinate dictionary values πŸ›

Version [5.1.7] - 2024-09-23 πŸš€

Fixed πŸ› οΈ

  • Issue #40 Postgres. role "root" does not exist. πŸ› - Thanks @lukemuller πŸ™

Added ✨

  • Riven Backend: Added the use of .env file for Riven backend settings πŸ“

Changed πŸ”„

  • Main Process: Refactored the main process to handle exceptions - graceful shutdown πŸ”„
  • Logger: Clean up logging πŸ“
  • Riven Backend: DEBUG is now linked to the DMB_LOG_LEVEL πŸ”„

Notes πŸ“

  • To use the .env file for Riven backend settings, create a .env file in the Riven data directory with settings in the format of KEY=VALUE as shown in the env.exampleπŸ“

Version [5.1.6] - 2024-09-13 πŸš€

Changed πŸ”„

  • Riven Frontend: Set the default path for the frontend version.txt to /riven/frontend πŸ”„

Version [5.1.5] - 2024-09-13 πŸš€

Fixed πŸ› οΈ

  • Riven Frontend: Fixed the default DIALECT set for node build process πŸ›
  • Riven Frontend: Set the default path for the frontend version.txt πŸ›

Added ✨

  • RIVEN_FRONTEND_OWNER: Environment variable to set the owner of the Riven frontend repository; Default is rivenmedia πŸ†”

Version [5.1.4] - 2024-09-12 πŸš€

Fixed πŸ› οΈ

  • Issue #51 Duplicate start_process when update applied during initial startup πŸ›

Version [5.1.3] - 2024-09-12 πŸš€

Fixed πŸ› οΈ

  • Issue #43 Node issue when setting Riven frontend version πŸ›

Notes πŸ“

  • The Riven frontend automatic update / branch / version should now work again πŸ“¦

Version [5.1.2] - 2024-09-10 πŸš€

Fixed πŸ› οΈ

  • Healthcheck: Fixed healthcheck for Zilean 🩺

Version [5.1.1] - 2024-09-10 πŸš€

Fixed πŸ› οΈ

  • Zilean: PostgreSQL subprocess: ... CEST [490] FATAL: role "postgres" does not exist πŸ›

Notes πŸ“

  • On first run of Zilean, the PostgreSQL will create the database named zilean, so the message PostgreSQL subprocess: ... CEST [596] FATAL: database "zilean" does not exist can be ignored πŸ—„οΈ

Version [5.1.0] - 2024-09-09 πŸš€

Added ✨

  • Issue #48 Added Zilean to the DMB image for caching of the DebridMediaManager shared hashlists πŸ“¦
  • ZILEAN_ENABLED: Environment variable to enable Zilean; Default is false πŸ”„
  • ZILEAN_UPDATE: Environment variable to update Zilean; Default is false πŸ”„
  • ZILEAN_BRANCH: Environment variable to set the Zilean branch; Default is main πŸ”„
  • ZILEAN_VERSION: Environment variable to set the Zilean version; Default is latest πŸ”„
  • ZILEAN_LOGS: Environment variable to disable the Zilean logging when value is set to OFF; Default is ON πŸ“

Version [5.0.1] - 2024-09-06 πŸš€

Fixed πŸ› οΈ

  • Issue #47 Error when RCLONE_LOG_LEVEL is not enabled πŸ›

Version [5.0.0] - 2024-09-05 πŸš€

Breaking Changes ⚠️

  • PostgreSQL: The default database user has been changed from postgres to DMB πŸ“‰ - Please delete the existing PostgreSQL data directory before starting the new version of DMB πŸ—‘οΈ

Added ✨

  • FRONTEND_LOGS: Environment variable to disable the Riven frontend logging when value is set to OFF; Default is ON πŸ“
  • BACKEND_LOGS: Environment variable to disable the Riven backend logging when value is set to OFF; Default is ON πŸ“
  • Riven: Added shutdown for Riven backend and frontend processes πŸ›‘

Fixed πŸ› οΈ

  • Issue #44 Add graceful shutdown for Riven frontend and backend ✨
  • Issue #45 Fix permissions for npm_install πŸ›
  • Issue #46 Zurg config.yml not chown'd to the correct user πŸ›
  • PostgreSQL: Fixed permissions for PostgreSQL πŸ› - Thanks @Unlearned6688 πŸ™
  • Zurg: Fixed automatic updates for Zurg nightly builds πŸ›

Changed πŸ”„

  • Refactor: Refactored the use of ProcessHandler for consistent process management πŸ”„

Notes πŸ“

  • Add stop_grace_period: 60s to your compose file to allow for a 60 second grace period for all of the processes to shutdown before the container is stopped πŸ›‘
  • Issue #43 Node issue when setting Riven frontend version πŸ› has not been resolved in this release 🚨, so please ensure to only use Riven frontend version that is built into the image - No automatic update / branch / version πŸ“¦
  • There may be an issue with the Riven frontend when trying to access settings; the logs will show TypeError: Cannot read properties of undefined (reading 'enabled') when trying to access settings - this is a known issue and you will need to delete the riven settings.json 🚨

Version [4.1.0] - 2024-08-29 πŸš€

Added ✨

  • RCLONE_LOGS: Environment variable to disable the rclone process logging when value is set to OFF; Default is ON πŸ“
  • RCLONE_DIR: Environment variable to set the rclone directory; Default is /data πŸ“

Fixed πŸ› οΈ

  • Issue #36 Setting RCLONE_LOG_LEVEL=OFF causes the rclone process to fail πŸ›
  • Issue #37 Error when PUID/PGID are set without values: PGID= πŸ›
  • Issue #38 Recursive chown of /data throws errors if the mount is still present πŸ›
  • Issue #39 Make rclone mount base path a variable - /data --> /user-defined ✨
  • Issue #41 Add healthcheck for PostgreSQL process ✨
  • Issue #42 Add clean shutdown for PostgreSQL server ✨

Version [4.0.0] - 2024-08-28 πŸš€

Breaking Changes ⚠️

  • Riven: Riven backend no longer supports sqlite as a database option; PostgreSQL is now the only supported database option πŸ“‰
  • PostgreSQL: To ensure the database files are persisted, a volume must be mounted to /postgres_data πŸ“‚

Added ✨

  • PUID & PGID: Environment variables to set the user and group IDs for the DMB container; Default is 1001 πŸ†”
  • POSTGRES_DATA: Environment variable to set the path for the PostgreSQL database files; Default is /postgres_data πŸ“
  • POSTGRES_PASSWORD: Environment variable to set the password for the PostgreSQL database; Default is postgres πŸ”
  • POSTGRES_USER: Environment variable to set the user for the PostgreSQL database; Default is postgres πŸ‘€
  • POSTGRES_DB: Environment variable to set the database name for the PostgreSQL database; Default is riven πŸ—„οΈ

Changed πŸ”„

  • Riven: Riven backend now uses PostgreSQL as the database option; Default is postgresql+psycopg2://postgres:[email protected]/riven πŸ”§
  • Riven: Riven frontend now uses PostgreSQL as the database option; Default is postgres://postgres:[email protected]/riven πŸ”„

Fixed πŸ› οΈ

  • Issue #8 Add support for PUID/GUID ✨
  • Issue #34 Add PostgreSQL option for Riven backend ✨
  • Issue #35 Riven frontend not properly connecting to the database πŸ›

Notes πŸ“πŸ“Œ

  • If the Riven backend shows errors related to the database or alembic, then the Riven data directory may need to be deleted before starting the new version of Riven w/ PostgreSQL πŸ—‘οΈ - backup your settings.json before deleting the data directory πŸ“‚

Version [3.5.0] - 2024-08-08 πŸš€

Added ✨

  • Suppress Logs: If the LOG_LEVEL for a process is set to OFF, then logs will be suppressed for the process 🀫
  • Riven Frontend: Added the latest version of the Riven frontend to the Dockerfile for image build πŸ“¦

Notes πŸ“

  • The DMB image is built nightly and will include the latest version of the Riven frontend at the time of build πŸŒ™

Version [3.4.0] - 2024-08-05 πŸš€

Fixed πŸ› οΈ

  • Issue #27 DATABASE_URL was not being set correctly for the Riven frontend πŸ›
  • healthcheck: Fixed healthcheck to properly check for Riven frontend setup completion 🩺

Changed πŸ”„

  • Riven setup: Refactored backend and frontend setup to use ProcessHandler for consistent logging πŸ”„

Added ✨

  • Issue #9 Obfuscate sensitive data in logs
  • Riven backend: UPDATERS_PLEX_ADDRESS linked to PLEX_ADDRESS πŸ”„
  • Riven backend: UPDATERS_PLEX_TOKEN linked to PLEX_TOKEN πŸ”„

Version [3.3.2] - 2024-08-03 πŸš€

Fixed πŸ› οΈ

  • Issue #27 Riven frontend needed a database connection to function properly πŸ›

Added ✨

  • RIVEN_DATABASE_URL: Environment variable to set the Riven frontend database URL; Default is sqlite:////riven/backend/data/media.db πŸ—ƒοΈ

Changed πŸ”„

  • GITHUB_TOKEN: Can be added to the environment variables to allow for repository downloads without rate limits πŸ”„

Version [3.3.1] - 2024-08-01 πŸš€

Fixed πŸ› οΈ

  • healthcheck: Reverted healthcheck, for now πŸ›

Version [3.3.0] - 2024-08-01 πŸš€

Fixed πŸ› οΈ

  • Issue #23 Processes not properly killed during automatic updates πŸ›
  • Issue #24 Riven automatic update extracts to wrong directory πŸ›
  • Issue #25 Automatic update initiates update check multiple times for each instance πŸ›
  • Issue #26 Riven Frontend breaking change requires DIALECT=sqlite env variable πŸ›

Added ✨

  • Automatic Update: Enabled automatic updates for Riven branches - expands automatic updates to include branches πŸ”„
  • RIVEN_FRONTEND_DIALECT: Environment variable to set the Riven frontend database dialect; Default is sqlite - not required to be set in default configuration πŸ—ƒοΈ
  • Riven Frontend: Set npm max_old_space_size to 2048MB for Riven frontend build process - limits resource usage πŸ“¦
  • Riven Frontend: Set vite minification to false for Riven frontend build process - speeds up build process and reduces resource usage πŸ“¦

Changed πŸ”„

  • healthcheck: Waits for Riven frontend setup to complete 🩺

Version [3.2.0] - 2024-07-30 πŸš€

Changed πŸ”„

  • Update process: Refactored update process to apply updates to Zurg and Riven before starting the processes πŸ”„
  • Zurg: Disabling plex_update.sh in config file has been disbaled, for now. Comment out the line in the config file to disable the Zurg based plex update process if desired πŸ”„

Added ✨

  • Zurg: Allow nightly release custom versions for ZURG_VERSION
  • Zurg: Add plex_update.sh from Zurg to working directory for Zurg use πŸ“¦

Fixed πŸ› οΈ

  • Logging: Fixed logging for Zurg to ensure log levels are properly set πŸ“

Version [3.1.0] - 2024-07-26 πŸš€

Added ✨

  • Shutdown: Added a shutdown function to gracefully stop the DMB container; e.g., unmount the rclone mounts πŸ›‘

Version [3.0.0] - 2024-07-26 πŸš€

Breaking Changes ⚠️

  • BACKEND_URL: Environment variable has been changed to RIVEN_BACKEND_URL to better reflect the environment variable's purpose; please update your compose file accordingly

Added ✨

  • Ratelimit for GitHub API requests ⏳
  • Retries for GitHub API requests πŸ”„

Fixed πŸ› οΈ

  • RIVEN_ENABLED: Environment variable has been fixed to correctly enable the Riven backend and frontend; Default is false 🀞
  • RIVEN_UPDATE: Environment variable has been fixed to correctly update the Riven backend and frontend; Default is false 🀞
  • RIVEN_BACKEND_UPDATE: Environment variable has been fixed to correctly update the Riven backend; Default is false 🀞
  • RIVEN_FRONTEND_UPDATE: Environment variable has been fixed to correctly update the Riven frontend; Default is false 🀞
  • RIVEN_DATABASE_HOST: Environment variable has been fixed to correctly set the Riven database host; Default is sqlite:////riven/backend/data/media.db πŸ—ƒοΈ
  • Issue #22 πŸ›

Notes πŸ“

  • BACKEND_URL has been changed to RIVEN_BACKEND_URL. The value is automatically set when the variable is not enabled. The default value is http://127.0.0.1:8080 🌐
  • RIVEN_DATABASE_HOST value is automatically set when the variable is not enabled. The default value is sqlite:////riven/backend/data/media.db πŸ—ƒοΈ

Version [2.0.0] - 2024-07-25

Breaking Changes

  • Riven: Directory structure has changed to allow for split riven instances - backend and frontend - please update your compose file volumes accordingly
  • RIVEN_BRANCH: Is now split into RIVEN_FRONTEND_BRANCH and RIVEN_BACKEND_BRANCH
  • RIVEN_ENABLED: Environment variable will enable the Riven backend and frontend without the need to set the RIVEN_FRONTEND_ENABLED and RIVEN_BACKEND_ENABLED variables
  • RIVEN_UPDATE: Environment variable to update the Riven backend and frontend; Default is false

Added

  • RIVEN_BACKEND_ENABLED: Environment variable to enable the Riven backend; Default is false
  • RIVEN_FRONTEND_ENABLED: Environment variable to enable the Riven frontend; Default is false
  • RIVEN_BACKEND_BRANCH: Environment variable to set the Riven backend branch; Default is main
  • RIVEN_FRONTEND_BRANCH: Environment variable to set the Riven frontend branch; Default is main
  • RIVEN_BACKEND_UPDATE: Environment variable to update the Riven backend; Default is false
  • RIVEN_FRONTEND_UPDATE: Environment variable to update the Riven frontend; Default is false
  • RIVEN_BACKEND_VERSION: Environment variable to set the Riven backend version; Default is latest
  • RIVEN_FRONTEND_VERSION: Environment variable to set the Riven frontend version; Default is latest
  • BACKEND_URL: Environment variable to set the Riven backend URL; Default is http://127.0.0.1:8080
  • RIVEN_DATABASE_HOST: Environment variable to set the Riven database host; Default is sqlite:////riven/backend/data/media.db
  • COLOR_LOG_ENABLED: Environment variable to enable color logging; Default is false
  • ffmpeg: Added ffmpeg to the Dockerfile for Zurg use of ffprobe to extract media information from files, enhancing media metadata accuracy.

Notes

  • Delete all Riven files and directories within the data directory before starting the new version of Riven!
  • Automatic updates for Riven backend and frontend are not funtioal yet; will be fixed in a follow-on release.
  • Other features may also not be functional yet; will be fixed in a follow-on release.
  • This release resolves Issue #19, Issue #20, and Issue #10

Version [1.2.0] - 2024-07-19

Added

  • Issue #18: Added DMB_LOG_SIZE environment variable to set the maximum size of the log file; Default is 10MB

Version [1.1.0] - 2024-07-17

Changed

  • Rclone: WebDAV URL check for Zurg startup processes accepts any 200 status code as a valid response
  • DMB: Refactored to use common functions under utils

Version [1.0.3] - 2024-07-16

Fixed

  • Rclone: Fixed WebDAV URL check for Zurg startup processes when Zurg user and password are set in config.yml

Version [1.0.2] - 2024-07-16

Fixed

  • Zurg: Fixed the removal of Zurg user and password if previously set in config.yml

Version [1.0.1] - 2024-07-16

Fixed

  • DMB: Introduced a Riven startup check for the symlinked directory to ensure the Zurg startup processes have finished before starting Riven
  • DMB: Introduced a Rclone startup check for the Zurg WebDAV URL to ensure the Zurg startup processes have finished before starting Rclone

Version [1.0.0] - 2024-06-25

Breaking Changes

  • DMB: Updated PDZURG_LOG_LEVEL to DMB_LOG_LEVEL
  • DMB: Updated PDZURG_LOG_COUNT to DMB_LOG_COUNT

Changed

  • Issue #5: Added initial sleep time to allow for services to start
  • Issue #6: Disabled Zurg plex_update.sh - not needed
  • Issue #7: Cleanup Riven logging

Added

  • Issue #1: All Riven settings now assignable with environment variables
  • Riven: RIVEN_LOG_LEVEL environment variable - Riven log level is only configurable to DEBUG or INFO; Default is INFO

Removed

  • Issue #3: Removed Jellyfin environment variables
  • Issue #2: Removed PLEX_REFRESH environment variable

Version [0.2.0] - 2024-06-22

Added

  • Zurg: GITHUB_TOKEN environment variable to use for access to the private sponsored zurg repository

Removed

  • Zurg: PLEX_REFRESH environment variable
  • Zurg: PLEX_MOUNT environment variable

Version [0.1.0] - 2024-06-22

Added

  • Riven: RIVEN_BRANCH environment variable to select the branch to use for the riven repository

Fixed

  • rclone: Fixed rclone process w/ Riven
  • Healthcheck: Fixed healthcheck process w/ Riven

Version [0.0.1] - 2024-06-21

Added

  • Initial Push