{"action":"created","issue":{"url":"https://api.github.com/repos/openlearninglabs/openproducer/issues/18","labels_url":"https://api.github.com/repos/openlearninglabs/openproducer/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/openlearninglabs/openproducer/issues/18/comments","events_url":"https://api.github.com/repos/openlearninglabs/openproducer/issues/18/events","html_url":"https://github.com/openlearninglabs/openproducer/issues/18","id":102322616,"number":18,"title":"Can't backup, clone, or migrate sites","user":{"login":"gusaus","id":113996,"avatar_url":"https://avatars.githubusercontent.com/u/113996?v=3","gravatar_id":"","url":"https://api.github.com/users/gusaus","html_url":"https://github.com/gusaus","followers_url":"https://api.github.com/users/gusaus/followers","following_url":"https://api.github.com/users/gusaus/following{/other_user}","gists_url":"https://api.github.com/users/gusaus/gists{/gist_id}","starred_url":"https://api.github.com/users/gusaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gusaus/subscriptions","organizations_url":"https://api.github.com/users/gusaus/orgs","repos_url":"https://api.github.com/users/gusaus/repos","events_url":"https://api.github.com/users/gusaus/events{/privacy}","received_events_url":"https://api.github.com/users/gusaus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openlearninglabs/openproducer/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/openlearninglabs/openproducer/labels/platform","name":"platform","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-21T08:09:25Z","updated_at":"2015-08-25T19:32:13Z","closed_at":null,"body":"I'm unable to backup, clone, or migrate and site in which I've imported a theme, module, or files from my local environment. It looks like some combo of chown and chmod may do the trick, but so far I get an 'Operation not permitted'.\r\n\r\nIs there a best practice or specific instructions that could help remedy this?"},"comment":{"url":"https://api.github.com/repos/openlearninglabs/openproducer/issues/comments/134709632","html_url":"https://github.com/openlearninglabs/openproducer/issues/18#issuecomment-134709632","issue_url":"https://api.github.com/repos/openlearninglabs/openproducer/issues/18","id":134709632,"user":{"login":"gboudrias","id":1328358,"avatar_url":"https://avatars.githubusercontent.com/u/1328358?v=3","gravatar_id":"","url":"https://api.github.com/users/gboudrias","html_url":"https://github.com/gboudrias","followers_url":"https://api.github.com/users/gboudrias/followers","following_url":"https://api.github.com/users/gboudrias/following{/other_user}","gists_url":"https://api.github.com/users/gboudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/gboudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gboudrias/subscriptions","organizations_url":"https://api.github.com/users/gboudrias/orgs","repos_url":"https://api.github.com/users/gboudrias/repos","events_url":"https://api.github.com/users/gboudrias/events{/privacy}","received_events_url":"https://api.github.com/users/gboudrias/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T19:32:13Z","updated_at":"2015-08-25T19:32:13Z","body":"You can certainly use SCP but Git is usually the preferred workflow. Aegir now has a Git feature which allows you to create a site from a Git repo and pull the changes.\r\n\r\nGenerally speaking, the easiest way to fix permissions is to give the site folder (/var/platforms/name/sites/example.com) to the aegir user (chown aegir:aegir example.com -R), and run a verify in the frontend, which is made to fix permissions among other things.\r\n\r\nLet me know if this helps."}}