Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. PeerTube
  3. Purging db of removed accounts?

Purging db of removed accounts?

Scheduled Pinned Locked Moved PeerTube
3 Posts 2 Posters 549 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jordanurbsJ Offline
    jordanurbsJ Offline
    jordanurbs
    wrote on last edited by
    #1

    Using the Discourse SSO plug-in, which works great except that the same email/username can't be used again if the account was already deleted on PeerTube. Doesn't seem to affect Discourse in any way.

    Not a huge issue in the long run but something I would like to remedy right now, as I'm in need of that username...

    Any idea how I can use the CLI to take care of this?

    For what it's worth, the log error:

    
    warn[12/3/2020, 1:54:44 PM] Login error.
    
    {
      "err": {
        "statusCode": 400,
        "status": 400,
        "code": 400,
        "message": "Cannot create such user: an actor with that name already exists.",
        "name": "access_denied",
        "stack": "access_denied: Cannot create such user: an actor with that name already exists.\n    at new AccessDeniedError (/app/code/server/node_modules/oauth2-server/lib/errors/access-denied-error.js:25:14)\n    at Object.<anonymous> (/app/code/server/dist/server/lib/oauth-model.js:97:23)\n    at Generator.next (<anonymous>)\n    at fulfilled (/app/code/server/node_modules/tslib/tslib.js:111:62)"
      }
    }
    
    girishG 1 Reply Last reply
    0
    • jordanurbsJ jordanurbs

      Using the Discourse SSO plug-in, which works great except that the same email/username can't be used again if the account was already deleted on PeerTube. Doesn't seem to affect Discourse in any way.

      Not a huge issue in the long run but something I would like to remedy right now, as I'm in need of that username...

      Any idea how I can use the CLI to take care of this?

      For what it's worth, the log error:

      
      warn[12/3/2020, 1:54:44 PM] Login error.
      
      {
        "err": {
          "statusCode": 400,
          "status": 400,
          "code": 400,
          "message": "Cannot create such user: an actor with that name already exists.",
          "name": "access_denied",
          "stack": "access_denied: Cannot create such user: an actor with that name already exists.\n    at new AccessDeniedError (/app/code/server/node_modules/oauth2-server/lib/errors/access-denied-error.js:25:14)\n    at Object.<anonymous> (/app/code/server/dist/server/lib/oauth-model.js:97:23)\n    at Generator.next (<anonymous>)\n    at fulfilled (/app/code/server/node_modules/tslib/tslib.js:111:62)"
        }
      }
      
      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @jordanurbs I guess https://github.com/Chocobozzz/PeerTube/issues/1042 ? There seems to be SQL query in the end of that issue which solved the issue for some user. Also referenced from https://github.com/Chocobozzz/PeerTube/issues/1572 and https://github.com/Chocobozzz/PeerTube/issues/870

      jordanurbsJ 1 Reply Last reply
      0
      • girishG girish

        @jordanurbs I guess https://github.com/Chocobozzz/PeerTube/issues/1042 ? There seems to be SQL query in the end of that issue which solved the issue for some user. Also referenced from https://github.com/Chocobozzz/PeerTube/issues/1572 and https://github.com/Chocobozzz/PeerTube/issues/870

        jordanurbsJ Offline
        jordanurbsJ Offline
        jordanurbs
        wrote on last edited by
        #3

        @girish said in Purging db of removed accounts?:

        @jordanurbs I guess https://github.com/Chocobozzz/PeerTube/issues/1042 ? There seems to be SQL query in the end of that issue which solved the issue for some user. Also referenced from https://github.com/Chocobozzz/PeerTube/issues/1572 and https://github.com/Chocobozzz/PeerTube/issues/870

        Thanks @girish!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search