Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid API not starting: Unexpected end of JSON input

Featured Replies

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.

image.png

This is what I am seeing on the settings page.

Iimage.png

I 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 by Sander0542

  • Sander0542 changed the title to Unraid API not starting: Unexpected end of JSON input
  • 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/paste

unraid-api stop

mv /boot/config/plugins/dynamix.my.servers/ /boot/config/plugins/dynamix.my.servers.bak/

unraid-api start

Then reinstall the Connect plugin and try again

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.