{"action":"created","issue":{"url":"https://api.github.com/repos/certbot/certbot/issues/4850","repository_url":"https://api.github.com/repos/certbot/certbot","labels_url":"https://api.github.com/repos/certbot/certbot/issues/4850/labels{/name}","comments_url":"https://api.github.com/repos/certbot/certbot/issues/4850/comments","events_url":"https://api.github.com/repos/certbot/certbot/issues/4850/events","html_url":"https://github.com/certbot/certbot/issues/4850","id":236973096,"number":4850,"title":"OSError: [Errno 95] Not supported","user":{"login":"gimmemoore","id":1713542,"avatar_url":"https://avatars3.githubusercontent.com/u/1713542?v=4","gravatar_id":"","url":"https://api.github.com/users/gimmemoore","html_url":"https://github.com/gimmemoore","followers_url":"https://api.github.com/users/gimmemoore/followers","following_url":"https://api.github.com/users/gimmemoore/following{/other_user}","gists_url":"https://api.github.com/users/gimmemoore/gists{/gist_id}","starred_url":"https://api.github.com/users/gimmemoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimmemoore/subscriptions","organizations_url":"https://api.github.com/users/gimmemoore/orgs","repos_url":"https://api.github.com/users/gimmemoore/repos","events_url":"https://api.github.com/users/gimmemoore/events{/privacy}","received_events_url":"https://api.github.com/users/gimmemoore/received_events","type":"User","site_admin":false},"labels":[{"id":276680181,"url":"https://api.github.com/repos/certbot/certbot/labels/more-info","name":"more-info","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-06-19T18:04:28Z","updated_at":"2018-02-08T17:05:13Z","closed_at":null,"author_association":"NONE","body":"## My operating system is (include version):\r\nDocker for Azure on swarm manager\r\n\r\n## I installed Certbot with (certbot-auto, OS package manager, pip, etc):\r\nCertbot is installed in an image nginx:alpine\r\n\r\n## I ran this command and it produced this output:\r\n2017-06-19 17:51:40,050:DEBUG:root:Sending GET request to https://acme-staging.api.letsencrypt.org/acme/issuer-cert. args: (), kwargs: {'headers': {'Accept': 'application/pkix-cert'}}\r\n\r\n## Certbot's behavior differed from what I expected because:\r\nThe following occurs if the drive is not empty using a cloudstor:azure plugin for the drive.\r\n\r\n2017-06-19 17:51:40,160:DEBUG:certbot.storage:Creating directory /etc/letsencrypt/archive.\r\n2017-06-19 17:51:40,180:DEBUG:certbot.storage:Creating directory /etc/letsencrypt/live.\r\n2017-06-19 17:51:40,216:DEBUG:certbot.storage:Archive directory /etc/letsencrypt/archive/app.concludely.io and live directory /etc/letsencrypt/live/test.app.io created.\r\n2017-06-19 17:51:40,226:DEBUG:certbot.main:Exiting abnormally:\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/certbot\", line 9, in <module>\r\n    load_entry_point('certbot==0.7.0', 'console_scripts', 'certbot')()\r\n  File \"/usr/lib/python2.7/site-packages/certbot/main.py\", line 693, in main\r\n    return config.func(config, plugins)\r\n  File \"/usr/lib/python2.7/site-packages/certbot/main.py\", line 512, in obtain_cert\r\n    _, action = _auth_from_domains(le_client, config, domains, lineage)\r\n  File \"/usr/lib/python2.7/site-packages/certbot/main.py\", line 93, in _auth_from_domains\r\n    lineage = le_client.obtain_and_enroll_certificate(domains)\r\n  File \"/usr/lib/python2.7/site-packages/certbot/client.py\", line 293, in obtain_and_enroll_certificate\r\n    configuration.RenewerConfiguration(self.config.namespace))\r\n  File \"/usr/lib/python2.7/site-packages/certbot/storage.py\", line 801, in new_lineage\r\n    target[kind])\r\nOSError: [Errno 95] Not supported\r\n\r\n## Here is a Certbot log showing the issue (if available):\r\n###### Logs are stored in `/var/log/letsencrypt` by default. Feel free to redact domains, e-mail and IP addresses as you see fit.\r\n\r\n## Here is the relevant nginx server block or Apache virtualhost for the domain I am configuring:\r\n"},"comment":{"url":"https://api.github.com/repos/certbot/certbot/issues/comments/364179662","html_url":"https://github.com/certbot/certbot/issues/4850#issuecomment-364179662","issue_url":"https://api.github.com/repos/certbot/certbot/issues/4850","id":364179662,"user":{"login":"trajano","id":110627,"avatar_url":"https://avatars3.githubusercontent.com/u/110627?v=4","gravatar_id":"","url":"https://api.github.com/users/trajano","html_url":"https://github.com/trajano","followers_url":"https://api.github.com/users/trajano/followers","following_url":"https://api.github.com/users/trajano/following{/other_user}","gists_url":"https://api.github.com/users/trajano/gists{/gist_id}","starred_url":"https://api.github.com/users/trajano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trajano/subscriptions","organizations_url":"https://api.github.com/users/trajano/orgs","repos_url":"https://api.github.com/users/trajano/repos","events_url":"https://api.github.com/users/trajano/events{/privacy}","received_events_url":"https://api.github.com/users/trajano/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T17:05:13Z","updated_at":"2018-02-08T17:05:13Z","author_association":"NONE","body":"@SwartzCr yes and no.  I was looking for this ticket earlier so I can post the solution.  The issue is that certbot requires the use of symlinks which are not available in Windows and CIFS shares by default do not support symlinks\r\n\r\nI say yes and no because I am running Docker inside a Linux VM guest hosted on a Windows box whose drives are shared via SMB using the https://github.com/ContainX/docker-volume-netshare.\r\n\r\nThe key option is *mfsymlinks* as noted in my docker-compose.yml volume configuration below.\r\n\r\n```\r\n  letsencrypt:\r\n    name: 'noriko/s/letsencrypt'\r\n    driver: cifs\r\n    driver_opts:\r\n      cifsopts: vers=3.02,file_mode=0666,dir_mode=0777,mfsymlinks\r\n```"}}
{"actor":{"display_login":"trajano"}}