{"action":"created","issue":{"url":"https://api.github.com/repos/arangodb/arangodb/issues/1532","labels_url":"https://api.github.com/repos/arangodb/arangodb/issues/1532/labels{/name}","comments_url":"https://api.github.com/repos/arangodb/arangodb/issues/1532/comments","events_url":"https://api.github.com/repos/arangodb/arangodb/issues/1532/events","html_url":"https://github.com/arangodb/arangodb/issues/1532","id":111987806,"number":1532,"title":"users_users collection not found after arangorestore","user":{"login":"pekeler","id":42363,"avatar_url":"https://avatars.githubusercontent.com/u/42363?v=3","gravatar_id":"","url":"https://api.github.com/users/pekeler","html_url":"https://github.com/pekeler","followers_url":"https://api.github.com/users/pekeler/followers","following_url":"https://api.github.com/users/pekeler/following{/other_user}","gists_url":"https://api.github.com/users/pekeler/gists{/gist_id}","starred_url":"https://api.github.com/users/pekeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pekeler/subscriptions","organizations_url":"https://api.github.com/users/pekeler/orgs","repos_url":"https://api.github.com/users/pekeler/repos","events_url":"https://api.github.com/users/pekeler/events{/privacy}","received_events_url":"https://api.github.com/users/pekeler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-17T22:16:13Z","updated_at":"2015-10-19T13:09:06Z","closed_at":null,"body":"Using ArangoDB 2.6.8:\r\n\r\n1. make a backup of my production DB `arangodump --output-directory bu --server.database 'myapp' --include-system-collections true --server.disable-authentication false --server.password 'haha'`\r\n2. on my dev machine `arangorestore --input-directory bu --server.database 'myapp'`\r\n3. confirmed with Aardvark that the users_users collections has been restored correctly\r\n4. trying to log into my foxx app, I get an exception `ArangoError 1203: collection not found`\r\n5. restart arangod\r\n6. now logging in works just fine\r\n7. goto step 2 to repeat problem (i.e. restoring the exact same data that's already in the DB)\r\n\r\nThis problem seems to be limited to the users collection. If I log in prior to the restore, I can use the other functionality (which use different collections) just fine.\r\n\r\nRelevant trace:\r\n\r\n```\r\nERROR [ArangoError 1203: collection not found]\r\nERROR   at Error (native)\r\nERROR   at Repository._.extend.byId (/usr/local/Cellar/arangodb/2.6.8/share/arangodb/js/server/modules/org/arangodb/foxx/repository.js:223:32)\r\nERROR   at Object.getUser [as get] (./foxx/_db/myapp/users/APP/storage.js:70:18)\r\n```\r\n\r\nI've seen #1521 but this seems different because a simple restart helps.\r\n"},"comment":{"url":"https://api.github.com/repos/arangodb/arangodb/issues/comments/149208127","html_url":"https://github.com/arangodb/arangodb/issues/1532#issuecomment-149208127","issue_url":"https://api.github.com/repos/arangodb/arangodb/issues/1532","id":149208127,"user":{"login":"razvanphp","id":4599319,"avatar_url":"https://avatars.githubusercontent.com/u/4599319?v=3","gravatar_id":"","url":"https://api.github.com/users/razvanphp","html_url":"https://github.com/razvanphp","followers_url":"https://api.github.com/users/razvanphp/followers","following_url":"https://api.github.com/users/razvanphp/following{/other_user}","gists_url":"https://api.github.com/users/razvanphp/gists{/gist_id}","starred_url":"https://api.github.com/users/razvanphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razvanphp/subscriptions","organizations_url":"https://api.github.com/users/razvanphp/orgs","repos_url":"https://api.github.com/users/razvanphp/repos","events_url":"https://api.github.com/users/razvanphp/events{/privacy}","received_events_url":"https://api.github.com/users/razvanphp/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T13:09:06Z","updated_at":"2015-10-19T13:09:06Z","body":"I had this too, but in my case I could not login to Aardvark because `_sessions` collection was gone. After restart it was fine again."}}