Indigo died after updating from 2023_1_1 to 2023.2

Posted on
Mon Feb 05, 2024 9:12 am
kyphos offline
Posts: 54
Joined: Dec 17, 2014

Indigo died after updating from 2023_1_1 to 2023.2

On a Mac mini with High Sierra, where 2023.1.1 has been running flawlessly.
Downloaded the 2023_2_0 dmg.
Stopped the running server. Quit the Indigo app. Ran the installer. It completed successfully.

After launching 2023.2, there's nothing. No main window appears.
No Indigo windows are available (all greyed out in the Windows menu).
Activity Monitor shows the Indigo app and IndigoServer are both running.
Attempt to connect to localhost:8176 (using Safari) fails. Although the server component may be running, it's not responding.

:arrow: Indigo 2023.1.1, macOS 10.13.6 (High Sierra), Mac mini5,1 (Intel Core i5), PowerLinc 2413U

Posted on
Mon Feb 05, 2024 9:45 am
jay (support) offline
Site Admin
User avatar
Posts: 18224
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo died after updating from 2023_1_1 to 2023.2

When you search on "Indigo" in Activity Monitor, are there any IndigoPluginHost processes running?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Feb 05, 2024 10:41 am
kyphos offline
Posts: 54
Joined: Dec 17, 2014

Re: Indigo died after updating from 2023_1_1 to 2023.2

Jay,
Not sure if there were any PlugInHost processes active with 2023.2. I don't think so, but to be honest I might not have noticed them. Most likely not - Activity Monitor was displaying processes sorted alphabetically, so Indigo 2023.2 was right next to indigoserver. I'm sure I would have seen a cluster of IndigoPlugInHost items in the list...

After starting this thread earlier this am, I've reverted back to 2023.1 in order to restore service. With 2023.1 active, there are a half dozen PlugInHost processes active, as well as IndigoServer.

However, prior to quitting 2023.2 and bringing up 2023.1, I noticed one oddity.
The License Details... menu item brought up an empty Subscription Details window.
- no name, no expiry date.
- no button to Manage Subscription.
- no button to Deactivate License.
Just a blank window.

That might be a clue as to what's broken with the 2023.2 update..

If you want, I can quit 2023.1, fire up 2023.2 again, and check for the presence of any PlugInHost processes. Are they expected to be there, or were they removed from 2023.2?

Thanks.

:arrow: Indigo 2023.1.1, macOS 10.13.6 (High Sierra), Mac mini5,1 (Intel Core i5), PowerLinc 2413U

Posted on
Mon Feb 05, 2024 10:53 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Indigo died after updating from 2023_1_1 to 2023.2

You might want to first re-run the Indigo 2023.2 installer. Based on your description it sounds like it may not have completed successfully (despite it saying that it did). If that doesn't help, then after trying to start it check the Indigo 2023.2/Logs/ folder to see if a log file was created (and copy/paste its contents into a reply for us).

Image

Posted on
Mon Feb 05, 2024 12:07 pm
kyphos offline
Posts: 54
Joined: Dec 17, 2014

Re: Indigo died after updating from 2023_1_1 to 2023.2

Jay,
Good news. Reinstalling 2023.2 seems to have restored normal operation (even though the installer reported that the first installation completed successfully).

I looked in the logs to see if there's any indication of what went wrong with the 1st installation.
See below. Perhaps you can deduce how/why the installer went wry.

There seems to be evidence that 2023.2 failed some sort of a license check (which would explain why the Subscription Details window was corrupted).
That's very troubling - it's my understanding that an ongoing, active Indigo subscription is not required to use the software. As it happens, at present my subscription is active, but it looks like the code has embedded functionality that will unilaterally prevent operation if it decides it wants to. Is that the case?

==========================
from ~/Library/Application Support/Perception Automation/Indigo 2023.2/Logs
2024-02-04 19:24:27.587 Application Starting Indigo Server version 2023.2.0 on macOS Version 10.13.6 (Build 17G14042)
2024-02-04 19:24:27.676 Error Error in plugin execution serverAdjunct init:

File "Perceptive Automation/Code/IndigoProj/Server Adjunct/build/sa_main.py-min", line 15, in init sa_main
type: No module named 'pyaes'

2024-02-04 19:24:27.679 Error Error in plugin execution regmgr init python: InvalidParameterError -- plugin does not define method init_license_check
2024-02-04 19:24:27.679 Error Error in plugin execution licenseCheckFunc1: InvalidParameterError -- plugin does not define method local_cached_license_check
2024-02-04 19:24:27.695 Application Loading database "/Library/Application Support/Perceptive Automation/Indigo 2023.1/Databases/XXXX.indiDb"
2024-02-04 19:24:27.713 Application Database file was in old Indigo folder
2024-02-04 19:24:27.714 Application Saving converted database file "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Databases/XXXX.indiDb"
2024-02-04 19:24:27.733 Error Error in plugin execution showDeprecatedUsage: InvalidParameterError -- plugin does not define method show_deprecated_usage
2024-02-04 19:24:27.735 Application Waiting for client to connect
2024-02-04 19:24:27.774 Application Retrieved unchanged location for sunset/sunrise calculation
2024-02-04 19:24:27.784 Application Indigo Cocoa client connected
2024-02-04 19:24:27.785 Error Error in plugin execution licenseCheckFunc2: InvalidParameterError -- plugin does not define method remote_start_license_check
2024-02-04 19:24:58.787 Application Quitting Indigo Server - received fast quit signal
2024-02-04 19:24:58.789 Application Quitting Indigo Server - stopping plugins
2024-02-04 19:24:58.914 Application Quitting Indigo Server - saving database
2024-02-04 19:24:58.936 Application Quitting Indigo Server - saving preferences
2024-02-04 19:24:58.938 Application Quitting Indigo Server - disconnecting clients
2024-02-04 19:25:00.939 Application Indigo Cocoa client disconnected
2024-02-04 19:25:00.940 Application Quitting Indigo Server - unloading launchd plist
2024-02-04 19:25:00.947 Application Quitting Indigo Server - complete
2024-02-04 19:25:01.155 Application Starting Indigo Server version 2023.2.0 on macOS Version 10.13.6 (Build 17G14042)
2024-02-04 19:25:01.213 Error Error in plugin execution serverAdjunct init:

File "Perceptive Automation/Code/IndigoProj/Server Adjunct/build/sa_main.py-min", line 15, in init sa_main
type: No module named 'pyaes'


2024-02-04 19:25:01.215 Error Error in plugin execution regmgr init python: InvalidParameterError -- plugin does not define method init_license_check
2024-02-04 19:25:01.215 Error Error in plugin execution licenseCheckFunc1: InvalidParameterError -- plugin does not define method local_cached_license_check
2024-02-04 19:25:01.229 Application Loading database "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Databases/XXXX.indiDb"
2024-02-04 19:25:01.242 Application Waiting for client to connect
2024-02-04 19:25:01.277 Application Retrieved unchanged location for sunset/sunrise calculation
2024-02-04 19:25:01.332 Application Indigo Cocoa client connected
2024-02-04 19:25:01.333 Error Error in plugin execution licenseCheckFunc2: InvalidParameterError -- plugin does not define method remote_start_license_check
2024-02-04 19:26:01.302 Application Quitting Indigo Server - received fast quit signal
2024-02-04 19:26:01.304 Application Quitting Indigo Server - stopping plugins
2024-02-04 19:26:01.431 Application Quitting Indigo Server - saving database
2024-02-04 19:26:01.452 Application Quitting Indigo Server - saving preferences
2024-02-04 19:26:01.453 Application Quitting Indigo Server - disconnecting clients
2024-02-04 19:26:02.786 Application Indigo Cocoa client disconnected
2024-02-04 19:26:02.789 Application Quitting Indigo Server - unloading launchd plist
2024-02-04 19:26:02.799 Application Quitting Indigo Server - complete

:arrow: Indigo 2023.1.1, macOS 10.13.6 (High Sierra), Mac mini5,1 (Intel Core i5), PowerLinc 2413U

Posted on
Mon Feb 05, 2024 1:35 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Indigo died after updating from 2023_1_1 to 2023.2

Looks like the installer just didn't complete for some reason.

Indigo has to do a license check when you install a new "feature release" version like 2023.2 so that Indigo can validate you have an active subscription to run that upgrade. Once it has done that validation the activation information is stored locally on your Mac and Indigo will launch (as will all bug fix releases under the same version) even if the license check fails because of a networking issue, etc.

Image

Posted on
Mon Feb 05, 2024 2:16 pm
kyphos offline
Posts: 54
Joined: Dec 17, 2014

Re: Indigo died after updating from 2023_1_1 to 2023.2

Got it - thanks for the explanation about the license check.

Does the installer create any logs as it goes through the installation process?
If the 2023.1 installer left any bread crumbs behind that might help you diagnose why it failed to complete, I could retrieve them for you.

:arrow: Indigo 2023.1.1, macOS 10.13.6 (High Sierra), Mac mini5,1 (Intel Core i5), PowerLinc 2413U

Posted on
Wed Feb 07, 2024 5:08 am
CBowles offline
User avatar
Posts: 34
Joined: Mar 19, 2015

Re: Indigo died after updating from 2023_1_1 to 2023.2

Hey chaps,

I've had a similar experience and can't get 2023.2 over the line. I get the following error after installation and running the server...

Code: Select all
Web Server Error                Error in plugin execution InitializeMain:

  File "Perceptive Automation/Code/IndigoPlugins/WebServerPlugin/Web Server.indigoPlugin/Contents/Server Plugin-build/plugin.py", line -1, in init plugin
  File "plugin.py", line -1, in <module>
  File "Perceptive Automation/Code/IndigoPlugins/WebServerPlugin/Web Server.indigoPlugin/Contents/Server Plugin-build/ssl_utils.py", line -1, in init ssl_utils
  File "ssl_utils.py", line -1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/cryptography/x509/__init__.py", line -1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/cryptography/x509/certificate_transparency.py", line -1, in <module>
type: Python API call failed

   Stopping plugin "Web Server 2023.2.0" (pid 18116)
   Waiting for internal plugins to initialize
   Stopped plugin "Web Server 2023.2.0"

I've updated Python from https://www.python.org/ftp/python/3.11. ... acos11.pkg and also run 'pip3 install --upgrade cryptography' and it did update some bits but still no joy :cry:
Any ideas?

Cheers,

Chris
--

Posted on
Wed Feb 07, 2024 1:01 pm
jay (support) offline
Site Admin
User avatar
Posts: 18224
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo died after updating from 2023_1_1 to 2023.2

You should never install python from any other source when using Indigo. If you have, you'll need to remove them then rerun the Indigo installer to get the right one (this includes installs via homebrew, macports, directly downloaded from python.org, etc).

In this case, I think I would just uninstall Indigo 2023.2 and rerun the installer.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Feb 08, 2024 6:13 am
CBowles offline
User avatar
Posts: 34
Joined: Mar 19, 2015

Re: Indigo died after updating from 2023_1_1 to 2023.2

Thanks Jay!

I do use Python for a few py packages such as pyatv and bravia-tv and sonpal so removing the native Python frameworks would also remove these packages.
Any other guidance you could offer for this scenario?

Chris
--

Posted on
Thu Feb 08, 2024 6:47 am
FlyingDiver offline
User avatar
Posts: 7222
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Indigo died after updating from 2023_1_1 to 2023.2

CBowles wrote:
Thanks Jay!

I do use Python for a few py packages such as pyatv and bravia-tv and sonpal so removing the native Python frameworks would also remove these packages.
Any other guidance you could offer for this scenario?

Chris
--


Indigo installs Python3.11 as part of it's install. You don't need to install it separately to use Python elsewhere.

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

Posted on
Thu Feb 08, 2024 8:17 am
CBowles offline
User avatar
Posts: 34
Joined: Mar 19, 2015

Re: Indigo died after updating from 2023_1_1 to 2023.2

Thanks chaps!
I had already installed 3.11 historically but followed Jay's instructions, had a Python clear out, uninstalled 2023.2 completely .
All up and running on 2023.2 now.

Thanks again!

Posted on
Thu Feb 08, 2024 2:29 pm
DaveL17 offline
User avatar
Posts: 6759
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Indigo died after updating from 2023_1_1 to 2023.2

Glad you were able to get it working. You might want to take a look at the Python Packages wiki page. Indigo is tested to work with the specific versions of the packages listed on that page. Updating any of those packages could lead to trouble.

If you need a different version of a package than what's listed, it's best to do that inside a plugin. How this works is dependent on different versions of Indigo, but beginning with 2023.2, plugins can include a requirement.txt file that will cause packages to be installed to a special location inside the plugin bundle. Plugin-installed packages are run inside a separate process (which allows Indigo to continue to use the package versions it needs).

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri Feb 09, 2024 1:53 pm
kyphos offline
Posts: 54
Joined: Dec 17, 2014

Re: Indigo died after updating from 2023_1_1 to 2023.2

jay (support) wrote:
You should never install python from any other source when using Indigo. If you have, you'll need to remove them then rerun the Indigo installer to get the right one (this includes installs via homebrew, macports, directly downloaded from python.org, etc).


Jay,
For clarity, I think your advice to never install python from any other source, remove them if you have, etc. refers only to instances of Python 3?

On my Mac mini that hosts Indigo, I have another HA app that requires Python 2. It's not been updated and I don't expect it ever will. At present, I have both applications co-existing happily on the Mac, with both the Python 2 installation that came with Mac OS and the Python 3 installation that accompanied Indigo living side-by-side. As I recall, I have updated the Python 2 files with a more recent release of V2. Doing so didn't seem to negatively your Python 3 line-up, nor the operation of Indigo.

:arrow: Indigo 2023.1.1, macOS 10.13.6 (High Sierra), Mac mini5,1 (Intel Core i5), PowerLinc 2413U

Posted on
Fri Feb 09, 2024 2:49 pm
jay (support) offline
Site Admin
User avatar
Posts: 18224
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Indigo died after updating from 2023_1_1 to 2023.2

If you are installing Indigo 2023.1 or later, yes. If you are using an earlier version, then you shouldn't install 2.7 because we were still installing and using it.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests