{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/nextcloud-snap/issues/450","repository_url":"https://api.github.com/repos/nextcloud/nextcloud-snap","labels_url":"https://api.github.com/repos/nextcloud/nextcloud-snap/issues/450/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/nextcloud-snap/issues/450/comments","events_url":"https://api.github.com/repos/nextcloud/nextcloud-snap/issues/450/events","html_url":"https://github.com/nextcloud/nextcloud-snap/issues/450","id":297034422,"number":450,"title":"Data directory problem","user":{"login":"Seferi","id":2592842,"avatar_url":"https://avatars1.githubusercontent.com/u/2592842?v=4","gravatar_id":"","url":"https://api.github.com/users/Seferi","html_url":"https://github.com/Seferi","followers_url":"https://api.github.com/users/Seferi/followers","following_url":"https://api.github.com/users/Seferi/following{/other_user}","gists_url":"https://api.github.com/users/Seferi/gists{/gist_id}","starred_url":"https://api.github.com/users/Seferi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seferi/subscriptions","organizations_url":"https://api.github.com/users/Seferi/orgs","repos_url":"https://api.github.com/users/Seferi/repos","events_url":"https://api.github.com/users/Seferi/events{/privacy}","received_events_url":"https://api.github.com/users/Seferi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-02-14T09:57:01Z","updated_at":"2018-02-14T16:50:08Z","closed_at":null,"author_association":"NONE","body":"Hi, I searched the Issues before opening a new one, none of the existing ones helped me unfortunately. \r\n\r\nI got a Intel NUC to replace my Nextcloudbox, with a 120 SSD and 1 TB SATA (for data), Installed Ubuntu Server 16.04 on the SSD and SATA as a Home directory.  Installed nextcloud snap and started reading around how i could change the data directory to the SATA (simply creating a nextcloud-data folder in the SATA and pointing nextcloud snap there).\r\n\r\nI went with Bind-mounting the SATA to /media/nextcloud and then added it as a external storage in nextcloud. Which worked until i tried to use nextcloud sync on my desktop. It didn't sync and gave me bunch of errors and when i tried to sync with my Android phone it gave me 'malformed server configuration' error. But i can create and upload files in web interface without problem.\r\n\r\n- My question is can i bind-mount the SATA to /media and change the nextcloud data directory to it (without adding as external storage)?\r\n- If thats not possible how can i add the SATA to /media in a way that it works with sync apps etc... \r\n- I would like to install plex and samba later that they could also have access to the files..\r\n\r\nI really appreciate the help. Thanks in advance."},"comment":{"url":"https://api.github.com/repos/nextcloud/nextcloud-snap/issues/comments/365670371","html_url":"https://github.com/nextcloud/nextcloud-snap/issues/450#issuecomment-365670371","issue_url":"https://api.github.com/repos/nextcloud/nextcloud-snap/issues/450","id":365670371,"user":{"login":"Seferi","id":2592842,"avatar_url":"https://avatars1.githubusercontent.com/u/2592842?v=4","gravatar_id":"","url":"https://api.github.com/users/Seferi","html_url":"https://github.com/Seferi","followers_url":"https://api.github.com/users/Seferi/followers","following_url":"https://api.github.com/users/Seferi/following{/other_user}","gists_url":"https://api.github.com/users/Seferi/gists{/gist_id}","starred_url":"https://api.github.com/users/Seferi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seferi/subscriptions","organizations_url":"https://api.github.com/users/Seferi/orgs","repos_url":"https://api.github.com/users/Seferi/repos","events_url":"https://api.github.com/users/Seferi/events{/privacy}","received_events_url":"https://api.github.com/users/Seferi/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T16:50:08Z","updated_at":"2018-02-14T16:50:08Z","author_association":"NONE","body":"Ok mate, thanks alot. I'll follow the steps and report back. By the way some of the files are failing to sync on rsync (invalid argument: 22) because of their names probably. Is there a way to sync them all ?"}}
{"actor":{"display_login":"Seferi"}}