{"action":"created","issue":{"url":"https://api.github.com/repos/danilop/yas3fs/issues/85","labels_url":"https://api.github.com/repos/danilop/yas3fs/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/danilop/yas3fs/issues/85/comments","events_url":"https://api.github.com/repos/danilop/yas3fs/issues/85/events","html_url":"https://github.com/danilop/yas3fs/issues/85","id":62245714,"number":85,"title":"Folder disappears after upload","user":{"login":"Jaykah","id":5440172,"avatar_url":"https://avatars.githubusercontent.com/u/5440172?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaykah","html_url":"https://github.com/Jaykah","followers_url":"https://api.github.com/users/Jaykah/followers","following_url":"https://api.github.com/users/Jaykah/following{/other_user}","gists_url":"https://api.github.com/users/Jaykah/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaykah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaykah/subscriptions","organizations_url":"https://api.github.com/users/Jaykah/orgs","repos_url":"https://api.github.com/users/Jaykah/repos","events_url":"https://api.github.com/users/Jaykah/events{/privacy}","received_events_url":"https://api.github.com/users/Jaykah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-17T00:42:43Z","updated_at":"2015-05-26T21:54:31Z","closed_at":null,"body":"Hi,\r\n\r\nI am seeing some strange behavior when using the latest yas3fs. Everything seems to be mounting fine, but after I upload one file to the mounted directory, the directory itself disappears. However, I can still access the mount via console, and can create files and directories within. Nonetheless, those files/folders are not displayed locally via ls -l (they do appear in S3).\r\n\r\nHere's an excerpt from logs:\r\n\r\n```\r\n2015-03-11 22:21:16,356 DEBUG readdir '/' '0' ENOENT\r\n2015-03-11 22:21:16,365 DEBUG do_cmd_on_s3_now_w_retries try 1 action 'set_contents_from_file' key 'jquery-1.6.1.min.js' args '[<yas3fs.FSData instance at 0x7f2ac43ba200>]' kargs '{'headers': {'Content-Type': 'application/javascript'}}'\r\n2015-03-11 22:21:16,365 DEBUG do_cmd_on_s3_now action 'set_contents_from_file' key 'jquery-1.6.1.min.js' args '[<yas3fs.FSData instance at 0x7f2ac43ba200>]' kargs '{'headers': {'Content-Type': 'application/javascript'}}'\r\n2015-03-11 22:21:16,446 DEBUG create_dirs_for_file '/tmp/yas3fs/mystoragedir/etags/jquery-1.6.1.min.js'\r\n2015-03-11 22:21:16,446 DEBUG create_dirs '/tmp/yas3fs/mystoragedir/etags'\r\n2015-03-11 22:21:16,446 DEBUG create_dirs '/tmp/yas3fs/mystoragedir/etags' already there\r\n2015-03-11 22:21:16,447 DEBUG FSData.props[change] removed, now executing invoke_after_change lambda for: /jquery-1.6.1.min.js\r\n2015-03-11 22:21:16,447 DEBUG set_metadata '/jquery-1.6.1.min.js' 'attr' 'None'\r\n2015-03-11 22:21:16,447 DEBUG get_key from cache '/jquery-1.6.1.min.js'\r\n2015-03-11 22:21:16,447 DEBUG set_metadata '/jquery-1.6.1.min.js' 'attr' 'jquery-1.6.1.min.js' Key\r\n2015-03-11 22:21:16,448 DEBUG set_metadata '/jquery-1.6.1.min.js' 'jquery-1.6.1.min.js' S3\r\n2015-03-11 22:21:16,448 DEBUG do_cmd_on_s3_now action 'set_contents_from_file' key 'jquery-1.6.1.min.js' args '[<yas3fs.FSData instance at 0x7f2ac43ba200>]' kargs '{'headers': {'Content-Type': 'application/javascript'}}' done\r\n2015-03-11 22:21:16,448 DEBUG publish '['upload', u'/jquery-1.6.1.min.js', 'a34f78c3aecd182144818eb4b7303fda']'\r\n2015-03-11 22:21:16,449 DEBUG do_cmd_on_s3_now_w_retries try 1 action 'copy' key 'jquery-1.6.1.min.js' args '['mystoragedir', u'jquery-1.6.1.min.js', {'attr': '{\"st_ctime\": 1426112476.0, \"st_mtime\": 1393547269.0, \"st_nlink\": 1, \"st_mode\": 33204, \"st_size\": 91342, \"st_gid\": 1000, \"st_uid\": 1000, \"st_atime\": 1393547269.0}'}]' kargs '{'encrypt_key': False, 'preserve_acl': False}'\r\n2015-03-11 22:21:16,449 DEBUG do_cmd_on_s3_now action 'copy' key 'jquery-1.6.1.min.js' args '['mystoragedir', u'jquery-1.6.1.min.js', {'attr': '{\"st_ctime\": 1426112476.0, \"st_mtime\": 1393547269.0, \"st_nlink\": 1, \"st_mode\": 33204, \"st_size\": 91342, \"st_gid\": 1000, \"st_uid\": 1000, \"st_atime\": 1393547269.0}'}]' kargs '{'encrypt_key': False, 'preserve_acl': False}'\r\n2015-03-11 22:21:16,487 DEBUG Got 1 messages from SQS\r\n2015-03-11 22:21:16,487 DEBUG process_message '[\"738672c3-d048-4a04-b6bc-ecde34dcb16f\", \"mknod\", \"/jquery-1.6.1.min.js\"]'\r\n2015-03-11 22:21:16,487 DEBUG process message from self discarded '[u'738672c3-d048-4a04-b6bc-ecde34dcb16f', u'mknod', u'/jquery-1.6.1.min.js']'\r\n2015-03-11 22:21:16,608 DEBUG Got 1 messages from SQS\r\n2015-03-11 22:21:16,608 DEBUG process_message '[\"738672c3-d048-4a04-b6bc-ecde34dcb16f\", \"upload\", \"/jquery-1.6.1.min.js\", \"a34f78c3aecd182144818eb4b7303fda\"]'\r\n2015-03-11 22:21:16,608 DEBUG process message from self discarded '[u'738672c3-d048-4a04-b6bc-ecde34dcb16f', u'upload', u'/jquery-1.6.1.min.js', u'a34f78c3aecd182144818eb4b7303fda']'\r\n2015-03-11 22:21:16,693 DEBUG do_cmd_on_s3_now action 'copy' key 'jquery-1.6.1.min.js' args '['mystoragedir', u'jquery-1.6.1.min.js', {'attr': '{\"st_ctime\": 1426112476.0, \"st_mtime\": 1393547269.0, \"st_nlink\": 1, \"st_mode\": 33204, \"st_size\": 91342, \"st_gid\": 1000, \"st_uid\": 1000, \"st_atime\": 1393547269.0}'}]' kargs '{'encrypt_key': False, 'preserve_acl': False}' done\r\n2015-03-11 22:21:16,693 DEBUG publish '['md', 'attr', u'/jquery-1.6.1.min.js']'\r\n2015-03-11 22:21:16,887 DEBUG Got 1 messages from SQS\r\n2015-03-11 22:21:16,887 DEBUG process_message '[\"738672c3-d048-4a04-b6bc-ecde34dcb16f\", \"md\", \"attr\", \"/jquery-1.6.1.min.js\"]'\r\n2015-03-11 22:21:16,888 DEBUG process message from self discarded '[u'738672c3-d048-4a04-b6bc-ecde34dcb16f', u'md', u'attr', u'/jquery-1.6.1.min.js']'\r\n2015-03-11 22:21:35,049 DEBUG readdir '/' '0'\r\n2015-03-11 22:21:35,049 DEBUG readdir '/' '0' ENOENT\r\n```\r\n\r\n\r\nAm I missing something?"},"comment":{"url":"https://api.github.com/repos/danilop/yas3fs/issues/comments/105678226","html_url":"https://github.com/danilop/yas3fs/issues/85#issuecomment-105678226","issue_url":"https://api.github.com/repos/danilop/yas3fs/issues/85","id":105678226,"user":{"login":"Jaykah","id":5440172,"avatar_url":"https://avatars.githubusercontent.com/u/5440172?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaykah","html_url":"https://github.com/Jaykah","followers_url":"https://api.github.com/users/Jaykah/followers","following_url":"https://api.github.com/users/Jaykah/following{/other_user}","gists_url":"https://api.github.com/users/Jaykah/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaykah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaykah/subscriptions","organizations_url":"https://api.github.com/users/Jaykah/orgs","repos_url":"https://api.github.com/users/Jaykah/repos","events_url":"https://api.github.com/users/Jaykah/events{/privacy}","received_events_url":"https://api.github.com/users/Jaykah/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T21:54:31Z","updated_at":"2015-05-26T21:54:31Z","body":"Thanks for your reply, @bitsofinfo, I wish I knew how to enable lower-level debugging, since it is already being launched with the -df flag.\r\n\r\nThe issue seems to be that somehow messages never get into queue (I have tried monitoring it from the AWS side). The permissions on the queue have been set to allow all..."}}