-
Notifications
You must be signed in to change notification settings - Fork 1
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
Upgrading the SK server using provided functions impossible #7
Comments
Manual reparation as below, using truncated PATH not containing my settings:
Which runs fine except with some error messages because the truncated PATH excludes all my own stuff, including Python:
Now, execution:
|
Hi @Canne, |
For the broken update problem, I already had this case and it seems to be caused by the use of the example file by SignalK (aava-n2k.data) during the update. |
And finally, command line PATH concatenation is indeed a problem when the PATH is very long (2047). Can you give me your complete PATH before transformation so that I can do some tests? (Here or on SLACK) |
Hi, the %PATH% is in Slack DM now. If that is the root cause, maybe the following, in your script need to be changed:
to
and then make evolve the PATH so that it is self contained, making that window to run totally out of the user (messy) context, i.e. having no dependencies on third party programs. |
BTW, the outcome of your work (and others) is so stable and soooo useful: since I am in USB and network streaming only, I think I will get rid off the RPI on my boat and run this one instead on my navigation Win 10 station which is turned on all the time, anyway. Absolutely great job, especially that "run as service" - job you did. Thanks a bunch! |
@Canne , |
on Microsoft Defender problem, I can now reproduce it in my virtual machine and submit a request to the Microsoft team. |
Great, thanks! I will, of course help in testing later on. Right now I have signalk-server 1.35.2. |
@Canne , |
Regarding virus detection in the installer by Microsoft Defender, I have just released version 0.4.0. |
As nodeJs and Openssl have been updated with the latest version, I think it's better to delete everything. |
I just thought SignalK now has a function to save the configuration in |
Hi, after the Downloading (as above) 0.4.0 no messages from Defender, just the usual warning from Vivaldi as for all *.exe. Installation is faster and smaller in size 256MB than before (was +500MB), # of files 30k vs +50k before. Restoration of settings (boat) and plug-ins (could not get plug-in list though in server settings but after a restart) worked, and the admin user was there. However, connection settings and my test data recording files were not there after the Restore and I restored those manually from my own backups. I am not sure in which path they supposed to be, in C:\signalk\signalkhome to get backed up? SSL works on localhost:3443 OK. I am now on 1.35.2 - let's wait for the server upgrade being suggested to resolve the original issue of upgrade freezing. Meanwhile, thanks a lot for your great support and effort! |
The |
For the backup, it only takes the json files and plugins present in |
If you don't want to be impacted anymore by the bug of the files open at the next update, you can manually switch to the beta version which already has the patch.
If you want revert to the actual version: |
Hi, I suggest that you resolve this thread which has grown out of its title: I am pleased to confirm that I have successfully finished all the tests of my own software using your very stable and easy to use packaging for Windows in the execution of my test plans needing Signal K data. Thank you so much! I wanted to finish by contributing to your work and to this ticket but unfortunately the update from 1.35.2 to 1.37.2 failed and for the exactly same reason and exactly the same way - I have been looping aavan2k.data the same. But that is not important if the update works otherwise, my use case is not the usual one, of course. Finally and FYI, in my own software NSIS-built *.exe installer I encounter similar warnings from Defender whenever I have node_modules in it. I took them away, the Defender is happy. They just don't like some pattern and/or scripting in general and declare some creepy Trojan horse. So, also from that point of view, if you like you can resolve this ticket. Once again, many thanks for this very useful work! |
On the server, the GUI suggested a update from 1.34.0 to 1.35.2. Using GUI failed by getting stuck without saying anything after running for a while in the CLI. After which, the 'signalk-server' became unusable, impossible to restart.
Reinstall all from the .exe seems to be the only option to get updates (or from the command line but that breaks the idea of the usability of this package, I reckon).
For the reinstall, also an issue for the end user was then detected, on
https://github.com/SignalK/signalk-server-windows/releases/tag/v0.3.2
on October version Win10 20H2 MS Defender finds Trojan:Win32/Zpevdo.B from the installer and removes the download at early stage.
I am not using this Signal K for navigation (yes, I have a RPI) but for SW testing. I have the means to fix the issue myself. However, this is likely to happen as well to a non-developer who would give up, perhaps?
The text was updated successfully, but these errors were encountered: