{"action":"created","issue":{"url":"https://api.github.com/repos/immobiliare/sfs/issues/1","labels_url":"https://api.github.com/repos/immobiliare/sfs/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/immobiliare/sfs/issues/1/comments","events_url":"https://api.github.com/repos/immobiliare/sfs/issues/1/events","html_url":"https://github.com/immobiliare/sfs/issues/1","id":67939246,"number":1,"title":"sfs-sync doesn't create push batch directories","user":{"login":"merginator","id":10678289,"avatar_url":"https://avatars.githubusercontent.com/u/10678289?v=3","gravatar_id":"","url":"https://api.github.com/users/merginator","html_url":"https://github.com/merginator","followers_url":"https://api.github.com/users/merginator/followers","following_url":"https://api.github.com/users/merginator/following{/other_user}","gists_url":"https://api.github.com/users/merginator/gists{/gist_id}","starred_url":"https://api.github.com/users/merginator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merginator/subscriptions","organizations_url":"https://api.github.com/users/merginator/orgs","repos_url":"https://api.github.com/users/merginator/repos","events_url":"https://api.github.com/users/merginator/events{/privacy}","received_events_url":"https://api.github.com/users/merginator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-12T17:54:02Z","updated_at":"2015-04-13T07:58:00Z","closed_at":null,"body":"sfs-sync gives the following error message for each node every 10 seconds:\r\n```\r\nWarning: scandir(/mnt/batches/push/node2): failed to open dir: No such file or directory in /home/sfs/php-sync/sync.php on line 296\r\nWarning: scandir(): (errno 2): No such file or directory in /home/sfs/php-sync/sync.php on line 296\r\nsfs-sync(sched)[7222]: Cannot scan /mnt/batches/push/node2, will retry in 10 seconds\r\n```\r\nI'm not sure if this is expected behavior, but if it is, it makes things quite noisy."},"comment":{"url":"https://api.github.com/repos/immobiliare/sfs/issues/comments/92258550","html_url":"https://github.com/immobiliare/sfs/issues/1#issuecomment-92258550","issue_url":"https://api.github.com/repos/immobiliare/sfs/issues/1","id":92258550,"user":{"login":"lethalman","id":480920,"avatar_url":"https://avatars.githubusercontent.com/u/480920?v=3","gravatar_id":"","url":"https://api.github.com/users/lethalman","html_url":"https://github.com/lethalman","followers_url":"https://api.github.com/users/lethalman/followers","following_url":"https://api.github.com/users/lethalman/following{/other_user}","gists_url":"https://api.github.com/users/lethalman/gists{/gist_id}","starred_url":"https://api.github.com/users/lethalman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lethalman/subscriptions","organizations_url":"https://api.github.com/users/lethalman/orgs","repos_url":"https://api.github.com/users/lethalman/repos","events_url":"https://api.github.com/users/lethalman/events{/privacy}","received_events_url":"https://api.github.com/users/lethalman/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T07:58:00Z","updated_at":"2015-04-13T07:58:00Z","body":"Apparently the code doesn't create the directories. What if you create the directories beforehand for each node in `/mnt/batches/push`?"}}