Trying to import a whole YT channel via CLI
-
@girish tried the plugin but alas it doesn't work, maybe it's too old and/or doesn't work with LDAP and/or I'm doing something wrong....
I guess we have to wait for native support as you wrote earlier.
Tried with LDAP user:
May 12 21:27:53 [videos.domain.tv:443] 2022-05-12 19:27:53.656 info: Login success with auth method ldap of plugin peertube-plugin-auth-ldap for ***admin user ldap***. May 12 21:27:53 [videos.domain.tv:443] 2022-05-12 19:27:53.659 info: Bypassing oauth login by plugin peertube-plugin-auth-ldap. May 12 21:27:53 [videos.domain.tv:443] 2022-05-12 19:27:53.671 warn: Login error { May 12 21:27:53 "err": { May 12 21:27:53 "statusCode": 400, May 12 21:27:53 "status": 400, May 12 21:27:53 "code": 400, May 12 21:27:53 "message": "Invalid grant: user credentials are invalid", May 12 21:27:53 "name": "invalid_grant", May 12 21:27:53 "stack": "invalid_grant: Invalid grant: user credentials are invalid\n at new InvalidGrantError (/app/code/server/node_modules/oauth2-server/lib/errors/invalid-grant-error.js:27:14)\n at /app/code/server/dist/server/lib/auth/oauth.js:77:19\n at Generator.next (<anonymous>)\n at fulfilled (/app/code/server/node_modules/tslib/tslib.js:114:62)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)" May 12 21:27:53 } May 12 21:27:53 }
Tried with local admin:
May 12 21:28:42 [videos.domain.tv:443 peertube-plugin-auto-import-ytb] 2022-05-12 19:28:42.639 warn: Error during the credential validation : Error: Cannot get access Token : Bad Request May 12 21:29:14 [videos.domain.tv:443] 2022-05-12 19:29:14.003 info: 172.18.16.14 - - [12/May/2022:19:29:14 +0000] "GET /api/v1/oauth-clients/local HTTP/1.1" 200 99 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" May 12 21:29:14 [videos.domain.tv:443] 2022-05-12 19:29:14.015 info: 62.238.0.0 - - [12/May/2022:19:29:14 +0000] "PUT /api/v1/plugins/peertube-plugin-auto-import-ytb/settings HTTP/1.1" 204 - "https://videos.domain.tv/admin/plugins/show/peertube-plugin-auto-import-ytb" "Firefox" May 12 21:29:14 [videos.domain.tv:443 peertube-plugin-auth-ldap] 2022-05-12 19:29:14.119 warn: Cannot login ***local admin*** in LDAP plugin. { May 12 21:29:14 "err": "no such user: \"***local admin***\"" May 12 21:29:14 }
-
I can't get it to install but something totally weird is happening on my instance, since last month, since I the last time I came here, my instance is auto uploading the target channel I initially managed to configure but it does not make sense because the plugin is not installed...??.?
log file : https://paste.armada.digital/cageyixumu.md
I don't have any LDAP errors, I'm wondering if this is even related?
-
So, @jordanurbs @rmdes have either of you now successfully imported a YouTube channel into a Cloudron instance of PeerTube (either using CLI or a plugin)? If so, how did you do it? thanks!
-
@jdaviescoates Yes the plugin works just fine for me !
you can see it at work here : ukrainewararchive.eu/