{"action":"closed","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/7437","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/7437/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/7437/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/7437/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/7437","id":240997174,"number":7437,"title":"Administrative settings are not restored by MongoRestore ","user":{"login":"ml48603","id":17936105,"avatar_url":"https://avatars0.githubusercontent.com/u/17936105?v=4","gravatar_id":"","url":"https://api.github.com/users/ml48603","html_url":"https://github.com/ml48603","followers_url":"https://api.github.com/users/ml48603/followers","following_url":"https://api.github.com/users/ml48603/following{/other_user}","gists_url":"https://api.github.com/users/ml48603/gists{/gist_id}","starred_url":"https://api.github.com/users/ml48603/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ml48603/subscriptions","organizations_url":"https://api.github.com/users/ml48603/orgs","repos_url":"https://api.github.com/users/ml48603/repos","events_url":"https://api.github.com/users/ml48603/events{/privacy}","received_events_url":"https://api.github.com/users/ml48603/received_events","type":"User","site_admin":false},"labels":[{"id":470254342,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/deploy:%20snaps","name":"deploy: snaps","color":"eb6420","default":false},{"id":261733042,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20support","name":"type: support","color":"f7c6c7","default":false}],"state":"closed","locked":false,"assignee":{"login":"geekgonecrazy","id":51996,"avatar_url":"https://avatars0.githubusercontent.com/u/51996?v=4","gravatar_id":"","url":"https://api.github.com/users/geekgonecrazy","html_url":"https://github.com/geekgonecrazy","followers_url":"https://api.github.com/users/geekgonecrazy/followers","following_url":"https://api.github.com/users/geekgonecrazy/following{/other_user}","gists_url":"https://api.github.com/users/geekgonecrazy/gists{/gist_id}","starred_url":"https://api.github.com/users/geekgonecrazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekgonecrazy/subscriptions","organizations_url":"https://api.github.com/users/geekgonecrazy/orgs","repos_url":"https://api.github.com/users/geekgonecrazy/repos","events_url":"https://api.github.com/users/geekgonecrazy/events{/privacy}","received_events_url":"https://api.github.com/users/geekgonecrazy/received_events","type":"User","site_admin":false},"assignees":[{"login":"geekgonecrazy","id":51996,"avatar_url":"https://avatars0.githubusercontent.com/u/51996?v=4","gravatar_id":"","url":"https://api.github.com/users/geekgonecrazy","html_url":"https://github.com/geekgonecrazy","followers_url":"https://api.github.com/users/geekgonecrazy/followers","following_url":"https://api.github.com/users/geekgonecrazy/following{/other_user}","gists_url":"https://api.github.com/users/geekgonecrazy/gists{/gist_id}","starred_url":"https://api.github.com/users/geekgonecrazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekgonecrazy/subscriptions","organizations_url":"https://api.github.com/users/geekgonecrazy/orgs","repos_url":"https://api.github.com/users/geekgonecrazy/repos","events_url":"https://api.github.com/users/geekgonecrazy/events{/privacy}","received_events_url":"https://api.github.com/users/geekgonecrazy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2017-07-06T15:32:56Z","updated_at":"2018-03-29T07:10:50Z","closed_at":"2018-03-29T07:10:50Z","author_association":"NONE","body":"<!-- INSTRUCTION: Complete the information below from your Administration page -->\r\n\r\nRocket.Chat Version: 0.56.0\r\nRunning Instances: 1\r\nDB Replicaset OpLog: Enabled\r\nNode Version: SNAPS Build 671\r\n\r\nRC Server crashed on a Ubuntu 16.04.2 LTS x64 server installation and RC was completely reinstalled, including the SNAPS environment.  The procedures used are from RC Docs website:\r\nhttps://rocket.chat/docs/installation/manual-installation/ubuntu/snaps\r\n\r\nMongoDB Backup was performed with \r\n# snap run rocketchat-server.backupdb\r\n\r\nWhen the MongoDB was restored the Administrative settings were not written to the database.  MongoDB was restored with:\r\n# /snap/rocketchat-server/current/bin/mongorestore --db parties /var/snap/rocketchat-server/671/dump/parties/\r\n\r\nIs this because the Administrative settings were never backed up in the first place? Or because the mongorestore command did not include the correct switches to write the Administrative settings to the new MongoDB ?\r\n\r\nI read in the MongoDB reference document in the mongorestore section about the available command line switches.  I didn''t see anything here to cause Administrative settings to be overwritten in the virgin MongoDB installation.\r\nhttps://docs.mongodb.com/manual/reference/program/mongorestore/\r\n\r\n"}}
{"actor":{"display_login":"geekgonecrazy"}}