{"action":"created","issue":{"url":"https://api.github.com/repos/iiab/iiab/issues/814","repository_url":"https://api.github.com/repos/iiab/iiab","labels_url":"https://api.github.com/repos/iiab/iiab/issues/814/labels{/name}","comments_url":"https://api.github.com/repos/iiab/iiab/issues/814/comments","events_url":"https://api.github.com/repos/iiab/iiab/issues/814/events","html_url":"https://github.com/iiab/iiab/pull/814","id":325507617,"number":814,"title":"Sugarizer v1.0 migration","user":{"login":"georgejhunt","id":1914908,"avatar_url":"https://avatars2.githubusercontent.com/u/1914908?v=4","gravatar_id":"","url":"https://api.github.com/users/georgejhunt","html_url":"https://github.com/georgejhunt","followers_url":"https://api.github.com/users/georgejhunt/followers","following_url":"https://api.github.com/users/georgejhunt/following{/other_user}","gists_url":"https://api.github.com/users/georgejhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/georgejhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgejhunt/subscriptions","organizations_url":"https://api.github.com/users/georgejhunt/orgs","repos_url":"https://api.github.com/users/georgejhunt/repos","events_url":"https://api.github.com/users/georgejhunt/events{/privacy}","received_events_url":"https://api.github.com/users/georgejhunt/received_events","type":"User","site_admin":false},"labels":[{"id":614833250,"url":"https://api.github.com/repos/iiab/iiab/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/iiab/iiab/milestones/2","html_url":"https://github.com/iiab/iiab/milestone/2","labels_url":"https://api.github.com/repos/iiab/iiab/milestones/2/labels","id":2740788,"number":2,"title":"6.5","description":"<a href=http://wiki.iiab.io/6.5>Internet-in-a-Box (IIAB) 6.5</a> is built off the strength & compactness of <a href=http://wiki.iiab.io/6.4>IIAB 6.4</a>, but more approachable by developers and implementers!  Our professional community volunteers are excited to deliver this point-release in service of DIY digital libraries around the world in May 2018.  Download/install a pre-release today @ <a href=http://download.iiab.io/6.5>download.iiab.io/6.5</a>","creator":{"login":"holta","id":2458907,"avatar_url":"https://avatars1.githubusercontent.com/u/2458907?v=4","gravatar_id":"","url":"https://api.github.com/users/holta","html_url":"https://github.com/holta","followers_url":"https://api.github.com/users/holta/followers","following_url":"https://api.github.com/users/holta/following{/other_user}","gists_url":"https://api.github.com/users/holta/gists{/gist_id}","starred_url":"https://api.github.com/users/holta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holta/subscriptions","organizations_url":"https://api.github.com/users/holta/orgs","repos_url":"https://api.github.com/users/holta/repos","events_url":"https://api.github.com/users/holta/events{/privacy}","received_events_url":"https://api.github.com/users/holta/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":414,"state":"open","created_at":"2017-09-02T15:20:48Z","updated_at":"2018-05-23T01:23:20Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2018-05-23T00:25:53Z","updated_at":"2018-05-24T00:07:30Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/iiab/iiab/pulls/814","html_url":"https://github.com/iiab/iiab/pull/814","diff_url":"https://github.com/iiab/iiab/pull/814.diff","patch_url":"https://github.com/iiab/iiab/pull/814.patch"},"body":"### Description of changes proposed in this pull request.\r\nThis PR upgrades to the most recent sugarizer\r\n\r\n### Smoke-tested in operating system.\r\n2018-04-18 stretch lite. \r\n\r\nKnown issues: the proxy from apache /sugarizer to localhost:8089 does not work. But then the kiwix, and kalite proxies do not work either.  I remember that I had them working once. But I've lost the magic sauce.\r\n\r\nTim's menu system goes directly to the desired port, so maybe it does not matter."},"comment":{"url":"https://api.github.com/repos/iiab/iiab/issues/comments/391542413","html_url":"https://github.com/iiab/iiab/pull/814#issuecomment-391542413","issue_url":"https://api.github.com/repos/iiab/iiab/issues/814","id":391542413,"user":{"login":"georgejhunt","id":1914908,"avatar_url":"https://avatars2.githubusercontent.com/u/1914908?v=4","gravatar_id":"","url":"https://api.github.com/users/georgejhunt","html_url":"https://github.com/georgejhunt","followers_url":"https://api.github.com/users/georgejhunt/followers","following_url":"https://api.github.com/users/georgejhunt/following{/other_user}","gists_url":"https://api.github.com/users/georgejhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/georgejhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgejhunt/subscriptions","organizations_url":"https://api.github.com/users/georgejhunt/orgs","repos_url":"https://api.github.com/users/georgejhunt/repos","events_url":"https://api.github.com/users/georgejhunt/events{/privacy}","received_events_url":"https://api.github.com/users/georgejhunt/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T00:07:29Z","updated_at":"2018-05-24T00:07:29Z","author_association":"CONTRIBUTOR","body":"I wonder if not being able to read the collection might not just represent\nnot being able to connect to the database. I verified that port 27018 was\nopen via \"netstat -nat\".  Is there an alert to provide user feedback if the\ndatabase is not available?\n\nOn Wed, May 23, 2018 at 4:45 PM, George Hunt <georgejhunt@gmail.com> wrote:\n\n> I am having a difficult time reqlicating the failure Adam has on his\n> ugraded machine, with my own install from scratch.\n>\n> I deleted the mongodb files on both his and mine, and deleted the cookies\n> on my browser in each test. I was able to log in on my machine, and got the\n> following error when running the server from the command line on Adam's\n> machine (when clicking \"done\" on the log in)\n>\n> GET /icons/entry-cancel.svg 304 1.095 ms - -\n> GET /fonts/NotoEmoji.woff 304 1.039 ms - -\n> TypeError: Cannot read property 'find' of undefined\n>     at /opt/iiab/sugarizer-server-1.0/api/controller/users.js:237:14\n>     at Db.collection (/opt/iiab/sugarizer-server-1.\n> 0/node_modules/mongodb/lib/mongodb/db.js:526:27)\n>     at Object.exports.getAllUsers (/opt/iiab/sugarizer-server-1.\n> 0/api/controller/users.js:234:5)\n>     at Object.exports.addUser (/opt/iiab/sugarizer-server-1.\n> 0/api/controller/users.js:396:10)\n>     at exports.signup (/opt/iiab/sugarizer-server-1.\n> 0/api/controller/auth.js:150:8)\n>     at callbacks (/opt/iiab/sugarizer-server-1.0/node_modules/express/lib/\n> router/index.js:164:37)\n>     at param (/opt/iiab/sugarizer-server-1.0/node_modules/express/lib/\n> router/index.js:138:11)\n>     at pass (/opt/iiab/sugarizer-server-1.0/node_modules/express/lib/\n> router/index.js:145:5)\n>     at Router._dispatch (/opt/iiab/sugarizer-server-1.\n> 0/node_modules/express/lib/router/index.js:173:5)\n>     at Object.router [as handle] (/opt/iiab/sugarizer-server-1.\n> 0/node_modules/express/lib/router/index.js:33:10)\n> POST /auth/signup/?0.41181664564493636 500 6.476 ms - 1135\n>\n> The error appears to be at line 237 of api/controlers/users.js:\n> //get all users\n> exports.getAllUsers = function(query, options, callback) {\n>\n>         //get data\n>         db.collection(usersCollection, function(err, collection) {\n>\n>                 //get users\n>                 collection.find(query, function(err, users) { <line 237>\n>\n>                         //skip sort limit\n>\n> there are some collections in the database\n> drwxr-xr-x 4 mongodb  root     4096 May 23 19:32 ./\n> drwxr-xr-x 4 www-data root     4096 May 23 13:00 ../\n> -rw------- 1 mongodb  mongodb 16384 May 23 19:31 collection-0--\n> 5831777489380373074.wt\n> -rw------- 1 mongodb  mongodb 32768 May 23 19:32 collection-2--\n> 5831777489380373074.wt\n> -rw------- 1 mongodb  mongodb  4096 May 23 19:31 collection-4--\n> 5831777489380373074.wt\n> drwx------ 2 mongodb  mongodb  4096 May 23 19:39 diagnostic.data/\n> -rw------- 1 mongodb  mongodb 16384 May 23 19:31\n> index-1--5831777489380373074.wt\n> -rw------- 1 mongodb  mongodb 32768 May 23 19:32\n> index-3--5831777489380373074.wt\n>\n>\n>\n> On Wed, May 23, 2018 at 2:58 PM, A Holt <notifications@github.com> wrote:\n>\n>> I need to reboot 10.8.0.10\n>>\n>> Feel free, Thanks!\n>>\n>> —\n>> You are receiving this because you were mentioned.\n>> Reply to this email directly, view it on GitHub\n>> <https://github.com/iiab/iiab/pull/814#issuecomment-391509797>, or mute\n>> the thread\n>> <https://github.com/notifications/unsubscribe-auth/AB04HDXgaF38VgKyTYm3az2iI4c1RpLZks5t1dt_gaJpZM4UJljI>\n>> .\n>>\n>\n>\n"}}
{"actor":{"display_login":"georgejhunt"}}