{"action":"created","issue":{"url":"https://api.github.com/repos/eHealthAfrica/move/issues/159","labels_url":"https://api.github.com/repos/eHealthAfrica/move/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/eHealthAfrica/move/issues/159/comments","events_url":"https://api.github.com/repos/eHealthAfrica/move/issues/159/events","html_url":"https://github.com/eHealthAfrica/move/issues/159","id":97025449,"number":159,"title":"Mysterious Move Database Self Destruct Mode","user":{"login":"jofomah","id":5929681,"avatar_url":"https://avatars.githubusercontent.com/u/5929681?v=3","gravatar_id":"","url":"https://api.github.com/users/jofomah","html_url":"https://github.com/jofomah","followers_url":"https://api.github.com/users/jofomah/followers","following_url":"https://api.github.com/users/jofomah/following{/other_user}","gists_url":"https://api.github.com/users/jofomah/gists{/gist_id}","starred_url":"https://api.github.com/users/jofomah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jofomah/subscriptions","organizations_url":"https://api.github.com/users/jofomah/orgs","repos_url":"https://api.github.com/users/jofomah/repos","events_url":"https://api.github.com/users/jofomah/events{/privacy}","received_events_url":"https://api.github.com/users/jofomah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eHealthAfrica/move/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eHealthAfrica/move/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/eHealthAfrica/move/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/eHealthAfrica/move/labels/to%20review","name":"to review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-24T10:50:18Z","updated_at":"2015-08-18T13:27:30Z","closed_at":null,"body":"@channel: Apparently, our Move app is in self destruct mode, from missing user accounts to, Facility document email being changed to wrong email address(which AFAIK is not being updated by any part of the app, should be read only, the document revisions showed this was updated several times after it was created), prompting some users for password even after they have been configured, recently we noticed that 20+ facilities were not configured during the training that is our assumption though these facilities have user accounts but they don't have app configs\r\n\r\nYesterday, a facility app config product profile was set to empty array, hence the facility couldn't send in stock count, when i checked the app config, it showed the facility was activated on 13th July, a week after the training and these facilities were all setup setup before 13th July, my guess, the original app config was deleted, and the app config was reconfigured on 13th July. but maybe that explains the missing product profiles, which is preset by default and can't be empty unless deselected and the users have to tap five times on the app config to enable deselection etc\r\n\r\nlong story short, Norbert please could you help us pull the database server logs from 6th July, 2015\r\n\r\nmaybe we can find a pattern, or understand what the root cause of these could be, like was the 26 facilities configured and then accidentally deleted? was the facility app config updated or recreated on 13th July? maybe the IP address of the request etc (edited)\r\n\r\nanything that can help on identifying the possible bug or whatever it is that messes with the user access, user accounts, deletion and making unwanted updates to the database. (edited)\r\n\r\nalso, Justin maybe we need to deploy Couch Changes Saver for LoMIS database"},"comment":{"url":"https://api.github.com/repos/eHealthAfrica/move/issues/comments/132204692","html_url":"https://github.com/eHealthAfrica/move/issues/159#issuecomment-132204692","issue_url":"https://api.github.com/repos/eHealthAfrica/move/issues/159","id":132204692,"user":{"login":"jofomah","id":5929681,"avatar_url":"https://avatars.githubusercontent.com/u/5929681?v=3","gravatar_id":"","url":"https://api.github.com/users/jofomah","html_url":"https://github.com/jofomah","followers_url":"https://api.github.com/users/jofomah/followers","following_url":"https://api.github.com/users/jofomah/following{/other_user}","gists_url":"https://api.github.com/users/jofomah/gists{/gist_id}","starred_url":"https://api.github.com/users/jofomah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jofomah/subscriptions","organizations_url":"https://api.github.com/users/jofomah/orgs","repos_url":"https://api.github.com/users/jofomah/repos","events_url":"https://api.github.com/users/jofomah/events{/privacy}","received_events_url":"https://api.github.com/users/jofomah/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T13:27:30Z","updated_at":"2015-08-18T13:27:30Z","body":"i will say Yes, it wasn't due to the mobile app, more of a process thing.\n"}}