This error happened to me again earlier today... I was able to make the errors go away by stopping the Indigo server, quitting the app, and re-launching the app (which re-started the server). I did not need to restart my Mac, which suggests there might be something funky going on in the Indigo server or my python scripts (or a bug in macOS that is being triggered by them).
Here's some info for troubleshooting:
- I was not running the Indigo app (gui) when the errors started occurring. I launched the app to see what was going on, saw the errors in the event log window. I clicked on the "Show Event Logs Folder" and nothing happened. I stopped the server, quit the app, re-launched. Everything working properly now. And now if I click the same show logs button, a Finder window opens in the proper logs folder.
- According to the logs, the error started happening at 3:24 am. No one was awake, no insteon actions occurred since 1:08 am.
- I have a script that runs every 15 seconds via a Schedule in Indigo, and has been doing so since mid-November. I haven't made any changes to the script since 11/22.
- My script imports a common file and a config file, but otherwise does not do any other file access. All logging is done through Indigo.
- The script checks the status of a bunch of insteon devices and fixes any that are wrong (e.g., if a Lamp Link is on but the wall switch is off, it turns on the wall switch to match the lamp status). It did not modify any insteon devices between 1:08 am and 3:24 am, nor did it write anything to the event log. (FWIW - I know I can do this via triggers, but my triggers were getting too complicated, and the python script is easier for me to maintain.)
- I've only had these FileIOError problems occur twice - 12/25 and today 1/15.
- I typically reboot my machine once a week, so Indigo has run successfully with my current config for 7+ days without issues.
- Today my Mac's uptime is 2.5 days, so it is probably not because it has been up and running for a very long period of time.
- Everything else has been rock solid, other than this issue.
I'm running Indigo 7.5.0
My Mac is on macOS 11.1 Big Sur, it is an Intel iMac from 2014
Enabled Interfaces: Insteon PLM, Virtual Devices
Plugins: Alexa-Hue Bridge (3.0.35)
Is there any other info that might help narrow down why this is happening? Any troubleshooting steps that I should take if it occurs again?
Here are the log entries from system.log as copied via the Console app.
- Code: Select all
Jan 15 03:24:31 jMac IndigoServer[671]: Error FileIOError -- cannot create file path
Jan 15 03:24:45 jMac IndigoServer[671]: Error TriggerAction() caught exception: FileIOError -- cannot create file path
Jan 15 03:25:16 jMac IndigoServer[671]: Error TriggerAction() caught exception: FileIOError -- cannot create file path
Jan 15 03:25:30 jMac IndigoServer[671]: Error TriggerAction() caught exception: FileIOError -- cannot create file path
Jan 15 03:25:45 jMac IndigoServer[671]: Error TriggerAction() caught exception: FileIOError -- cannot create file path
Jan 15 03:26:15 jMac IndigoServer[671]: Error TriggerAction() caught exception: FileIOError -- cannot create file path
Jan 15 03:26:30 jMac IndigoServer[671]: Error TriggerAction() caught exception: FileIOError -- cannot create file path
Jan 15 03:26:44 jMac IndigoServer[671]: Error _DispatchProcessThread() caught exception: FileIOError -- cannot create file path
Jan 15 03:26:45 jMac IndigoServer[671]: Error TriggerAction() caught exception: FileIOError -- cannot create file path
The same errors repeat many times from then until ~9am when I quit the Indigo Server.