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.

JSON Error

Featured Replies

Hi All,

 

I have just installed and set up My Servers, while it works fine it always shows an error - does anyone know how to fix this;

 

image.png.a0f7b498bc54304fd7ea78971d777903.png

 

Many thanks

  • 1 month later...

any update on this please i have the same problem

 

thanks

2 hours ago, grimbo007 said:

any update on this please i have the same problem

Have you updated the plugin ? What version of Unraid are you using ?

using 6.10.rc-8 and had this most of this morning it has sorted it`s self now thank you I have done several restarts for one thing and another so all good now.

thank you for the reply

  • Author
9 hours ago, grimbo007 said:

any update on this please i have the same problem

 

thanks

Not had any help yet... was begining to think I was the only person with this problem.

  • Author
6 hours ago, ChatNoir said:

Have you updated the plugin ? What version of Unraid are you using ?

 

UnRAID = 6.9.2

 

I didnt see that there was a  newer plugin version (when I originally raised issed I was using the latest version), so have upgraded MyServers to version 2022.05.10.1726 tonight and checked to see if there is JSON error still showing... there isnt - But it now says "Current Server Not Connected to Mothership" !!

 

Any ideas as it certainly looks connected as I can access it alright.

I can connect just fine, so it's not a general issue.

You might want to wait a bit a see if the connection takes some time.

 

At least now, Jim will have more information on Monday to help you out if things are not back to normal.

Sorry, I'm not sure how I missed this thread.

 

In general, the first step is to go to the Plugins page and confirm you are running the latest My Servers plugin. It sounds like you are, great!

 

For any error shown in the UPC, you'll want to open a web terminal and run:

unraid-api start

Give everything a minute or two to start up, then check the UPC again, hopefully all is good.

 

If not, please post a new screenshot. 

 

 

Note: if you see "Current Server Not Connected to Mothership", the command above should resolve it. But at this point it isn't going to cause you major issues either way.

  • Author

Hi @ljm42

 

OK, at the moment there is no JSON error showing - but I do have this;

 

image.png.42a74040bb788de4666db322c3ca40cb.png

 

So, I ran the command from an SSH terminal;

 

image.png.79900876fdbc1577e474c01942d5b112.png

 

But still have the "not connected" error ?

 

Everything seems to work fine - just annoying seeing this error showing.

 

image.png

image.png

21 minutes ago, SliMat said:

But still have the "not connected" error ?

 

It can take a few minutes for the connection to happen, but if it hasn't happened by now it probably isn't going to.

 

Would you please show me the output of this?

unraid-api report

 

  • Author
3 hours ago, ljm42 said:

Would you please show me the output of this?

unraid-api report

 

Yes, it still shows as not connected... here is the output;

 


<-----UNRAID-API-REPORT----->
SERVER_NAME: DL380p-Rack
ENVIRONMENT: production
UNRAID_VERSION: 6.9.2
UNRAID_API_VERSION: 2.46.3 (running)
NODE_VERSION: v14.15.3
API_KEY: valid
MY_SERVERS: authenticated
MY_SERVERS_USERNAME: SliMat
RELAY: connected
MOTHERSHIP: ok
ONLINE_SERVERS:
OFFLINE_SERVERS: DL380p-Rack
HAS_CRASH_LOGS: no
</----UNRAID-API-REPORT----->

 

Thanks. This has some good datapoints for us to help track down the issue. For now please ignore the error message.

Actually, would you please DM me the non-anonymized output from this command:

unraid-api report -vv

It will give just a little more info to see what is going on

  • Author
55 minutes ago, ljm42 said:

Actually, would you please DM me the non-anonymized output from this command:

unraid-api report -vv

It will give just a little more info to see what is going on

 

No worries - just DM'd it to you.

  • Author

Glad to help

  • 5 months later...

@ljm42

 

I have the same error at the moment after upgrading both of my servers to the latest version as of today. 1 server is fine the other has this message.

 

Tried all the above. unraid-api restart etc.

 

SERVER_NAME: GALACTICA
ENVIRONMENT: production
UNRAID_VERSION: 6.11.2
UNRAID_API_VERSION: 2.53.0
UNRAID_API_STATUS: running
API_KEY: valid
MY_SERVERS: authenticated
MY_SERVERS_USERNAME: BelgarionNL
CLOUD:
        STATUS: [ok]  
RELAY:
        STATUS: [connected]  
MINI-GRAPH:
        STATUS: [connected]

 

 

On 11/5/2022 at 4:06 PM, BelgarionNL said:

@ljm42

 

I have the same error at the moment after upgrading both of my servers to the latest version as of today. 1 server is fine the other has this message.

 

Tried all the above. unraid-api restart etc.

 

SERVER_NAME: GALACTICA
ENVIRONMENT: production
UNRAID_VERSION: 6.11.2
UNRAID_API_VERSION: 2.53.0
UNRAID_API_STATUS: running
API_KEY: valid
MY_SERVERS: authenticated
MY_SERVERS_USERNAME: BelgarionNL
CLOUD:
        STATUS: [ok]  
RELAY:
        STATUS: [connected]  
MINI-GRAPH:
        STATUS: [connected]

 

 

 

There are a couple of different things mentioned in this thread. If you are seeing the message that says "JSON.parse: unexpected character..." then I'm guessing you are using a reverse proxy to access the webgui? Those are not currently supported.

 

If you run:

unraid-api report -vv

the section titled ALLOWED_ORIGINS will list the URLs that will work with your My Servers installation.

 

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.