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

Server not updatable in Raspbian buster due to incorrect hardcoded path #857

Closed
EMarge opened this issue Aug 15, 2019 · 0 comments · Fixed by #859
Closed

Server not updatable in Raspbian buster due to incorrect hardcoded path #857

EMarge opened this issue Aug 15, 2019 · 0 comments · Fixed by #859

Comments

@EMarge
Copy link

EMarge commented Aug 15, 2019

I get 'This installation is not updatable' instead of 'up to date'. This seems to be caused by a move of directory, probably in the new rasbian buster.
image

The node modules directory has moved from
/usr/lib/node_modules/signalk-server/bin/signalk-server
to
/usr/local/lib/node_modules/signalk-server/bin/signalk-server

Causing this check to fail.
https://github.com/SignalK/signalk-server-node/blob/451af35eea856c809f52cdf55bc879cd1ebc9038/lib/interfaces/appstore.js#L128

Running Raspbian GNU/Linux 10 (buster) on Raspberry Pi 4 with Signalk-server 1.17.0 installed via NPM.

Not sure if a valid solution would be just to || the new path in the equation or that someone else has a nicer solution.

tkurki added a commit that referenced this issue Sep 8, 2019
* fix: allow server updates when installed in /usr/local

fixes #857

* refactor: use list npmServerInstallLocations
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 a pull request may close this issue.

1 participant