{"action":"created","issue":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/939","repository_url":"https://api.github.com/repos/oracle/node-oracledb","labels_url":"https://api.github.com/repos/oracle/node-oracledb/issues/939/labels{/name}","comments_url":"https://api.github.com/repos/oracle/node-oracledb/issues/939/comments","events_url":"https://api.github.com/repos/oracle/node-oracledb/issues/939/events","html_url":"https://github.com/oracle/node-oracledb/issues/939","id":337482287,"node_id":"MDU6SXNzdWUzMzc0ODIyODc=","number":939,"title":"NJS-045: cannot load the oracledb add-on binary for Node.js 8.11.3 (linux, x64)","user":{"login":"Ventis","id":4881185,"node_id":"MDQ6VXNlcjQ4ODExODU=","avatar_url":"https://avatars2.githubusercontent.com/u/4881185?v=4","gravatar_id":"","url":"https://api.github.com/users/Ventis","html_url":"https://github.com/Ventis","followers_url":"https://api.github.com/users/Ventis/followers","following_url":"https://api.github.com/users/Ventis/following{/other_user}","gists_url":"https://api.github.com/users/Ventis/gists{/gist_id}","starred_url":"https://api.github.com/users/Ventis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ventis/subscriptions","organizations_url":"https://api.github.com/users/Ventis/orgs","repos_url":"https://api.github.com/users/Ventis/repos","events_url":"https://api.github.com/users/Ventis/events{/privacy}","received_events_url":"https://api.github.com/users/Ventis/received_events","type":"User","site_admin":false},"labels":[{"id":253930243,"node_id":"MDU6TGFiZWwyNTM5MzAyNDM=","url":"https://api.github.com/repos/oracle/node-oracledb/labels/install%20&%20configuration","name":"install & configuration","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-02T11:37:29Z","updated_at":"2018-07-03T13:44:20Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm creating a project where the Oracle DB is not under our management (we have the credentials and the URL) but we're creating a Nodejs REST API for frontend's to interact with it.\r\n\r\nFor this we're using a Docker container based on the `collinestes/docker-node-oracle` image but we've also tried creating our own image based on this [tutorial](https://blogs.oracle.com/opal/a-node-oracledb-web-service-in-docker). I always get the same error:\r\n[https://gist.github.com/Ventis/7a43a2dc4ba7d803048e99054301cddb](https://gist.github.com/Ventis/7a43a2dc4ba7d803048e99054301cddb)\r\n\r\nI checked the troubleshooting guide, I checked the installation guide several times, to no avail.\r\n\r\n1. What is your Node.js version?  Is it 64-bit or 32-bit?  Run `version.js` from https://github.com/oracle/node-oracledb/blob/master/examples/version.js\r\n64-bit\r\n\r\n2. What is your node-oracledb version?\r\n2.3.0\r\n\r\n3. What is your Oracle client (e.g. Instant Client) version?  Is it 64-bit or 32-bit?  How was it installed?  Where is it installed?\r\n64-bit, it's contained within the docker image. The Dockerfile of the image used:\r\n[https://github.com/CollinEstes/docker-node-oracle/blob/8/Dockerfile](https://github.com/CollinEstes/docker-node-oracle/blob/8/Dockerfile)\r\n\r\n4. What is your Oracle Database version?\r\nNot applicable yet, the Oracle Database is out of our management\r\n\r\n5. What is your OS and version?\r\nMacOS High Sierra 10.13.5 but in the Docker image:\r\n```\r\nPRETTY_NAME=\"Debian GNU/Linux 8 (jessie)\"\r\nNAME=\"Debian GNU/Linux\"\r\nVERSION_ID=\"8\"\r\nVERSION=\"8 (jessie)\"\r\nID=debian\r\n```\r\n\r\n6. What is your compiler version?  For example, with GCC, run `gcc --version`\r\nThe image is using a precompiled binary\r\n\r\n7. What Oracle environment variables did you set?  How *exactly* did you set them?\r\nNone, all should be set in the Docker image. As I understand it (looking at the Dockerfile of the image) the env vars set are:\r\n```\r\nENV LD_LIBRARY_PATH=\"/opt/oracle/instantclient\"\r\nENV OCI_HOME=\"/opt/oracle/instantclient\"\r\nENV OCI_LIB_DIR=\"/opt/oracle/instantclient\"\r\nENV OCI_INCLUDE_DIR=\"/opt/oracle/instantclient/sdk/include\"\r\nENV OCI_VERSION=12\r\n``` \r\n\r\n8. What is the `PATH` environment variable (on Windows) or `LD_LIBRARY_PATH` (on Linux) set to?  On macOS, what is in `~/lib`?\r\nIn the Docker image: `/opt/oracle/instantclient`\r\n\r\n9. What *exact* command caused the problem (e.g. what command did you try to install with)?  Who were you logged in as?\r\n`node src/index.js`\r\n\r\n10. What error(s) you are seeing?\r\n[https://gist.github.com/Ventis/7a43a2dc4ba7d803048e99054301cddb](https://gist.github.com/Ventis/7a43a2dc4ba7d803048e99054301cddb)\r\n\r\nI've tried so many things already and I'm kinda running out of ideas. I hope some experts here know what is causing these problems."},"comment":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/comments/402162352","html_url":"https://github.com/oracle/node-oracledb/issues/939#issuecomment-402162352","issue_url":"https://api.github.com/repos/oracle/node-oracledb/issues/939","id":402162352,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjE2MjM1Mg==","user":{"login":"dmcghan","id":585767,"node_id":"MDQ6VXNlcjU4NTc2Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/585767?v=4","gravatar_id":"","url":"https://api.github.com/users/dmcghan","html_url":"https://github.com/dmcghan","followers_url":"https://api.github.com/users/dmcghan/followers","following_url":"https://api.github.com/users/dmcghan/following{/other_user}","gists_url":"https://api.github.com/users/dmcghan/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcghan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcghan/subscriptions","organizations_url":"https://api.github.com/users/dmcghan/orgs","repos_url":"https://api.github.com/users/dmcghan/repos","events_url":"https://api.github.com/users/dmcghan/events{/privacy}","received_events_url":"https://api.github.com/users/dmcghan/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T13:44:19Z","updated_at":"2018-07-03T13:44:19Z","author_association":"MEMBER","body":"@Ventis Are you saying you're using the new Dockerfile that worked with **test.js**, but you get the same errors with your project? Or is your project still using the old Dockerfile?\r\n\r\nWhen do you get the error, when you run Babel or when you run the app?"}}
{"actor":{"display_login":"dmcghan"}}