{"action":"opened","issue":{"url":"https://api.github.com/repos/jfrog/charts/issues/167","repository_url":"https://api.github.com/repos/jfrog/charts","labels_url":"https://api.github.com/repos/jfrog/charts/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/jfrog/charts/issues/167/comments","events_url":"https://api.github.com/repos/jfrog/charts/issues/167/events","html_url":"https://github.com/jfrog/charts/issues/167","id":395025078,"node_id":"MDU6SXNzdWUzOTUwMjUwNzg=","number":167,"title":"helm deploy of oss fails with defaults","user":{"login":"dgvigil","id":1594166,"node_id":"MDQ6VXNlcjE1OTQxNjY=","avatar_url":"https://avatars3.githubusercontent.com/u/1594166?v=4","gravatar_id":"","url":"https://api.github.com/users/dgvigil","html_url":"https://github.com/dgvigil","followers_url":"https://api.github.com/users/dgvigil/followers","following_url":"https://api.github.com/users/dgvigil/following{/other_user}","gists_url":"https://api.github.com/users/dgvigil/gists{/gist_id}","starred_url":"https://api.github.com/users/dgvigil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgvigil/subscriptions","organizations_url":"https://api.github.com/users/dgvigil/orgs","repos_url":"https://api.github.com/users/dgvigil/repos","events_url":"https://api.github.com/users/dgvigil/events{/privacy}","received_events_url":"https://api.github.com/users/dgvigil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-31T19:53:40Z","updated_at":"2018-12-31T19:53:40Z","closed_at":null,"author_association":"NONE","body":"**Is this a BUG REPORT or FEATURE REQUEST?** (choose one):\r\n\r\nBUG REPORT\r\n\r\n**Version of Helm and Kubernetes**:\r\n```\r\n$ helm version\r\nClient: &version.Version{SemVer:\"v2.11.0\", GitCommit:\"2e55dbe1fdb5fdb96b75ff144a339489417b146b\", GitTreeState:\"clean\"}\r\nServer: &version.Version{SemVer:\"v2.11.0\", GitCommit:\"2e55dbe1fdb5fdb96b75ff144a339489417b146b\", GitTreeState:\"clean\"}\r\n\r\n$ kubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"13\", GitVersion:\"v1.13.1\", GitCommit:\"eec55b9ba98609a46fee712359c7b5b365bdd920\", GitTreeState:\"clean\", BuildDate:\"2018-12-13T10:39:04Z\", GoVersion:\"go1.11.2\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"10+\", GitVersion:\"v1.10.7-gke.11\", GitCommit:\"fa90543563c9cfafca69128ce8cd9ecd5941940f\", GitTreeState:\"clean\", BuildDate:\"2018-11-08T20:22:21Z\", GoVersion:\"go1.9.3b4\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n\r\n**Which chart**:\r\nstable/artifactory\r\n\r\n\r\n**What happened**:\r\nRan:\r\n```\r\n$ helm install --name artifactory --set artifactory.image.repository=docker.bintray.io/jfrog/artifactory-oss  stable/artifactory\r\n$ k get pods\r\nNAME                                               READY   STATUS             RESTARTS   AGE\r\nartifactory-artifactory-0                          0/1     CrashLoopBackOff   12         37m\r\nartifactory-artifactory-nginx-69c87b45d7-kfvps     0/1     Init:0/1           0          37m\r\nartifactory-postgresql-68c9b758bf-hz8f2            1/1     Running            0          37m\r\n```\r\n\r\nThe logs showed the error is in the entrypoint-artifactory.sh\r\n```\r\n$ k logs -f artifactory-artifactory-0\r\nPreparing to run Artifactory in Docker\r\n=====================================\r\n2018-12-31 19:45:52   [44 entrypoint-artifactory.sh] Dockerfile for this image can found inside the container.\r\n2018-12-31 19:45:52   [45 entrypoint-artifactory.sh] To view the Dockerfile: 'cat /docker/artifactory-oss/Dockerfile.artifactory'.\r\n2018-12-31 19:45:52   [50 entrypoint-artifactory.sh] Checking open files and processes limits\r\n2018-12-31 19:45:52   [53 entrypoint-artifactory.sh] Current max open files is 1048576\r\n2018-12-31 19:45:52   [65 entrypoint-artifactory.sh] Current max open processes is unlimited\r\n2018-12-31 19:45:52   [75 entrypoint-artifactory.sh] Checking if /var/opt/jfrog/artifactory is mounted\r\n2018-12-31 19:45:52   [80 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory is mounted\r\n2018-12-31 19:45:52   [86 entrypoint-artifactory.sh] Setting up data directories if missing\r\n2018-12-31 19:45:52   [97 entrypoint-artifactory.sh] Create artifactory user if missing\r\n2018-12-31 19:45:52  [100 entrypoint-artifactory.sh] User does not exist. Creating it...\r\n2018-12-31 19:45:52  [137 entrypoint-artifactory.sh] Checking permissions on /opt/jfrog/artifactory\r\n2018-12-31 19:45:52  [143 entrypoint-artifactory.sh] /opt/jfrog/artifactory is owned by root:root. Setting to artifactory:artifactory.\r\n2018-12-31 19:45:54  [150 entrypoint-artifactory.sh] Checking permissions on /var/opt/jfrog/artifactory\r\n2018-12-31 19:45:54  [159 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory is already owned by artifactory:artifactory.\r\n2018-12-31 19:45:54  [282 entrypoint-artifactory.sh] Checking DB_TYPE\r\n2018-12-31 19:45:54  [285 entrypoint-artifactory.sh] DB_TYPE is set to postgresql\r\n2018-12-31 19:45:54  [213 entrypoint-artifactory.sh] DB_HOST is set to artifactory-postgresql\r\n2018-12-31 19:45:54  [215 entrypoint-artifactory.sh] Checking if need to copy postgresql configuration\r\n2018-12-31 19:45:54  [218 entrypoint-artifactory.sh] /var/opt/jfrog/artifactory/etc/db.properties already exists. Making sure it's set to postgresql...\r\n2018-12-31 19:45:54   [34 entrypoint-artifactory.sh] ERROR: /var/opt/jfrog/artifactory/etc/db.properties already exists and is set to a DB different than postgresql\r\n```\r\n\r\n**What you expected to happen**:\r\nThe documentation on using OSS merely states to change the docker image and no other modifications. This should run without error. \r\n\r\n\r\n**How to reproduce it** (as minimally and precisely as possible):\r\n```\r\nhelm repo add jfrog https://charts.jfrog.io/\r\nhelm repo update\r\nhelm install --name artifactory --set artifactory.image.repository=docker.bintray.io/jfrog/artifactory-oss stable/artifactory\r\n```\r\n"}}
{"actor":{"display_login":"dgvigil"}}