Can't connect with my servers plugin


Recommended Posts

I am getting the "Cannot read properties of undefined(reading 'toLowerCase')" error also, and when I try to sign out, I get an error that my USB GUID is invalid.

 

I saw a couple other posts from a month ago saying the plugin would be updated to fix this, but the plugin updated since then and still having this issue.  Is my USB actually bad?  It is a cheap USB stick 🤷‍♂️

myservers.png

usb.png

Link to comment
  • 2 weeks later...
On 4/11/2023 at 5:18 AM, jay9055 said:

I had the same issue after purchasing a license just the other day. I solved it today by signing out of my servers on the settings page (/Settings/ManagementAccess), finishing setup, then signing back in on the settings page. 

It won't let me sign out there either.  Just keeps saying my USB GUID is invalid.

 

I swapped USB sticks, but still getting the same error.

 

Is there a way to delete the plugin config files somewhere?  I tried uninstalling and reinstalling the plugin, no help.

Link to comment

I noticed the i button in the top left corner gives some information about this problem, the GUID is listed as GUID-NOT-RECEIVED (which is why the error is saying my GUID ends in IVED and it's invalid).  There doesn't seem to be any way to log out, and it looks like it saves the incomplete or corrupt installation through the uninstall process.

Link to comment

I removed the plugin, then deleted the /boot/config/plugins/dynamix.my.servers directory.  When I reinstalled the plugin, it had me login and link the server to my account again, but it just went back to giving me the "invalid GUID" and "Cannot read properties of undefined(reading 'toLowerCase')" errors again.

Link to comment

Still having the same issue.  Tried deleting the plugin folder and reinstalling, it let me sign in and said the server was registered, but as soon as I went back to the dashboard the "toLowerCase" issue returned.

2023-04-27 00_20_56-Unraid_Dashboard.png

Edited by YsarKain
added screenshot
Link to comment

Based on similar reports from other users, there is a good chance your flash drive needs to be replaced.

 

But if you're able to hold off a bit, we will soon have a new release that will definitely not give the "tolowercase" message. I'd like to see what message it does give instead (we have not been able to reproduce this problem ourselves)

Link to comment

I replaced the flash drive a few days ago, and still got the message.  A second flash drive, same model/size (Kingston Datatraveller 32GB, purchased at the same time as the current flash drive) worked fine connecting to my servers on my trial install of 6.12.

 

I also found this which may give a little more info:

2015676614_2023-04-2722_06_44-Unraid.netAccount.png.1bc6b21a307572a44ca5856ec30308ea.png

Link to comment

Hi folks, please update to today's release:

https://forums.unraid.net/topic/138392-unraid-connect-plugin-announcements/#comment-1257785

 

It should be impossible to see this message any longer:

  "cannot read properties of undefined (reading 'tolowercase')"

but I am not sure what it will be replaced with as we have not been able to reproduce this.

 

If you continue to have issues, please go to Settings -> Management Access -> Unraid Connect and see the new section on how to download and submit logs. Once we have the logs we should be able to get to the bottom of this.

  • Like 1
Link to comment
  • 2 weeks later...

Hi @YsarKain, it is very likely that one of the config files on your flash drive is corrupt. Replacing the flash drive is a good first step but the problem will remain if you copy a corrupt file from the old one to the new one. 

 

Please see my comment here to send us the info we need to figure out which file on your flash drive is corrupt:
https://forums.unraid.net/topic/134517-cannot-read-properties-of-undefined-reading-tolowercase/#comment-1263126

 

Link to comment
  • 4 weeks later...

Sorry for not getting back to you on this earlier,  I haven't been working on this issue since everything else is working ok.

 

I looked in /var/log/unraid-api/stderr.log and I get:

[2023-06-15T06:00:01.841] [21605] [ERROR] [emhttp] Failed loading state file from "/usr/local/emhttp/state/var.ini" with "Value "" is not false/true or no/yes."

 

very similar to what the other guy was getting.  But there are a bunch of variables set to "" in /usr/local/emhttp/state/var.ini:

localMaster=""
WSD_OPT=""
WSD2_OPT=""
shareUserInclude=""
shareUserExclude=""
regCheck=""
fsProgress=""
fsUnmountableMask=""

 

Link to comment