PLEG LUA startup error

After adding a couple of new light inputs the PLEG instance now fails with the following error: “Startup Lua Failed”. The startup code (which has worked fine for months and has not been updated/changed):

dofile("/etc/cmh-ludl/PLEG_startup.lua")

Today marks the 2nd time in as many attempts where this happens while trying to modify this PLEG instance. The only way I’ve been able to recover the PLEG instance is to restore from a Vera backup.

As far as changes go, I “merely” added 5 light switches as Inputs (“Light On” events) this time.

Not sure if there’s a limit as to the # of inputs / conditions / etc?

Using PLC/PLEG v7.35/7.33.

Is this on UI5 or UI7 ?
On UI7 I use my own API to talk to Vera … because the MCV provided JavaScript had a small size limit.
I did not put that code into UI5 … I could have … I might need to …

It’s UI5. Sorry, should have included that already.

I looked at the changes … and … it’s pretty major for UI5 …
I think the size is larger when you make the changes LOCALLY compared to remotely.

The size has already been increased for UI7. At this time I am not inclined to carry back the changes …

You may need to create a second PLEG and start to split your functionality.

Understood. Appreciate you taking the time to investigate the effort.

Will have to reevaluate whether UI7 is viable for me or if I’m going to take the “hit” on splitting the PLEG instance up.