{"action":"opened","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7729","labels_url":"https://api.github.com/repos/npm/npm/issues/7729/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7729/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7729/events","html_url":"https://github.com/npm/npm/issues/7729","id":64013574,"number":7729,"title":"Registry returned 500 for PUT while add owner","user":{"login":"huang47","id":157390,"avatar_url":"https://avatars.githubusercontent.com/u/157390?v=3","gravatar_id":"","url":"https://api.github.com/users/huang47","html_url":"https://github.com/huang47","followers_url":"https://api.github.com/users/huang47/followers","following_url":"https://api.github.com/users/huang47/following{/other_user}","gists_url":"https://api.github.com/users/huang47/gists{/gist_id}","starred_url":"https://api.github.com/users/huang47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huang47/subscriptions","organizations_url":"https://api.github.com/users/huang47/orgs","repos_url":"https://api.github.com/users/huang47/repos","events_url":"https://api.github.com/users/huang47/events{/privacy}","received_events_url":"https://api.github.com/users/huang47/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-24T14:40:26Z","updated_at":"2015-03-24T14:40:26Z","closed_at":null,"body":"```shell\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ 'node',\r\n1 verbose cli   '/Users/hhuang/.nvm/v0.10.35/bin/npm',\r\n1 verbose cli   'owner',\r\n1 verbose cli   'add',\r\n1 verbose cli   'jasoneriksen@yahoo.com',\r\n1 verbose cli   'html-truncate' ]\r\n2 info using npm@2.3.0\r\n3 info using node@v0.10.35\r\n4 verbose owner add jasoneriksen@yahoo.com to html-truncate\r\n5 silly mapToRegistry name -/user/org.couchdb.user:jasoneriksen@yahoo.com\r\n6 silly mapToRegistry using default registry\r\n7 silly mapToRegistry registry https://registry.npmjs.org/\r\n8 silly mapToRegistry uri https://registry.npmjs.org/-/user/org.couchdb.user:jasoneriksen@yahoo.com\r\n9 verbose request uri https://registry.npmjs.org/-/user/org.couchdb.user:jasoneriksen@yahoo.com\r\n10 verbose request new user, so can't send auth\r\n11 info attempt registry request try #1 at 22:36:34\r\n12 verbose request using bearer token for auth\r\n13 verbose request id 259bac778abc6dd0\r\n14 http request GET https://registry.npmjs.org/-/user/org.couchdb.user:jasoneriksen@yahoo.com\r\n15 http 200 https://registry.npmjs.org/-/user/org.couchdb.user:jasoneriksen@yahoo.com\r\n16 silly get cb [ 200,\r\n16 silly get   { date: 'Tue, 24 Mar 2015 14:36:36 GMT',\r\n16 silly get     server: 'Apache',\r\n16 silly get     'content-type': 'application/json',\r\n16 silly get     'cache-control': 'max-age=60',\r\n16 silly get     'content-length': '49',\r\n16 silly get     'accept-ranges': 'bytes',\r\n16 silly get     via: '1.1 varnish',\r\n16 silly get     'x-served-by': 'cache-hkg6822-HKG',\r\n16 silly get     'x-cache': 'MISS',\r\n16 silly get     'x-cache-hits': '0',\r\n16 silly get     'x-timer': 'S1427207796.084285,VS0,VE539',\r\n16 silly get     'keep-alive': 'timeout=10, max=50',\r\n16 silly get     connection: 'Keep-Alive' } ]\r\n17 silly mapToRegistry name html-truncate\r\n18 silly mapToRegistry using default registry\r\n19 silly mapToRegistry registry https://registry.npmjs.org/\r\n20 silly mapToRegistry uri https://registry.npmjs.org/html-truncate\r\n21 verbose request uri https://registry.npmjs.org/html-truncate\r\n22 verbose request no auth needed\r\n23 info attempt registry request try #1 at 22:36:36\r\n24 verbose request using bearer token for auth\r\n25 verbose etag \"71KSTOUHS0EOOUVUGSRXQNNNJ\"\r\n26 http request GET https://registry.npmjs.org/html-truncate\r\n27 http 304 https://registry.npmjs.org/html-truncate\r\n28 silly get cb [ 304,\r\n28 silly get   { date: 'Tue, 24 Mar 2015 14:36:37 GMT',\r\n28 silly get     server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',\r\n28 silly get     etag: '\"71KSTOUHS0EOOUVUGSRXQNNNJ\"',\r\n28 silly get     'cache-control': 'max-age=60',\r\n28 silly get     'accept-ranges': 'bytes',\r\n28 silly get     via: '1.1 varnish',\r\n28 silly get     'x-served-by': 'cache-hkg6825-HKG',\r\n28 silly get     'x-cache': 'MISS',\r\n28 silly get     'x-cache-hits': '0',\r\n28 silly get     'x-timer': 'S1427207796.927211,VS0,VE595',\r\n28 silly get     'content-length': '0',\r\n28 silly get     'keep-alive': 'timeout=10, max=50',\r\n28 silly get     connection: 'Keep-Alive' } ]\r\n29 verbose etag https://registry.npmjs.org/html-truncate from cache\r\n30 silly mapToRegistry name html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n31 silly mapToRegistry using default registry\r\n32 silly mapToRegistry registry https://registry.npmjs.org/\r\n33 silly mapToRegistry uri https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n34 verbose request uri https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n35 verbose request sending authorization for write operation\r\n36 info attempt registry request try #1 at 22:36:37\r\n37 verbose request using bearer token for auth\r\n38 http request PUT https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n39 http 500 https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n40 info retry will retry, error on last attempt: Error: Registry returned 500 for PUT on https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n41 info attempt registry request try #2 at 22:36:49\r\n42 verbose request using bearer token for auth\r\n43 http request PUT https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n44 http 500 https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n45 info retry will retry, error on last attempt: Error: Registry returned 500 for PUT on https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n46 info attempt registry request try #3 at 22:37:51\r\n47 verbose request using bearer token for auth\r\n48 http request PUT https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n49 http 500 https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n50 verbose headers { date: 'Tue, 24 Mar 2015 14:37:54 GMT',\r\n50 verbose headers   server: 'Apache',\r\n50 verbose headers   'content-type': 'application/json',\r\n50 verbose headers   'cache-control': 'max-age=0',\r\n50 verbose headers   'content-length': '17',\r\n50 verbose headers   'accept-ranges': 'bytes',\r\n50 verbose headers   via: '1.1 varnish',\r\n50 verbose headers   'x-served-by': 'cache-hkg6822-HKG',\r\n50 verbose headers   'x-cache': 'MISS',\r\n50 verbose headers   'x-cache-hits': '0',\r\n50 verbose headers   'x-timer': 'S1427207873.524374,VS0,VE773',\r\n50 verbose headers   connection: 'close' }\r\n51 verbose request invalidating /Users/hhuang/.npm/registry.npmjs.org/html-truncate on PUT\r\n52 error owner mutate Failed to update package metadata\r\n53 verbose stack Error: Registry returned 500 for PUT on https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n53 verbose stack     at CachingRegistryClient.<anonymous> (/Users/hhuang/.nvm/v0.10.35/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:244:14)\r\n53 verbose stack     at Request._callback (/Users/hhuang/.nvm/v0.10.35/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:178:14)\r\n53 verbose stack     at Request.self.callback (/Users/hhuang/.nvm/v0.10.35/lib/node_modules/npm/node_modules/request/request.js:373:22)\r\n53 verbose stack     at Request.emit (events.js:98:17)\r\n53 verbose stack     at Request.<anonymous> (/Users/hhuang/.nvm/v0.10.35/lib/node_modules/npm/node_modules/request/request.js:1318:14)\r\n53 verbose stack     at Request.emit (events.js:117:20)\r\n53 verbose stack     at IncomingMessage.<anonymous> (/Users/hhuang/.nvm/v0.10.35/lib/node_modules/npm/node_modules/request/request.js:1266:12)\r\n53 verbose stack     at IncomingMessage.emit (events.js:117:20)\r\n53 verbose stack     at _stream_readable.js:944:16\r\n53 verbose stack     at process._tickCallback (node.js:442:13)\r\n54 verbose statusCode 500\r\n55 verbose pkgid html-truncate\r\n56 verbose cwd /Users/hhuang/proj/nodejs-html-truncate\r\n57 error Darwin 14.3.0\r\n58 error argv \"node\" \"/Users/hhuang/.nvm/v0.10.35/bin/npm\" \"owner\" \"add\" \"jasoneriksen@yahoo.com\" \"html-truncate\"\r\n59 error node v0.10.35\r\n60 error npm  v2.3.0\r\n61 error code E500\r\n62 error Registry returned 500 for PUT on https://registry.npmjs.org/html-truncate/-rev/25-f13e86ef877b963a59d16b554949cc53\r\n63 error If you need help, you may report this error at:\r\n63 error     <http://github.com/npm/npm/issues>\r\n64 verbose exit [ 1, true ]\r\n```"}}