theitprofessor Posted November 23, 2019 Posted November 23, 2019 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?
Michel Kohanim Posted November 24, 2019 Posted November 24, 2019 @theitprofessor, Just to be clear, currently you don't have any node servers installed? With kind regards, Michel
Bumbershoot Posted November 25, 2019 Posted November 25, 2019 @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.
theitprofessor Posted November 26, 2019 Author Posted November 26, 2019 @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?
Michel Kohanim Posted November 26, 2019 Posted November 26, 2019 @theitprofessor, I think what @Bumbershoot suggested is a good idea. With kind regards, Michel
theitprofessor Posted November 27, 2019 Author Posted November 27, 2019 @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
Bumbershoot Posted November 27, 2019 Posted November 27, 2019 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.
theitprofessor Posted November 28, 2019 Author Posted November 28, 2019 That is correct - ISY AC shows, Node Servers > Configure > [02] - Empty -. Polisy/Polyglot shows "2" missing from Available Node Server Slots.
Michel Kohanim Posted November 29, 2019 Posted November 29, 2019 @theitprofessor, I am so very sorry to hear. We are looking into it. With kind regards, Michel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.