-
has anyone used peertube's cli tools i am trying to upload a plugin i made without having to publish it?
-
G girish moved this topic from Support on
-
For example:
root@b549741b-1e0e-4817-8261-57048ebe6fe9:/app/code/server# peertube plugins list --url https://peertube.smartserver.io --username root --password changeme ββββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββ β name β version β homepage β ββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββ€ β peertube-plugin-auth-ldap β 0.0.10 β https://framagit.org/framasoft/peertube/officiaβ¦ β ββββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββ -
For example:
root@b549741b-1e0e-4817-8261-57048ebe6fe9:/app/code/server# peertube plugins list --url https://peertube.smartserver.io --username root --password changeme ββββββββββββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββ β name β version β homepage β ββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββ€ β peertube-plugin-auth-ldap β 0.0.10 β https://framagit.org/framasoft/peertube/officiaβ¦ β ββββββββββββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββ -
@girish The above plugin listing works fine. I must be missing something with installing a plugin.
I have a plugin that I put in "storage/cappital/plugin-v1.0.0" via the file manager. I then run the command:peertube plugins install --path /app/data/storage/cappital/plugin-v1.0.0 --url https://peertube.myurl.com --username root --password changemeI get errors that it cannot install. Does this look right?
The first part of the errors.Cannot install plugin. Error: Expected status 200, got 400. The server responded: "Cannot install plugin /app/data/storage/cappital/plugin-v1.0.0". You may take a closer look at the logs. To see how to do so, check out this page: https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/development/tests.md#debug-server-logs at buildRequest (/app/code/cli/dist/shared/server-commands/requests/requests.js:148:16) at makePostBodyRequest (/app/code/cli/dist/shared/server-commands/requests/requests.js:77:12) at PluginsCommand.postBodyRequest (/app/code/cli/dist/shared/server-commands/shared/abstract-command.js:37:51) at PluginsCommand.install (/app/code/cli/dist/shared/server-commands/server/plugins-command.js:63:21) at /app/code/cli/dist/server/tools/peertube-plugins.js:95:34 at Generator.next (<anonymous>) at fulfilled (/app/code/cli/node_modules/tslib/tslib.js:164:62) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) ---- at /app/code/cli/dist/shared/server-commands/requests/requests.js:151:25 at /app/code/cli/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (/app/code/cli/node_modules/supertest/lib/test.js:285:13) at Test.assert (/app/code/cli/node_modules/supertest/lib/test.js:164:23) at localAssert (/app/code/cli/node_modules/supertest/lib/test.js:120:14) at /app/code/cli/node_modules/supertest/lib/test.js:125:7 at Request.callback (/app/code/cli/node_modules/superagent/lib/node/index.js:867:3) at /app/code/cli/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (/app/code/cli/node_modules/superagent/lib/node/parsers/json.js:21:7) at IncomingMessage.emit (node:events:525:35) {
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login
