{"action":"created","issue":{"url":"https://api.github.com/repos/julianlam/nodebb-plugin-session-sharing/issues/45","repository_url":"https://api.github.com/repos/julianlam/nodebb-plugin-session-sharing","labels_url":"https://api.github.com/repos/julianlam/nodebb-plugin-session-sharing/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/julianlam/nodebb-plugin-session-sharing/issues/45/comments","events_url":"https://api.github.com/repos/julianlam/nodebb-plugin-session-sharing/issues/45/events","html_url":"https://github.com/julianlam/nodebb-plugin-session-sharing/issues/45","id":294898181,"number":45,"title":"Error encountered while parsing token: WRONGTYPE Operation against a key holding the wrong kind of value","user":{"login":"anemol","id":10926763,"avatar_url":"https://avatars3.githubusercontent.com/u/10926763?v=4","gravatar_id":"","url":"https://api.github.com/users/anemol","html_url":"https://github.com/anemol","followers_url":"https://api.github.com/users/anemol/followers","following_url":"https://api.github.com/users/anemol/following{/other_user}","gists_url":"https://api.github.com/users/anemol/gists{/gist_id}","starred_url":"https://api.github.com/users/anemol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anemol/subscriptions","organizations_url":"https://api.github.com/users/anemol/orgs","repos_url":"https://api.github.com/users/anemol/repos","events_url":"https://api.github.com/users/anemol/events{/privacy}","received_events_url":"https://api.github.com/users/anemol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-06T20:14:38Z","updated_at":"2018-02-06T21:09:04Z","closed_at":null,"author_association":"NONE","body":"\r\nI updated nodebb to the v1.7.4 and now the plugin doesn't work.\r\n\r\n\r\n```\r\n2018-02-06T20:08:34.483Z [2652] - warn: [session-sharing] Array expected for `groups` in JWT payload. Ignoring.\r\n2018-02-06T20:08:34.486Z [2652] - warn: [session-sharing] Error encountered while parsing token: WRONGTYPE Operation against a key holding the wrong kind of value\r\n2018-02-06T20:08:38.768Z [2652] - warn: [session-sharing] Array expected for `groups` in JWT payload. Ignoring.\r\n2018-02-06T20:08:38.769Z [2652] - warn: [session-sharing] Error encountered while parsing token: WRONGTYPE Operation against a key holding the wrong kind of value\r\n2018-02-06T20:08:39.990Z [2652] - warn: [session-sharing] Array expected for `groups` in JWT payload. Ignoring.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/julianlam/nodebb-plugin-session-sharing/issues/comments/363565196","html_url":"https://github.com/julianlam/nodebb-plugin-session-sharing/issues/45#issuecomment-363565196","issue_url":"https://api.github.com/repos/julianlam/nodebb-plugin-session-sharing/issues/45","id":363565196,"user":{"login":"julianlam","id":923011,"avatar_url":"https://avatars1.githubusercontent.com/u/923011?v=4","gravatar_id":"","url":"https://api.github.com/users/julianlam","html_url":"https://github.com/julianlam","followers_url":"https://api.github.com/users/julianlam/followers","following_url":"https://api.github.com/users/julianlam/following{/other_user}","gists_url":"https://api.github.com/users/julianlam/gists{/gist_id}","starred_url":"https://api.github.com/users/julianlam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianlam/subscriptions","organizations_url":"https://api.github.com/users/julianlam/orgs","repos_url":"https://api.github.com/users/julianlam/repos","events_url":"https://api.github.com/users/julianlam/events{/privacy}","received_events_url":"https://api.github.com/users/julianlam/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T21:09:04Z","updated_at":"2018-02-06T21:09:04Z","author_association":"OWNER","body":"It should be fine to remove `groups`. Can you do this for me?\r\n\r\n`zrem schemaLog session_sharing_hash_to_zset`\r\n\r\nThis should remove the logged upgrade for the session sharing plugin. Not sure why it did not upgrade properly for you.\r\n\r\nThen `./nodebb upgrade -s`, and let me know the output. One of the lines should read:\r\n\r\n`Convert remote-to-local user ID from hash to sorted set`"}}
{"actor":{"display_login":"julianlam"}}