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

Special requirements for DietPi node-red installations #893

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lscarneiro
Copy link

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

I wasted several hours investigating the Error: getaddrinfo -3008 and couldn't solve it with any of the solutions proposed on this repo's issues nor on the dependency (mdns repo)[https://github.com/agnat/node_mdns].

In the end, it boiled down to DietP's minimalistic approach to default packages that don't even provide avahi-daemon out of the box (as you need to install it with dietpi-software) and looks like this wasn't enough for this node to work, I needed an extra prerequisite lib: libnss-mdns.

I didn't try uninstalling libavahi-compat-libdnssd-dev or libudev-dev to check if those are not needed for DietPi installations, but what solved in my case was installing this extra package.

I hope it helps someone in the future

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

I wasted several hours investigating the `Error: getaddrinfo -3008` and couldn't solve it with any of the solutions proposed on this repo's issues nor on the dependency (`mdns` repo)[https://github.com/agnat/node_mdns].

In the end, it boiled down to DietP's minimalistic approach to default packages that don't even provide `avahi-daemon` out of the box (as you need to install it with `dietpi-software`) and looks like this wasn't enough for this node to work, I needed an extra prerequisite lib: `libnss-mdns`. 

I didn't try uninstalling `libavahi-compat-libdnssd-dev` or  `libudev-dev` to check if those are not needed for DietPi installations, but what solved in my case was installing this extra package.

I hope it helps someone in the future
@linux-foundation-easycla
Copy link

CLA Not Signed

  • ❌ login: lscarneiro / name: Luiz Eduardo Carneiro (fb9d360). This user is authorized, but they must confirm their affiliation with their company. Start the authorization process by clicking here, click "Corporate",select the appropriate company from the list, then confirm your affiliation on the page that appears. For further assistance with EasyCLA, please submit a support request ticket.

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

Successfully merging this pull request may close these issues.

1 participant