Tube Archivist logo

Tube Archivist

Self-hosted YouTube media server

Alternative to: youtube


About Versions (57)

v0.6.0

2026-10-25

Project Updates, Breaking changes

  • This release improves security by allowing Tube Archivist to run under a dedicated, non-root user, reducing the application’s privileges.
  • To support this, the bundled nginx server has been removed. All media and artwork are now served directly by the application.
  • There are breaking changes. Read the migration guide before updating.
  • If you are not yet ready, you can revert to v0.5.12 once you see the startup error, no state will have changed at that point.

Migration Guide

Container user and file ownership

  1. Remove HOST_UID and HOST_GID from your environment variables.
  2. To run Tube Archivist under a dedicated user, set user: "1000:1000" on the tubearchivist service in Docker Compose, replacing these values with your UID and GID. For other deployment options, consult the corresponding documentation for how to configure the container user.
  3. Before starting the container under that user, change ownership of the cache and media mountpoints, including their contents, to match.

For example, run these commands on the host, replacing the paths and UID/GID with your own:

sudo chown -R 1000:1000 /path/to/cache
sudo chown -R 1000:1000 /path/to/youtube

Setting a user is optional. Without it, the container continues to run as root. Tube Archivist no longer changes file ownership itself.

Container port

  • Remove TA_BACKEND_PORT if you have set it.
  • Use TA_PORT to override the container’s listening port. The default remains 8000.
  • If you change TA_PORT, update your Docker port mapping and any reverse proxy configuration to match.

Media URLs

Video, subtitle and artwork URLs have changed. If you use saved direct links, custom integrations or reverse proxy rules for these paths, update them to use the URLs returned by the API.

Upgrading from older releases

Update older installations to v0.5.12 and let startup complete before moving to v0.6.0. Migration steps for releases before v0.5.5 have been removed.

Elasticsearch

  • The Elasticsearch update path is from 8.19.0 to 9.5.5.
  • If you use bbilly1/tubearchivist-es, update it together with Tube Archivist.
  • If you use another Elasticsearch image and are still on an older 8.x version, update to 8.19.x first before moving to 9.x.

If you followed the previous Kibana instructions in CONTRIBUTING.md, you may see Error opening log file 'logs/gc.log': No such file or directory. Those instructions used an unnecessary Elasticsearch config volume mount:

  1. Stop the containers.
  2. Remove the config volume mount from your container configuration.
  3. Start the containers again.
  4. Recreate the Kibana token using the updated instructions in CONTRIBUTING.md.

Added

  • Added support for running the container under a dedicated user, by @bbilly1

Changed

  • Removed the bundled nginx server and moved media and artwork serving into the application, by @bbilly1
  • Changed playlist thumbnails to use the first video’s thumbnail when downloaded and available, for better image quality, by @bbilly1
  • Changed subtitle fetching to use yt-dlp’s request handling, by @bbilly1

Fixed

  • Fixed nginx access logs growing inside the container by removing nginx, by @bbilly1, #1202
  • Fixed unnecessary thumbnail requests and 404 errors for Fast Add items in the download queue, by @bbilly1, #1195
  • Fixed manual imports failing to fall back to local metadata when YouTube is unavailable or rejects the request, including private videos and bot detection errors, by @bbilly1, #1133
  • Fixed pagination errors near the 10,000-result limit with certain page sizes, by @bbilly1, #746
  • Fixed existing subtitles being lost when reindexing cannot fetch replacements, by @bbilly1
  • Fixed the final subtitle lines being omitted from search indexing, by @bbilly1
  • Fixed recognition of embedded MJPEG thumbnails during manual imports, by @bbilly1
  • Fixed subtitle URLs for Google Cast, by @bbilly1
  • Fixed ignored download items showing the wrong actions, by @Jurrer, #1218
  • Fixed snapshot settings taking effect when enabled or disabled, and respected the setting at startup. Disabling snapshots now deletes existing snapshots, by @bbilly1