-
Notifications
You must be signed in to change notification settings - Fork 572
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
Running server update for 1.1.4 to 1.1.13 on Windows completely broke installation. #5440
Comments
Finally found a working WindowsInstaller link. Re-installed, put my config.json back in after the re-install. Launched the Windows Service and it didn't work. :(. Launched MeshCentral from the command line. It looks like it went through some additional "installing" steps as the files and folders in the node-module path were updated and then, hoozah, it started working. Closed the command line instance and tried to launch the Windows Service and all is back to working again. |
Just released v1.1.14 that should fix update issues. This new version has a bunch of fixes on how new modules are installed. You may get you MeshCentral auto-updated to v1.1.14 due to a NPM behavior, but once on 1.1.14, you should be fine. |
@CSW2000 please can u open a separate issue as u have multiple things wrong here like mysql config and config.json issues |
Ran the v1.1.14 update via the server's web ui. Took a little under 5 minutes. No issues seen. |
this is how to fix this type of issue:
|
Describe the bug
Under Windows 10. I ran the built-in auto update to go to the latest 1.1.13 version. Left the system alone for at least 20 minutes and nothing seemed to be happening. Meshcentral wasn't restarting, nothing was going on. Rebooted the server and meshcentral service would not start. Went swimming for log files and found the meshcentral.err.log for the service but the file permissions blocked access. File permissions were a mess throughout the meshcentral folder for some reason. I reset the permissions to inherited and opened the Meshcentral.err.log file and the immediate errors are:
Node.js v18.18.2
node:internal/modules/cjs/loader:1080
throw err;
^
Error: Cannot find module 'C:\Program Files\MeshCentral\node_modules\node-windows\lib\wrapper.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
I went looking for the missing module and the entire folder tree starting with node-windows doesn't exist.
I think I need to fully re-install MeshCentral. However, none of the links I've found for the Windows installer work. They all return 404 errors. How do I re-install on Windows?
Thanks
The text was updated successfully, but these errors were encountered: