{"action":"closed","issue":{"url":"https://api.github.com/repos/bprodoehl/docker-piwik/issues/6","repository_url":"https://api.github.com/repos/bprodoehl/docker-piwik","labels_url":"https://api.github.com/repos/bprodoehl/docker-piwik/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/bprodoehl/docker-piwik/issues/6/comments","events_url":"https://api.github.com/repos/bprodoehl/docker-piwik/issues/6/events","html_url":"https://github.com/bprodoehl/docker-piwik/issues/6","id":119283905,"number":6,"title":"Error in cert generation script","user":{"login":"katywings","id":4012401,"avatar_url":"https://avatars.githubusercontent.com/u/4012401?v=3","gravatar_id":"","url":"https://api.github.com/users/katywings","html_url":"https://github.com/katywings","followers_url":"https://api.github.com/users/katywings/followers","following_url":"https://api.github.com/users/katywings/following{/other_user}","gists_url":"https://api.github.com/users/katywings/gists{/gist_id}","starred_url":"https://api.github.com/users/katywings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katywings/subscriptions","organizations_url":"https://api.github.com/users/katywings/orgs","repos_url":"https://api.github.com/users/katywings/repos","events_url":"https://api.github.com/users/katywings/events{/privacy}","received_events_url":"https://api.github.com/users/katywings/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-28T10:09:19Z","updated_at":"2016-06-02T17:16:28Z","closed_at":"2016-06-02T17:16:28Z","body":"When I run a container with your image I always get the following error:\r\n\r\n\tpiwik_1 | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...\r\n\tpiwik_1 | *** Running /etc/my_init.d/05-certs.sh...\r\n\tpiwik_1 | Generating RSA private key, 2048 bit long modulus\r\n\tpiwik_1 | ................................................................................................................................................................+++\r\n\tpiwik_1 | ........................................................+++\r\n\tpiwik_1 | e is 65537 (0x10001)\r\n\tpiwik_1 | writing RSA key\r\n\tpiwik_1 | Signature ok\r\n\tpiwik_1 | subject=/C=XX/ST=X/L=X/O=X/OU=X/CN=example.com\r\n\tpiwik_1 | Getting Private key\r\n\tpiwik_1 | cp: cannot create regular file '/etc/nginx-certs/server.key': No such file or directory\r\n\tpiwik_1 | cp: cannot create regular file '/etc/nginx-certs/server.pem': No such file or directory\r\n\tpiwik_1 | *** /etc/my_init.d/05-certs.sh failed with status 1\r\n\r\nWhich results in a stop of the container.\r\n\r\nI don't now whats the exact problem, but somehow your mkdir in the cert generation script doesn't work for me.\r\n\r\nBut I could get a workaround with overwriting the command of the image with:\r\n`bash -c \"mkdir -p /etc/nginx-certs && /sbin/my_init\"``\r\n"}}
{"actor":{"display_login":"bprodoehl"}}