mxc
April 7, 2023, 10:25am
1
Hi all,
I recently upgraded to 5.1.0. I want to publish a video but the channel drop-down in empty. I get a message
" Some of your channels are not fully set up. Make them welcoming and explicit about what you publish by adding a banner , an avatar and a description ."
I have updated the channels with a description, avatar and banner but still, the drop-down is empty. Do I need to run something to get this to work and the message to go away?
1 Like
This is weird. You should be able to publish even if channels are not fully configured.
Have you plugins on your instance? Maybe one of them is not compatible with v5.1.0?
Have you errors on the server?
In your browser console when you open the publish page? (press F12, then go to the «console» tab).
mxc
April 7, 2023, 11:40am
3
Thanks for the response. I am not using any plugins. The web console shows the following:
ERROR TypeError: e.Z(...) is undefined
d channel.ts:43
p channel.ts:28
p channel.ts:24
RxJS 13
next auth.service.ts:255
RxJS 20
Angular 17
RxJS 49
refreshUserInformation auth.service.ts:251
ngOnInit app.component.ts:100
Angular 22
core.mjs:8506:22
mxc
April 7, 2023, 11:43am
4
Here are some screenshots.
mxc
April 7, 2023, 11:44am
5
I get this error in the console on this page:
XHRPOSThttps://jumpingbean.tv/api/v1/videos/upload-resumable
[HTTP/2 400 Bad Request 194ms]
POST
https://jumpingbean.tv/api/v1/videos/upload-resumable
Status
400
Bad Request
VersionHTTP/2
Transferred857 B (389 B size)
Referrer Policystrict-origin-when-cross-origin
access-control-allow-credentials
true
access-control-allow-origin
*
access-control-expose-headers
Retry-After
content-length
389
content-type
application/problem+json; charset=utf-8
date
Fri, 07 Apr 2023 11:45:21 GMT
etag
W/"185-gQX8+wPG+N9CNUhQvbtm/WprKBM"
server
nginx
tk
N
X-Firefox-Spdy
h2
x-frame-options
DENY
x-powered-by
PeerTube
x-ratelimit-limit
50
x-ratelimit-remaining
47
x-ratelimit-reset
1680867925
Accept
*/*
Accept-Encoding
gzip, deflate, br
Accept-Language
en-GB,en;q=0.5
Authorization
Bearer 67ab
Connection
keep-alive
Content-Length
1033
Content-Type
multipart/form-data; boundary=---------------------------135638823326619164903847861548
DNT
1
Host
jumpingbean.tv
Origin
https://jumpingbean.tv
Referer
https://jumpingbean.tv/videos/upload
Sec-Fetch-Dest
empty
Sec-Fetch-Mode
cors
Sec-Fetch-Site
same-origin
Sec-GPC
1
TE
trailers
User-Agent
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
X-Upload-Content-Length
62717320
X-Upload-Content-Type
video/mp4
mxc
April 7, 2023, 6:30pm
6
If I try edit an existing video I get the following errors on the console:
ERROR TypeError: e.Z(...) is undefined
d channel.ts:43
p channel.ts:28
p channel.ts:24
RxJS 30
ngOnInit video-send.ts:42
ngOnInit video-upload.component.ts:85
Angular 17
ngAfterContentInit ng-bootstrap.mjs:7390
Angular 24
RxJS 6
Angular 8
core.mjs:8506:22
ERROR Error: Uncaught (in promise): TypeError: e.Z(...) is undefined
d@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:216220
p/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:216136
p/<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:216066
h/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:642843
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
p/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:648091
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
p/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:646431
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
_subscribe@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:625583
_trySubscribe@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624356
_trySubscribe@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:627097
subscribe/<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624301
h@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:655320
subscribe@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624211
p/<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:646396
h/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:657037
subscribe/<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624263
h@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:655320
subscribe@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624211
p/<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:648060
h/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:657037
subscribe/<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624263
h@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:655320
subscribe@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624211
h/<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:642810
h/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:657037
subscribe/<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624263
h@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:655320
subscribe@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624211
v/k<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:634394
_trySubscribe@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624356
subscribe/<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624301
h@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:655320
subscribe@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:624211
p/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:646161
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
_next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628886
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
h/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:642836
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
p/</</l<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:646188
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
h/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:642836
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
h/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:642836
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
h/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:642279
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
z/<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:643562
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
d/</<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:647013
h/this._next<@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:639465
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
_next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628886
next@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:628579
nt@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:763833
invokeTask@https://jumpingbean.tv/client/en-US/polyfills.0532020c31aa9a62.js:1:36388
onInvokeTask@https://jumpingbean.tv/client/en-US/main.6feb00aeda3fe6ea.js:3:874059
invokeTask@https://jumpingbean.tv/client/en-US/polyfills.0532020c31aa9a62.js:1:36309
runTask@https://jumpingbean.tv/client/en-US/polyfills.0532020c31aa9a62.js:1:31696
invokeTask@https://jumpingbean.tv/client/en-US/polyfills.0532020c31aa9a62.js:1:37447
T@https://jumpingbean.tv/client/en-US/polyfills.0532020c31aa9a62.js:1:50195
F@https://jumpingbean.tv/client/en-US/polyfills.0532020c31aa9a62.js:1:50620
Y@https://jumpingbean.tv/client/en-US/polyfills.0532020c31aa9a62.js:1:50793
Angular 12
core.mjs:8506:22
Angular 2
RxJS 6
Angular 14
mxc
April 8, 2023, 5:19am
7
Don’t know if this means anything but checking the « videoChannel » table in postgres shows that id 1 with name « Main root channel » has empty fields whilst the other rows for the created channels are populated. On the web GUI there is no « Main root channel » displayed to edit.
Sorry, I don’t know enough Peertube’s code to answer your questions. It seems to be a bug. If you have a github account, you can open an issue here: Issues · Chocobozzz/PeerTube · GitHub
mxc
April 8, 2023, 6:28am
9
I have added an issue. Thanks for your help.
opened 06:27AM - 08 Apr 23 UTC
### Describe the current behavior
I upgraded my instance to 5.1.0. When I went … to publish a new video I got a message:
" Some of your channels are not fully set up. Make them welcoming and explicit about what you publish by adding a banner, an avatar and a description."
I edited the channels as directed. When I click the "Publish" button I am taken to the publish screen but the drop-down for channel selection is empty. If I upload a video I am taken to the metadata screen where an error is shown:
"Incorrect request paramerters: channelled"
The following is from the peertube log file:
```
Apr 08 06:21:04 web14.cyberwebhosting.co.za peertube[126521]: [jumpingbean.tv:443] 2023-04-08 06:21:04.204 info: 165.255.0.0 - - [08/Apr/2023:06:21:04 +0000] "GET /api/v1/users/me/video-quota-used HTTP/1.0" 304 - "https://jumpingbean.tv/videos/upload" "Firefox"
Apr 08 06:21:04 web14.cyberwebhosting.co.za peertube[126521]: [jumpingbean.tv:443] 2023-04-08 06:21:04.208 info: 165.255.0.0 - - [08/Apr/2023:06:21:04 +0000] "GET /api/v1/config/about HTTP/1.0" 304 - "https://jumpingbean.tv/videos/upload" "Firefox"
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: [jumpingbean.tv:443] 2023-04-08 06:21:08.968 warn: Incorrect request parameters {
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: "path": "/api/v1/videos/upload-resumable",
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: "err": {
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: "channelId": {
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: "msg": "Invalid value",
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: "param": "channelId",
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: "location": "body"
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: }
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: }
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: }
Apr 08 06:21:08 web14.cyberwebhosting.co.za peertube[126521]: [jumpingbean.tv:443] 2023-04-08 06:21:08.972 info: 165.255.0.0 - - [08/Apr/2023:06:21:08 +0000] "POST /api/v1/videos/upload-resumable HTTP/1.0" 400 389 "https://jumpingbean.tv/videos/upload" "Firefox"
Apr 08 06:21:09 web14.cyberwebhosting.co.za peertube[126521]: [jumpingbean.tv:443] 2023-04-08 06:21:09.221 error: Client log: Upload failed: Incorrect request parameters: channelId {
Apr 08 06:21:09 web14.cyberwebhosting.co.za peertube[126521]: "username": "abc",
Apr 08 06:21:09 web14.cyberwebhosting.co.za peertube[126521]: "userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0",
Apr 08 06:21:09 web14.cyberwebhosting.co.za peertube[126521]: "url": "https://jumpingbean.tv/videos/upload#upload"
Apr 08 06:21:09 web14.cyberwebhosting.co.za peertube[126521]: }
Apr 08 06:21:09 web14.cyberwebhosting.co.za peertube[126521]: [jumpingbean.tv:443] 2023-04-08 06:21:09.224 info: 165.255.0.0 - - [08/Apr/2023:06:21:09 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://jumpingbean.tv/videos/upload" "Firefox"
```
The following is from the browser console on the meta-data page:
```
ERROR TypeError: e.Z(...) is undefined
d channel.ts:43
p channel.ts:28
p channel.ts:24
RxJS 30
ngOnInit video-send.ts:42
ngOnInit video-upload.component.ts:85
Angular 17
ngAfterContentInit ng-bootstrap.mjs:7390
Angular 24
RxJS 6
Angular 8
core.mjs:8506:22
```
```
ERROR TypeError: t is undefined
trackChannelChange video-edit.component.ts:443
RxJS 9
Angular 6
closeFirstStep video-upload.component.ts:322
onUploadVideoOngoing video-upload.component.ts:172
uploadServiceSubscription video-upload.component.ts:94
RxJS 6
stateChange ngx-uploadx.js:749
Angular 5
stateChange ngx-uploadx.js:749
set status ngx-uploadx.js:401
addUploaderInstance ngx-uploadx.js:847
dt tslib.es6.js:118
Angular 14
core.mjs:8506:22
Angular 2
RxJS 6
Angular 11
```
The following is from the "Upload" page
```
ERROR TypeError: e.Z(...) is undefined
d channel.ts:43
p channel.ts:28
p channel.ts:24
RxJS 30
ngOnInit video-send.ts:42
ngOnInit video-upload.component.ts:85
Angular 17
ngAfterContentInit ng-bootstrap.mjs:7390
Angular 24
RxJS 6
Angular 12
core.mjs:8506:22
```
### Steps to reproduce
1. Click on Publish
2. Select a file to upload
3.
### Describe the expected behavior
I expect the drop-down list for channel selection on the upload page to be populated.
When taken to the metadata page I expect the video to start uploading
### Additional information
* PeerTube instance:
* URL: jumpingbean.tv
* Version:
* NodeJS version:
* Ffmpeg version:
* Browser name, version and platforms on which you could reproduce the bug: Firefox
* Link to browser console log if relevant:
* Link to server log if relevant (`journalctl` or `/var/www/peertube/storage/logs/`):
mxc
April 11, 2023, 9:11pm
10
Fixed as per issue →
# Changelog
## v5.1.0
### IMPORTANT NOTES
* If your instance has signup enabled, user registration approval is automatically enabled by the default configuration of this release. You can change this setting in your `production.yaml` or in the configuration page in the web admin
* Update [web browsers support list](https://joinpeertube.org/faq#what-web-browsers-are-supported-by-peertube):
* Drop support of Safari 11 on iOS
* Drop support of Safari 11 on desktop
* Drop support of Firefox 68 on desktop
* Minimum recommended Redis version is 6.2. Version 6.0 should still work: see [this comment](https://github.com/Chocobozzz/PeerTube/issues/5659#issuecomment-1449607001) for more information
* Deprecate NodeJS 14: support will be removed in the next release (PeerTube 5.2)
### Maintenance
* [PeerTube OpenTelemetry](https://docs.joinpeertube.org/maintain/observability)
* Add BitTorrent tracker metrics
* Add ability to disable HTTP request duration metrics (can have a high tag cardinality)
* Add `x-powered-by` HTTP header in PeerTube response. Can be disabled in PeerTube configuration
This file has been truncated. show original
Had to rerun
Classic installation: cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-4.2.js
1 Like