Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot publish videos -> "Incorrect request paramerters: channelid" #5741

Closed
mxc opened this issue Apr 8, 2023 · 3 comments
Closed

Cannot publish videos -> "Incorrect request paramerters: channelid" #5741

mxc opened this issue Apr 8, 2023 · 3 comments
Labels
Status: Waiting for answer Waiting issue author answer

Comments

@mxc
Copy link

mxc commented Apr 8, 2023

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

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
Copy link
Author

mxc commented Apr 10, 2023

I just logged in as the root account and the channel drop-down is populated with the default root channel. The user I use to upload videos still has an empty channel drop-down. Not sure why as I am able to edit the channels.

@Chocobozzz
Copy link
Owner

Hello,

Did you run peertube-4.2.js script on peertube 4.2 upgrade? https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md#important-notes-7

@Chocobozzz Chocobozzz added the Status: Waiting for answer Waiting issue author answer label Apr 11, 2023
@mxc
Copy link
Author

mxc commented Apr 11, 2023

I though I had but I ran it again and it is all fixed now. Thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Waiting for answer Waiting issue author answer
Projects
None yet
Development

No branches or pull requests

2 participants