2024-03-04, 09:12 PM
Hello all. After trying to update SignalK last night, the update itself reported a failure at the end. I attempted to use the SignalK installer to re-install, but I was left with a non functioning system It appears that the server will not start. I get a "localhost refused to connect" message when I try to access it. I am attempting to follow the directions here: https://github.com/SignalK/signalk-serve...-Questions to re-install, but I am getting the following errors when I do:
npm ERR! code EACCES
npm ERR! syscall symlink
npm ERR! path ../lib/node_modules/signalk-server/bin/signalk-server
npm ERR! dest /usr/bin/signalk-server
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/signalk-server/bin/signalk-server' -> '/usr/bin/signalk-server'
npm ERR! [Error: EACCES: permission denied, symlink '../lib/node_modules/signalk-server/bin/signalk-server' -> '/usr/bin/signalk-server'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
npm ERR! path: '../lib/node_modules/signalk-server/bin/signalk-server',
npm ERR! dest: '/usr/bin/signalk-server'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-03-04T19_59_46_006Z-debug-0.log
I have tried to manually adjust the permissions of the directories in the /usr/lib/node_modules/signalk-server area, but I am still getting the errors. Does anyone have any suggestions? I already blew away all of my configuration data when I tried to reinstall with the Signalk installer last night, so starting from ground zero with signalK is an option.
Thanks,
Chad
npm ERR! code EACCES
npm ERR! syscall symlink
npm ERR! path ../lib/node_modules/signalk-server/bin/signalk-server
npm ERR! dest /usr/bin/signalk-server
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/signalk-server/bin/signalk-server' -> '/usr/bin/signalk-server'
npm ERR! [Error: EACCES: permission denied, symlink '../lib/node_modules/signalk-server/bin/signalk-server' -> '/usr/bin/signalk-server'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
npm ERR! path: '../lib/node_modules/signalk-server/bin/signalk-server',
npm ERR! dest: '/usr/bin/signalk-server'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2024-03-04T19_59_46_006Z-debug-0.log
I have tried to manually adjust the permissions of the directories in the /usr/lib/node_modules/signalk-server area, but I am still getting the errors. Does anyone have any suggestions? I already blew away all of my configuration data when I tried to reinstall with the Signalk installer last night, so starting from ground zero with signalK is an option.
Thanks,
Chad