Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedded Influx doesn't work on mac os #16

Closed
VladimirApolaiko opened this issue Apr 4, 2018 · 6 comments
Closed

Embedded Influx doesn't work on mac os #16

VladimirApolaiko opened this issue Apr 4, 2018 · 6 comments
Labels

Comments

@VladimirApolaiko
Copy link

I use the provided code snippet to start embedded influx on mac os 10.12.6, but I every time I try to run it I get the following message: [influxd error]/var/folders/z6/zxktn8v10nx_ssb1zctm_5w80000gn/T/extract-c9d95ee0-f9fb-4387-bb94-e85806f45c21influxd: /var/folders/z6/zxktn8v10nx_ssb1zctm_5w80000gn/T/extract-c9d95ee0-f9fb-4387-bb94-e85806f45c21influxd: cannot execute binary file
[influxd error]

@VladimirApolaiko VladimirApolaiko changed the title Embedded Influx doesn't start on mac os Embedded Influx doesn't work on mac os Apr 4, 2018
@rouvoy rouvoy added the bug label Apr 21, 2018
@novaesis
Copy link

@rouvoy I am running into this issue as well. Is there a timeframe of when this is going to be fixed? It works great on linux environment but on MacOS I get "cannot execute binary file". Is it because there is not a direct distribution of InfluxDB for MacOS?

@melodious
Copy link

+1 We could really use this!

@rouvoy
Copy link

rouvoy commented May 29, 2018

Unfortunately, we do not have the necessary resources to address this issue currently. But, if one of you can dig into it, we will be happy to accept a pull request.

@fsanaulla
Copy link
Contributor

You can try this as the temporary solution. It already has an InfluxDB module.

@aveuiller
Copy link
Contributor

Hello,

Unfortunately you're right @nkglenn, there is no binary package for MacOS.

As you can see on the download page, installation for MacOS is redirected to HomeBrew, which will manually download the github project and build it using go install.

It may be possible to integrate this kind of behavior but I fear that this is currently not well supported by the underlying library (i.e. https://github.com/flapdoodle-oss/de.flapdoodle.embed.process).

faisalferoz pushed a commit to faisalferoz/embed-influxDB that referenced this issue Jun 3, 2019
- Adds support for Mac OSX

- Updates the InfluxDB version to 1.7.6

- Adds Unit Tests

- Adds eclipse's .project and .classpath files in .gitignore
@aveuiller
Copy link
Contributor

The compatibility with MacOS is now available in version 1.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants