On restart server plugins have trouble to load.

Posted on
Sun Oct 27, 2019 8:58 am
Vaillant offline
Posts: 105
Joined: Nov 06, 2011
Location: Belgium

On restart server plugins have trouble to load.

Hello,

I noticed that on a restart of the server different plugins have trouble to load.

What I see:
- Fase 1: Loading / Starting plugin for all enabled plugins.
- Fase 2: Started plugins.
- Fase 3: Errors (failed to start -- restarting) for a few plugins.
- Fase 4: Reloading / Starting plugins with an error.
- Fase 5: Application Error, ServerCommunicationError -- timeout waiting for response.

Most of the time I see fase 1 through 4. Result is that plugins eventually do start. But why does this happen and how to prevent.
Fase 5 does not happen often.

Greetings,
Adrian

Posted on
Sun Oct 27, 2019 9:35 am
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: On restart server plugins have trouble to load.

Posting the log contents when this happens is pretty much a necessity for figuring this out.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Jan 19, 2020 10:37 pm
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: On restart server plugins have trouble to load.

Similar problem. New 2018 Mini, Mojave 14.6, clean install of Indigo.

Code: Select all
Jan 19, 2020 at 11:31:46 PM
   Starting Indigo Server version 7.4.0 (Mac OS X 10.14.6)
   Loading database "/Library/Application Support/Perceptive Automation/Indigo 7.4/Databases/Fairlawn 2013 2.indiDb"
   Loading plugin "Cynical Behaviors 1.2.1"
   Starting plugin "Cynical Behaviors 1.2.1" (pid 49225)
   Loading plugin "Twilio 7.2.0"
   Starting plugin "Twilio 7.2.0" (pid 49226)
   Loading plugin "Onkyo Network Remote Plugin 2.1.3"
   Starting plugin "Onkyo Network Remote Plugin 2.1.3" (pid 49227)
   Loading plugin "EPS - Chained Events 0.2.0"
   Starting plugin "EPS - Chained Events 0.2.0" (pid 49228)
   Loading interface "Z-Wave 2.0.124"
   Starting interface "Z-Wave 2.0.124" (pid 49229)
   Loading plugin "Autelis Jandy 1.2.9"
   Starting plugin "Autelis Jandy 1.2.9" (pid 49230)
   Loading plugin "NOAA Weather Plus 1.1.19"
   Starting plugin "NOAA Weather Plus 1.1.19" (pid 49231)
   Loading plugin "GhostXML 0.4.46"
   Starting plugin "GhostXML 0.4.46" (pid 49232)
   Loading plugin "Simple Serial Plugin 0.9.5"
   Starting plugin "Simple Serial Plugin 0.9.5" (pid 49233)
   Loading plugin "EPS - Alarm Clock 1.1.1"
   Error                           unable to start plugin host process
   Loading interface "Virtual Devices 2.0.5"
   Error                           unable to start plugin host process
   Loading plugin "AD2USB Alarm Interface 1.6.0"
   Error                           unable to start plugin host process
   Loading plugin "Phidgets Plugin 0.7.4"
   Error                           unable to start plugin host process
   Loading plugin "iTunes Local Control 0.0.7"
   Error                           unable to start plugin host process
   Loading plugin "Global Property Manager 2.0"
   Error                           unable to start plugin host process
   Loading plugin "Smartphone Radar 1.1.3"
   Error                           unable to start plugin host process
   Loading plugin "Meta Device 0.9.9"
   Error                           unable to start plugin host process
   Loading plugin "Timers and Pesters 2.0.2"
   Error                           unable to start plugin host process
   Loading plugin "RFXCOM 2.1.16"
   Error                           unable to start plugin host process
   Loading plugin "EPS - Super Conditions 0.6.2"
   Error                           unable to start plugin host process
   Loading plugin "EPS - Device Extensions 2.0.4"
   Error                           unable to start plugin host process
   Loading plugin "NOAA Weather 2.0.1"
   Error                           unable to start plugin host process
   Loading interface "INSTEON Commands 2.2.2"
   Error                           unable to start plugin host process
   Loading plugin "SQL Logger 2.1.0"
   Error                           unable to start plugin host process
   Loading plugin "Action Collection 2.1.5"
   Error                           unable to start plugin host process
   Loading plugin "iTunes 2.0.4"
   Error                           unable to start plugin host process
   Found disabled plugin "Growl 2.0.2"
   Found disabled plugin "Thermostat Enhancement Add-On 1.10"
   Found disabled plugin "TED 5000 Plugin 1.0.5"
   Found disabled plugin "UPS and Battery Monitor 1.02"
   Found disabled plugin "Foscam Controller 1.0.3"
   Found disabled plugin "Foscam HD Controller 2.3.5"
   Found disabled plugin "WUnderground 0.9.03"
   Found disabled plugin "Plex Media Server Manager 0.7.15"
   Found disabled plugin "Vera Bridge 1.0.10"
   Found disabled plugin "Google Voice SMS 1.2.0"
   Found disabled plugin "INDIGOplotD 7.18.55"
   Found disabled plugin "Airfoil Pro 1.0.9"
   Found disabled plugin "EasyDAQ Relay Card 2.0.3"
   Found disabled plugin "Airfoil 1.1.14"
   Found disabled plugin "WeatherSnoop 3.0.0"
   Found disabled plugin "iCal Alarm Processor 2.0.1"
   Error                           unable to start Web server
   Error                           failed to create reflector connection
   Error                           reflector reconnection scheduled in 15 minutes
   Cynical Behaviors               API version 2.2
   Cynical Behaviors               Python version 2.7.10.final.0
   Started plugin "Simple Serial Plugin 0.9.5"
   Started plugin "Cynical Behaviors 1.2.1"
   GhostXML                       
   GhostXML                        ================================================ Initializing New Plugin Session =================================================
   GhostXML                        Plugin name:                   GhostXML
   GhostXML                        Plugin version:                0.4.46
   GhostXML                        Plugin ID:                     com.fogbert.indigoplugin.GhostXML
   GhostXML                        Indigo version:                7.4.0
   GhostXML                        Python version:                2.7.10 (default, Feb 22 2019, 21:55:15) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)]
   GhostXML                        Process ID:                    49232
   GhostXML                        ==================================================================================================================================
   Started plugin "GhostXML 0.4.46"
   Started plugin "Autelis Jandy 1.2.9"
   Started plugin "NOAA Weather Plus 1.1.19"
   Started plugin "Twilio 7.2.0"
   Twilio                          Starting Twilio
   Started plugin "Onkyo Network Remote Plugin 2.1.3"
   Started interface "Z-Wave 2.0.124"
   Trigger                         Leak Sensors Dead Battery Cynical Behavior
   Trigger                         Twilio SMS Var Sub Send SMS to Ham ONLY
   NOAA Weather Plus               Your plugin version, v1.1.19, is current.
   Z-Wave                          connected to Generic Controller interface on /dev/cu.GoControl_zwave (firmware 4.32)
   Started plugin "EPS - Chained Events 0.2.0"
   Error                           unable to execute action -- device plugin Action Collection not running
   Error                           unable to execute action -- device plugin Action Collection not running
   Error                           unable to execute action -- device plugin Action Collection not running
   Trigger                         Weather NOAA Set and Parse Tonight Forecast
   Error                           unable to execute action -- device plugin Action Collection not running
   Error                           unable to execute action -- device plugin Action Collection not running
   Autelis Jandy Error             versionCheck: Unable to reach the version server.
   Autelis Jandy                   Saved Plugin Configuration
   Autelis Jandy Error             Socket: 10.0.1.40:6000 not open to close
   Autelis Jandy Error             Socket: 10.0.1.40:6000 failed to connect. Please check the plugin configuration.
   Indigo Cocoa client connected

Jan 19, 2020 at 11:31:55 PM
   Trigger                         Hide TeamViewer and iTunes
   Trigger                         Pool Autelis Airport Plugin Reboot all - Airport currently disabled see EmbeddedScript
   Trigger                         Start RFX Timers
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Trigger                         Vaux WHA set text to speech paging levels
   Trigger                         Start Water Sensor Timers
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Error                           unable to execute action -- device plugin Timers and Pesters not running
   Trigger                         Power Restored at House
   Trigger                         Twilio SMS Var Sub Send SMS to Ham and Marion
   Connected to PowerLinc 2413U interface on port usbserial-A704EOJ5
   PowerLinc address 3C.4C.82, firmware version 9.14
   Trigger                         Power Restored at House
   Schedule                        Vaux WHA set text to speech paging levels (delayed action)
   Action Group                    WHA All Off
   Error                           failed to execute embedded AppleScript "--tell application "iTunes"..."
   Error                           embedded AppleScripts are no longer supported

Jan 19, 2020 at 11:32:18 PM
   Reloading plugin "AD2USB Alarm Interface 1.6.0"
   Error                           unable to start plugin host process
   Error                           unable to start embedded script executor host

Jan 19, 2020 at 11:32:55 PM
   Schedule                        Pool Autelis Airport Plugin Reboot all - Airport currently disabled see EmbeddedScript (delayed action)
   Action Group                    Plugin Reload Scripts SSP Onkyo Remote (Audio Control) and AD2USB (Alarm)
   Error                           unable to start embedded script executor host
   Schedule                        Pool Autelis Airport Plugin Reboot all - Airport currently disabled see EmbeddedScript (delayed action)
   Error                           unable to start embedded script executor host


Thoughts?

Posted on
Mon Jan 20, 2020 5:38 am
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: On restart server plugins have trouble to load.

Also, and this may be being discussed in a different thread, my new computer is constantly sleeping. I have use the terminal command line “caffeinate, have downloaded and installed and feta mean as well as keep awake. Nonetheless, it becomes unresponsive and doesn’t wake up for screen sharing or even Indigo.

When I open the indigo app on my phone, I get the following screen, telling me that control pages are for pro only. I have to go to the Mac itself and push the power button on the back to get it to wake up.
Attachments
EA675181-191E-4FF4-8206-5A35F727C935.jpeg
EA675181-191E-4FF4-8206-5A35F727C935.jpeg (259.83 KiB) Viewed 1738 times

Posted on
Mon Jan 20, 2020 9:19 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: On restart server plugins have trouble to load.

Ham, all that taken together seems to indicate that you have some serious systemic issues on that Mac. I'd recommend starting over with a disk reformat and OS reinstall, then reinstall Indigo.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Jan 20, 2020 10:56 am
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: On restart server plugins have trouble to load.

Hmmm .... this is a new (refurb) Mac mini 2018, 256gb SSD/8gb ram ,with pre-installed Mojave and a clean install of indigo. I transferred over the Indigo folder from my prior Mac and copied the 7.3 folder. Not sure how much better I can do than that.

Posted on
Mon Jan 20, 2020 11:30 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: On restart server plugins have trouble to load.

If your Mac won't wake up short of hitting the power button, there's something wrong with it (I don't think it's possible for Indigo to cause that kind of issue, and nobody else using the 2018 minis has reported this issue)...

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Jan 20, 2020 12:17 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: On restart server plugins have trouble to load.

Agree with Jay it sounds like your system isn't in a good state. Regarding the Indigo plugin failures when the Indigo Server starts up, you might want to try disabling some of those plugins. It is possible there is a plugin in there that is causing some problems. Given the order of things it would be one of the plugins that is starting up before (or when the error) starts. So start with the EPS - Alarm Clock plugin and work your way up in the Event Log (Simple Serial, GhostXML, etc.) to see if disabling one of those gets it starting up smoothly again or not. But those problems might also be related to the macOS issue; no way to know for sure except to experiment around with it.

Image

Posted on
Tue Jan 21, 2020 10:14 pm
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: On restart server plugins have trouble to load.

Turns out I had the Phidgets plugin set to intense debug and when restarting it did cause problems. The plugins appear to load well now.

Regarding the screenshot from the phone showing "Pro License Required," as noted I have a new mini. I left the old one running so I could screen share to transfer needed files. Although I transferred the license and also took Indigo and indigo Server out of the old computer's startup items, it was starting anyway as seen in Activity Monitor. That was throwing a spurious server. I shut it off and no more extra server.

Also, somewhere it is commented that the 2018 Mac Mini 8Gb configuration will spontaneously sleep, and upgrading to 32 Gb fixes sleeping so Indigo stays running. Despite Amphetamine, Caffeinate, the new Mac Mini with 8 Gb would sleep. Following install of 32 Gb problem solved. Go figure.

Will address other "new excitement" in different threads. :-) Thanks for the help as always.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests