I have an RPI that was running OpenLuup with AltUI. Being unskilled in Linux I broke it pretty thoroughly so have wiped the SD card and am beginning again.
The error message comes from AltUI.
Perhaps @amg0 can help?
It may be a files permission error if, for example, you are running under a different account from the one that you used when you installed (system vs. user??)
at reload time altui cleans up /www/altui/ folder for alto* files. this is normal and harmless but maybe try to make sure the /www/altui/ folder exists and the process used by openluup to do an os.execute() has the rights
but the fail UI message should be different. try to look at the chrome console logs
It turns out I’m a doofus. The ‘fail’ was caused by Ghostery (tracking blocker plugin for chrome) ignoring the whitelist when AltUI tries to retrieve the registration details.
As @amg0 stated, this was evident int the chrome console logs.
I still get the ‘failed tty get’ and the ‘cannot remove /www/altui/altui*’ errors but otherwise it seems to work.
Did you Confirm that /www/altui/ folder exists ?
The error is only a warning it is harmless but the folder should exist and the process running openluup should have the right to create and delete files in it
‘PS - u pi’ tells me that openLuup_reload is running in that user.
The www and www/altui directories have drwxr-xr-x permissions so I understand that means the user pi has write access. (~/cmh-ludl/www ~/cmh-ludl/www/altui are the full paths).
I am not Linux guru so maybe check with Akboer but it is key that from the app ‘s perspective the absolute path exists /www/altui so maybe some links are needed if physically the path is different from that
@amg0 Your post on absolute path hinted at what could be my problem.
I created a symlink from the root to my home folder as per the pic and openLuup and AltUI seem to be working fine now. The ‘cannot rm’ message persists but as amg0 says it can be disregarded.
I’ve created a reactor scene with one action and I’ll see how it goes through the week. If all good, I’ll take a backup of the SD card then start shifting my scenes and automation from the Vera over to the openLuup.
Target is that the Vera is just a zwave gateway and all the automation is on openLuup (along with my largeish mysensors network that is currently on the Vera).
Thank you to all that took the time to offer assistance.