Posted November 23, 20195 yr I was playing around with registering another node server, "slot 2". I think I might have been trying remote (not sure) was probably doing something wrong. I might have tried to delete slot 2 from the ISY. Anyway, I do not have slot 2 available anymore and I should. ISY shows slot 2 empty and there's no node servers configure on my Polyglot cloud. I even removed what I had in slot 1 to start from scratch. /var/polyglot/nodeservers is completely empty. Now I see all slots available 1-25 except 2. It must be stuck half configured somewhere. Any idea how I can recover slot 2 and make it available again?
November 24, 20195 yr @theitprofessor, Just to be clear, currently you don't have any node servers installed? With kind regards, Michel
November 25, 20195 yr @theitprofessor I have no idea how you'd delete profile information from a slot that's populated from Polyglot cloud. This only applies to a locally instanced version of Polyglot (assuming that you're looking at your installation of Polyglot on your Polisy, since you're posting this in a Polisy thread). Additionally, I don't know if things have changed with the newer versions of Polyglot installed on the Polisy (database schemas can change, so use the technique below at your own risk, or get confirmation from UDI if you're uneasy), but you might need to delete the data for slot 2 from the locally instanced database on you Polisy. I've done this on my RPi when I've wanted to manage a problem that appeared to be similar. At the command line as the normal 'admin' user: mongo polyglot --eval "db.nodes.remove({'profileNum':'2'})" Like I say, this has worked for me in the past on earlier versions of Polyglot running on my RPi. If for some reason this borks your local installation, you may need to drop the Polyglot database and start over. There are instructions on how to do that in the "Inital Feedback" thread.
November 26, 20195 yr Author @Michel Kohanim Well currently I have 1 node server installed “Hue” because I put it back in. But when I posted this I had zero node servers installed. I can remove slot 1 again if I need to. It’s no big deal to re-add it. And yes slot 2 was and is still missing. Michel do you suggest I delete the data from slot 2 like Bumbershoot suggests?
November 26, 20195 yr @theitprofessor, I think what @Bumbershoot suggested is a good idea. With kind regards, Michel
November 27, 20195 yr Author @Michel Kohanim No joy! [admin@polisy ~]$ mongo polyglot --eval "db.nodes.remove({'profileNum':'2'})" MongoDB shell version v3.4.23 connecting to: mongodb://127.0.0.1:27017/polyglot MongoDB server version: 3.4.23 WriteResult({ "nRemoved" : 0 }) [admin@polisy ~]$ Restarted Polyglot and Slot 2 is still missing Edited November 27, 20195 yr by theitprofessor
November 27, 20195 yr 6 hours ago, theitprofessor said: @Michel Kohanim No joy! [admin@polisy ~]$ mongo polyglot --eval "db.nodes.remove({'profileNum':'2'})" MongoDB shell version v3.4.23 connecting to: mongodb://127.0.0.1:27017/polyglot MongoDB server version: 3.4.23 WriteResult({ "nRemoved" : 0 }) [admin@polisy ~]$ Restarted Polyglot and Slot 2 is still missing Well, it appears the issue isn't caused by Polyglot on your Polisy. Does the "Node Servers | Configure" show the value of " -- Empty -- " for slot 2 in you AC? Example: slot 10 in the screenshot.
November 28, 20195 yr Author That is correct - ISY AC shows, Node Servers > Configure > [02] - Empty -. Polisy/Polyglot shows "2" missing from Available Node Server Slots.
November 29, 20195 yr @theitprofessor, I am so very sorry to hear. We are looking into it. With kind regards, Michel
Archived
This topic is now archived and is closed to further replies.