Error: "Please rename transcoding.webtorrent.enabled key to transcoding.web_videos.enabled in your configuration file"
Author: albjeremiasCreated Sep 23, 2026Updated Sep 28, 2026
LabelsStatus: Waiting for answer
Describe the current behavior
Hei,
I've been upgrading from major version to major version.. but it seems that the last versions after I boot the first time, it always changes the file: local-production.json from webtorrent to web_videos
when this happens then it won't start peertube and it gives this
error: Config error. {
peertube-1 | "err": {
peertube-1 | "stack": "Error: Please rename transcoding.webtorrent.enabled key to transcoding.web_videos.enabled in your configuration file\n at checkRemovedConfigKeys (file:///app/dist/core/initializers/checker-after-init.js:86:19)\n at checkConfig (file:///app/dist/core/initializers/checker-after-init.js:32:5)\n at file:///app/dist/server.js:29:5",
peertube-1 | "message": "Please rename transcoding.webtorrent.enabled key to transcoding.web_videos.enabled in your configuration file"
peertube-1 | }
here is a diff after first reboot.
$ diff local-production.json local-production.json.orig
130c130
< "web_videos": {
---
> "webtorrent": {
Steps to reproduce
(upgrade from an old version, upgrading only major versions)
- docker compose down
- docker compose up -d
Describe the expected behavior
I expect that the local-production.json file has the correct key, which is "webtorrent" or else peertube wont start
Additional information
- PeerTube instance (found in https://instanceURL/about/instance/tech):
- URL:
- Version: v8.3.0-trixie (docker)
Source: Chocobozzz/PeerTube