{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17547","labels_url":"https://api.github.com/repos/owncloud/core/issues/17547/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17547/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17547/events","html_url":"https://github.com/owncloud/core/issues/17547","id":94170683,"number":17547,"title":"Restarting aborted file encryption migration fails","user":{"login":"underflyer","id":7236938,"avatar_url":"https://avatars.githubusercontent.com/u/7236938?v=3","gravatar_id":"","url":"https://api.github.com/users/underflyer","html_url":"https://github.com/underflyer","followers_url":"https://api.github.com/users/underflyer/followers","following_url":"https://api.github.com/users/underflyer/following{/other_user}","gists_url":"https://api.github.com/users/underflyer/gists{/gist_id}","starred_url":"https://api.github.com/users/underflyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underflyer/subscriptions","organizations_url":"https://api.github.com/users/underflyer/orgs","repos_url":"https://api.github.com/users/underflyer/repos","events_url":"https://api.github.com/users/underflyer/events{/privacy}","received_events_url":"https://api.github.com/users/underflyer/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"},{"url":"https://api.github.com/repos/owncloud/core/labels/feature:locking","name":"feature:locking","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/update","name":"update","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-09T22:55:18Z","updated_at":"2015-07-10T17:05:19Z","closed_at":null,"body":"Hi,\r\n\r\nafter trying to migrate my 8.0.4 to 8.1 with newest migration.php and storage.php from @schiesbn  migration seems to work. Even LDAP-User-Files seems to work.\r\n\r\nbut after about x-Users my php ran out of memory with this error:\r\nPHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 181 bytes) in /var/www/owncloud/htdocs/owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 91\r\n\r\nand when i try to restart the migration\r\napache@owncloud ~/owncloud/htdocs/owncloud $ php occ encryption:migrate\r\nReorganize system folder structure\r\nMigrating keys for users on backend Database\r\n   admin\r\n\r\n  [OCP\\Files\\LockNotAcquiredException]\r\n  Could not obtain lock type 1 on \"/home/owncloud/data/admin/files_encryption/admin.privateKey\".\r\n\r\nCan you fix this by change the migration.php to discover already updated user, to be able to restart the migration-process?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/120461219","html_url":"https://github.com/owncloud/core/issues/17547#issuecomment-120461219","issue_url":"https://api.github.com/repos/owncloud/core/issues/17547","id":120461219,"user":{"login":"karlitschek","id":867445,"avatar_url":"https://avatars.githubusercontent.com/u/867445?v=3","gravatar_id":"","url":"https://api.github.com/users/karlitschek","html_url":"https://github.com/karlitschek","followers_url":"https://api.github.com/users/karlitschek/followers","following_url":"https://api.github.com/users/karlitschek/following{/other_user}","gists_url":"https://api.github.com/users/karlitschek/gists{/gist_id}","starred_url":"https://api.github.com/users/karlitschek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlitschek/subscriptions","organizations_url":"https://api.github.com/users/karlitschek/orgs","repos_url":"https://api.github.com/users/karlitschek/repos","events_url":"https://api.github.com/users/karlitschek/events{/privacy}","received_events_url":"https://api.github.com/users/karlitschek/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T17:05:19Z","updated_at":"2015-07-10T17:05:19Z","body":"@schiesbn "}}