The Vera Community forums have moved!

Advanced => Plugins & Plugin Development => Programming => Alternate UI to UI7 => Topic started by: epkulse on January 29, 2019, 05:50:47 pm

Title: Complete AltUI newbie - and fail to install
Post by: epkulse on January 29, 2019, 05:50:47 pm
I am not able to install AltUI. Running Vera Plus with FW 1.7.4001. When accessing the device and Settings it says: "Error executing function altui_Settings(): Cannot read property 'startsWith' of undefined". I am also not able to access AltUI web-i/f, just get "No Handler".

Also tried to uninstall, but that fails also. Probably a newbie mistake, but I need some guidance...

/Uffe
Title: Re: Complete AltUI newbie - and fail to install
Post by: amg0 on January 30, 2019, 01:31:59 am
How did you install ? Did you reload Luup after ?
Title: Re: Complete AltUI newbie - and fail to install
Post by: epkulse on January 30, 2019, 12:15:57 pm
Well, I restarted the Vera... How do I reload LUUP?
Title: Re: Complete AltUI newbie - and fail to install
Post by: epkulse on January 30, 2019, 12:29:14 pm
I installed by installing the app from within Vera.

Have tried to reload Luup via zwave settings - but no difference...

Suddenly my Vera can no longer be reached from home.getvera.com i.e. no remote access... Maybe not related, but bad...
Title: Re: Complete AltUI newbie - and fail to install
Post by: epkulse on January 30, 2019, 01:14:22 pm
Likely a problem with lack of space...

Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                    8832      8636       196  98% /
/dev/root                10240     10240         0 100% /rom
tmpfs                   127744      1316    126428   1% /tmp
/dev/mtdblock7            8832      8636       196  98% /overlay
overlayfs:/overlay        8832      8636       196  98% /
tmpfs                      512         0       512   0% /dev
/dev/mtdblock10          51200      1632     49568   3% /storage
/dev/mtdblock10          51200      1632     49568   3% /etc/cmh-firmware
/dev/mtdblock10          51200      1632     49568   3% /etc/cmh-backup
/dev/mtdblock9           10240     10240         0 100% /mios

Title: Re: Complete AltUI newbie - and fail to install
Post by: rafale77 on January 30, 2019, 01:54:21 pm
Definitely is a disk space problem... might want to apply my script to move some files to the larger partition...

http://forum.micasaverde.com/index.php/topic,119206.30.html

post #44
Title: Re: Complete AltUI newbie - and fail to install
Post by: epkulse on January 30, 2019, 01:56:11 pm
I am now in touch with Vera Support - but what files would be safe to move?
Title: Re: Complete AltUI newbie - and fail to install
Post by: rafale77 on January 30, 2019, 02:06:15 pm
My script does it all for you...
Title: Re: Complete AltUI newbie - and fail to install
Post by: epkulse on January 30, 2019, 02:09:01 pm
OK, are you willing to share it?
Title: Re: Complete AltUI newbie - and fail to install
Post by: rafale77 on January 30, 2019, 02:10:04 pm
I did. See the link I posted above and go to post 44.
Title: Re: Complete AltUI newbie - and fail to install
Post by: epkulse on January 30, 2019, 02:12:20 pm
Sorry - got it! I am lost... :)

Thanks!
Title: Re: Complete AltUI newbie - and fail to install
Post by: amg0 on January 30, 2019, 04:10:40 pm
Sorry - got it! I am lost... :)

Thanks!

my 2 cents, ask support to clean it up.  they should fix the app install code so that it checks free space before trying the install.  once they clean up your vera storage, you should be able to try again
Title: Re: Complete AltUI newbie - and fail to install
Post by: Catman on January 30, 2019, 04:36:48 pm
Sorry - got it! I am lost... :)

Thanks!

my 2 cents, ask support to clean it up.  they should fix the app install code so that it checks free space before trying the install.  once they clean up your vera storage, you should be able to try again

You are likely to run into the same issue again, though....

C
Title: Re: Complete AltUI newbie - and fail to install
Post by: amg0 on January 31, 2019, 01:37:59 am
Sorry - got it! I am lost... :)

Thanks!

my 2 cents, ask support to clean it up.  they should fix the app install code so that it checks free space before trying the install.  once they clean up your vera storage, you should be able to try again

You are likely to run into the same issue again, though....

C
No because if they clean it up they can remove old files old backups etc it should have the room
Title: Re: Complete AltUI newbie - and fail to install
Post by: rafale77 on January 31, 2019, 01:51:25 am
It depends on what apps he had and what is occupying his space. I ran out of space too in spite of having the firmware files removed. On the Vera Plus, you have not much room even after a cleanup. With only the most basic rootfs and no apps and the only things you can remove taken out, (the biggest files are the old zwave firmwares for other regions) I still had 5MB+ usedd out of 8.6MB leaving me with less than 4MB. 3-4 big plugins later, the drive is full again and you are left with a tiny free space where the Luup engine writes the user-data.json files and eventually will prematurely kill your NAND cells, cause data corruption etc...
Title: Re: Complete AltUI newbie - and fail to install
Post by: Catman on January 31, 2019, 07:11:10 am
Sorry - got it! I am lost... :)

Thanks!

my 2 cents, ask support to clean it up.  they should fix the app install code so that it checks free space before trying the install.  once they clean up your vera storage, you should be able to try again

You are likely to run into the same issue again, though....

C
No because if they clean it up they can remove old files old backups etc it should have the room

Sorry, missed the word 'eventually'....

C