{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/16928","labels_url":"https://api.github.com/repos/owncloud/core/issues/16928/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/16928/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/16928/events","html_url":"https://github.com/owncloud/core/issues/16928","id":88256551,"number":16928,"title":"Can't migrate encryption keys from cli","user":{"login":"redhell","id":391080,"avatar_url":"https://avatars.githubusercontent.com/u/391080?v=3","gravatar_id":"","url":"https://api.github.com/users/redhell","html_url":"https://github.com/redhell","followers_url":"https://api.github.com/users/redhell/followers","following_url":"https://api.github.com/users/redhell/following{/other_user}","gists_url":"https://api.github.com/users/redhell/gists{/gist_id}","starred_url":"https://api.github.com/users/redhell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhell/subscriptions","organizations_url":"https://api.github.com/users/redhell/orgs","repos_url":"https://api.github.com/users/redhell/repos","events_url":"https://api.github.com/users/redhell/events{/privacy}","received_events_url":"https://api.github.com/users/redhell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:encryption","name":"app:encryption","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":143,"created_at":"2015-06-14T22:12:44Z","updated_at":"2015-07-09T15:43:22Z","closed_at":null,"body":"Hi,\r\non my test installation i installed the newest master revision and activated the server side encryption module. (oC 8.1 latest master, php 5.6.10, mariaDB 10.0)\r\nIn my logs this warning rises:\r\nWarning\tno app in context\tInstallation is in transit between the old Encryption (ownCloud <= 8.0) and the new encryption. Please enable the \"Default encryption module\" and run 'occ encryption:migrate'\r\n\r\nI followed the warning:\r\nsudo -u USER /path/to/occ encryption:migrate\r\n\r\nThe cli got following output:\r\nReorganize system folder structure\r\nPHP Fatal error:  Call to a member function getRelativePath() on a non-object in /path/to/apps/files_trashbin/lib/storage.php on line 123\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/120041405","html_url":"https://github.com/owncloud/core/issues/16928#issuecomment-120041405","issue_url":"https://api.github.com/repos/owncloud/core/issues/16928","id":120041405,"user":{"login":"schiesbn","id":1589737,"avatar_url":"https://avatars.githubusercontent.com/u/1589737?v=3","gravatar_id":"","url":"https://api.github.com/users/schiesbn","html_url":"https://github.com/schiesbn","followers_url":"https://api.github.com/users/schiesbn/followers","following_url":"https://api.github.com/users/schiesbn/following{/other_user}","gists_url":"https://api.github.com/users/schiesbn/gists{/gist_id}","starred_url":"https://api.github.com/users/schiesbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiesbn/subscriptions","organizations_url":"https://api.github.com/users/schiesbn/orgs","repos_url":"https://api.github.com/users/schiesbn/repos","events_url":"https://api.github.com/users/schiesbn/events{/privacy}","received_events_url":"https://api.github.com/users/schiesbn/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T15:43:22Z","updated_at":"2015-07-09T15:43:22Z","body":"@mistersixt I don't talk about the administration page but about the \"default encryption module\"-app you can enable in the apps menu. Check ````./occ app:list```` this should list \"encryption\" as enabled, if not run ````./occ app:enable encryption```` and afterward ````./occ encryption:migrate````"}}