PeerTube 8.2 - Web videos setting ignored, always re-enabled after restart
-
After upgrading PeerTube to 8.2 on Cloudron, the Web videos transcoding setting is being ignored.
I have Web videos disabled in Admin UI (only HLS enabled), but newly uploaded videos are still generated in both HLS and Web videos format.
It seems the upgrade to 8.2 overwrote
production.yamland setweb_videos: enabled: true. The value reverts back totrueafter every restart, even if I manually change it tofalse. The Admin UI setting doesn't seem to take effect either.Before the 8.2 update this worked correctly — only HLS was generated.
Anyone else experiencing this?

-
Hello @archos
The keyweb_videosexists in multiple places in theproduction.yaml.
In the Cloudron app thestart.shsets this at two places at every start:yq eval ".storage.web_videos = \"/app/data/storage/web-videos/\"" -i /app/data/production.yaml ... yq eval ".transcoding.web_videos.enabled = true" -i /app/data/production.yamlSo I would assume that you are writing about the
.transcoding.web_videos.enabledkey which is getting enabled by default on every app restart. -
Hello @archos
The keyweb_videosexists in multiple places in theproduction.yaml.
In the Cloudron app thestart.shsets this at two places at every start:yq eval ".storage.web_videos = \"/app/data/storage/web-videos/\"" -i /app/data/production.yaml ... yq eval ".transcoding.web_videos.enabled = true" -i /app/data/production.yamlSo I would assume that you are writing about the
.transcoding.web_videos.enabledkey which is getting enabled by default on every app restart.@james Yes, that's exactly the issue —
.transcoding.web_videos.enabledis being set totrueon every restart, overriding the Admin UI setting. Would it be possible to fixstart.shto respect the value stored in the database instead of hardcoding it totrue? -
Hello @archos
The keyweb_videosexists in multiple places in theproduction.yaml.
In the Cloudron app thestart.shsets this at two places at every start:yq eval ".storage.web_videos = \"/app/data/storage/web-videos/\"" -i /app/data/production.yaml ... yq eval ".transcoding.web_videos.enabled = true" -i /app/data/production.yamlSo I would assume that you are writing about the
.transcoding.web_videos.enabledkey which is getting enabled by default on every app restart.@james Sorry, perhaps we're misunderstanding each other.
After upgrading to PeerTube 8.2, newly uploaded videos started generating both HLS versions and Web Video versions. Before the upgrade, only HLS versions were generated.
Web Videos are disabled in the PeerTube Admin UI. The setting is also set to false in local-production.json.
While investigating, I noticed that after every application restart, /app/data/production.yaml contains:
transcoding:
web_videos:
enabled: trueIf I manually change this value to false, it is set back to true after a restart.
I'm not concerned about the configuration file being overwritten. I'm trying to determine the actual cause:
- Is this an intentional change in PeerTube 8.2?
- Is this a bug in the Cloudron PeerTube package?
- Or is this a bug in PeerTube 8.2 itself?
As far as I know, there is no other place where Web Videos can be disabled. The option is disabled in the PeerTube Admin UI, and local-production.json is also set to false. Nevertheless, new uploads are still transcoded into both HLS and Web Video formats.
This worked correctly up to PeerTube 8.1, where only HLS files were generated.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login