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

Node update not supported - Alpine Linux #745

Closed
mbierman opened this issue Jun 18, 2020 · 4 comments
Closed

Node update not supported - Alpine Linux #745

mbierman opened this issue Jun 18, 2020 · 4 comments
Labels

Comments

@mbierman
Copy link

mbierman commented Jun 18, 2020

Describe The Bug:
The node update failed when I tried to update to 18.1

/homebridge # sudo hb-service update-node
ℹ Updating Node.js from v12.18.0 to v12.18.1...
✖ Your version of Linux is not supported by this command.
/homebridge # 

To Reproduce:
Run the command sudo hb-service update-node

Expected behavior:
node update will complete

Logs:

Show the Homebridge / Homebridge Config UI X logs here.

Homebridge Config:

	{
	    "bridge": {
	        "name": "Homebridge Synology",
	        "username":"*****",
	        "port": *****
	        "pin": "*****"
	    },
	    "accessories": [
	        {
	            "accessory": "PowerlossIFTTTNotifier",
	            "name": "PowerlossIFTTTNotifier",
	            "IFTTTkey":"*****",
	            "IFTTTservice": "*****",
	            "IFTTTvalue2": "Homebridge started at",
	            "IFTTTvalue3": false
	        },
	        {
	            "accessory": "Synology",
	            "name": "Pigpen",
	            "ip": "*****",
	            "mac": "*****",
	            "port": "5001",
	            "secure": true,
	            "account":"*****",
	            "password":"*****",
	            "version": 6,
	            "timeout": *****
	            "disabled": [
	                ""
	            ],
	            "doPolling": true,
	            "pollingInterval": 120
	        },
	        {
	            "accessory": "neurio",
	            "name": "neurio",
	            "location": "*****",
	            "username": "*****",
	            "password":"*****",
	            "options": {
	                "ttl": 30,
	                "verboseP": false
	            }
	        },
	        {
	            "name": "Garage Door",
	            "username": "*****",
	            "password": "*****",
	            "accessory": "Chamberlain"
	        },
	        {                   
	            "accessory":  "HTTP-SWITCH",
	            "name": "Flo",
	            "switchType": "stateful",
	            "pullInterval": 5000,
	            "debug": false,
	            "statusPattern" : "true",
	            "onUrl": {
	                "url":"https://...",
	                "method": "GET"
	            },
	            "offUrl": {
	                "url":"https://...",
	                "method": "GET"
	            },
	            "statusUrl" : {
	                "url": "https://...",
	                "method": "GET",
	                "headers": {
	                    "Accept": "application/json",
	                    "Authorization" : "Basic ****"},
	                }
	            }
	        },
	        {
	            "accessory": "AutomationCalendar",
	            "name": "AutomationCalendar",
	            "latitude":   ***,
	            "longitude":   ***,
	        },
	        {
	            "accessory": "Schedule",
	            "name": "Hourly",
	            "interval": 60
	        }
	    ],
	    "platforms": [
	        {
	            "name": "Config",
	            "port": 8581,
	            "auth": "form",
	            "theme": "blue",
	            "tempUnits": "f",
	            "lang": "auto",
	            "sessionTimeout": *****
	            "log": {
	                "method": "null"
	            },
	            "accessoryControl": {
	                "debug": true
	            },              
	            "platform": "config"
	        },
	        {
	            "platform": "Nest",
	            "name": "Nest",
	            "access_token":"****",
	        },
	        {
	            "platform": "TuyaWebPlatform",
	            "name": "Smart Life",
	            "options": {
	                "username":"*****",
	                "password":"*****",
	                "countryCode": "1",
	                "platform": "smart_life",
	                "pollingInterval": 120
	            }
	        },
	        {
	            "platform": "WeatherPlus",
	            "units": "us",
	            "interval": 5,
	            "stations": [
	                {
	                    "nameNow": "Now",
	                    "service": "openweathermap",
	                    "key":"******",
	                    "locationGeo": [
	                        *****
	                        -121.96
	                    ],
	                    "locationCity": "*****",
	                    "language" : "en",
	                    "compatibility": "both",
	                    "forecast": [
	                        0
	                    ],
	                    "conditionCategory": "detailed",
	                    "now": true,
	                    "extraHumidity": false,
	                    "hidden": [
	                        "Air Pressure",
	                        "Observation Station",
	                        "Observation Time",
	                        "Snow"
	                    ],
	                    "tresholdCloudCover": 30,
	                    "tresholdUvIndex": 4,
	                    "tresholdWindSpeed": 10
	                }           
	            ]
	        }
	    ]
	}

Screenshots:

Environment:

  • Node.js Version: 12.18.0
  • NPM Version: 6.14.5
  • Homebridge Version: 1.1.1
  • Homebridge Config UI X Version:
  • Operating System: Docker
  • Process Supervisor: Docker
    Alpine Linux (running in a Docker on a Synology) | 3.11.6
@mbierman mbierman added the bug label Jun 18, 2020
@oznu
Copy link
Member

oznu commented Jun 18, 2020

Thanks for testing this.

Alpine Linux is not supported - Node.js does not provide pre-built binaries for this platform.

Alpine uses MUSL-libc whereas the binaries provide by Node.js require GLIBC.

The update correctly identified your platform as not supported by this feature 😄

I'll have an updated Docker image with 12.18.1 up tomorrow - the binaries are still cross compiling...

@oznu oznu changed the title Node update failed Node update failed - Alpine Linux Jun 18, 2020
@oznu oznu changed the title Node update failed - Alpine Linux Node update not supported - Alpine Linux Jun 18, 2020
@mbierman
Copy link
Author

o.k. no problem. Maybe the docs can be updated a bit to clarify that this bistro isn't supported.

@oznu oznu closed this as completed Jun 19, 2020
@oznu
Copy link
Member

oznu commented Jun 19, 2020

Next release will detect Alpine / Docker and tell you why:

image

@mbierman
Copy link
Author

Awesome. Thanks, @oznu.

@oznu oznu mentioned this issue Jun 23, 2020
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

2 participants