Publish -> Channel drop down empty?

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 « J'aime »

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).

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

Here are some screenshots.

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

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

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

I have added an issue. Thanks for your help.

Fixed as per issue →

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 « J'aime »

thanks for the feedback!