August 15Aug 15 When I am trying to start the Unraid Connect plugin I am seeing the following error.SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at Configuration.getAllSync (/usr/local/unraid-api/node_modules/pm2/lib/Configuration.js:304:17) at Configuration.getSync (/usr/local/unraid-api/node_modules/pm2/lib/Configuration.js:275:30) at new API (/usr/local/unraid-api/node_modules/pm2/lib/API.js:116:44) at Object.<anonymous> (/usr/local/unraid-api/node_modules/pm2/lib/binaries/CLI.js:27:11) at Module._compile (node:internal/modules/cjs/loader:1688:14) at Object..js (node:internal/modules/cjs/loader:1820:10) at Module.load (node:internal/modules/cjs/loader:1423:32) at Function._load (node:internal/modules/cjs/loader:1246:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14)This is what I am seeing on the profile popup.This is what I am seeing on the settings page.II tried restarting the API multiple times, I removed and installed the plugin multiple times, but for some reason is it not working anymore. Any clue as to why the JSON input is invalid and from which JSON files this coming?I check all the JSON files in the boot/config/plugins/dynamix.my.servers/configs folder, but they were all valid JSON. Edited August 15Aug 15 by Sander0542
August 16Aug 16 Community Expert You can try this (you may need to reconfigure some Connect options/settings if they were already set)Uninstall the Connect plugin first (Plugins tab)Then open a terminal window and type or copy/pasteunraid-api stopmv /boot/config/plugins/dynamix.my.servers/ /boot/config/plugins/dynamix.my.servers.bak/unraid-api startThen reinstall the Connect plugin and try again
August 28Aug 28 Author The uninstall plugin scripts keeps hanging on an unraid-api command. I ended up removing all the plugin config files and restarted the server. After that I installed the plugin, it worked for a week and now back to this problem
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.