Author Topic: Lack of space for plugins  (Read 553 times)

Offline paros

  • Full Member
  • ***
  • Posts: 205
  • Karma: +6/-1
    • Husvagnhusbil
Lack of space for plugins
« on: January 05, 2018, 11:54:39 am »
Any news about making more space for the partition in the Vera controller where the plugins is located?
Had a massive break-down because lack of space during the upgrade (I am not using especially much plugins..).
8.6MB for /dev/mtdblock7 - That is very small even if it would have been 30 years ago..

Offline Sorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 886
  • Karma: +73/-7
    • getvera.com
Re: Lack of space for plugins
« Reply #1 on: January 09, 2018, 03:51:17 am »
@paros, plugins have mapped a different partition which does not take from the 8.6MB of the /mios partition.
The problem comes when plugins are storing cache log and other files in /mios partition which as you can see it can only take that much.
Sorin M. ▾ Community Manager
Vera Control, Ltd. ▾ Smarter Home Control  ▾ support@getvera.com ▾www.getvera.com ▾ +1 (866) 966-2272

HOURS OF OPERATION for Customer Care Department - 24/7

Offline paros

  • Full Member
  • ***
  • Posts: 205
  • Karma: +6/-1
    • Husvagnhusbil
Re: Lack of space for plugins
« Reply #2 on: January 09, 2018, 03:54:54 am »
@Sorin M - I's it possible to move this cache partition?
I have now only 5 percent free which soon will be zero and the controller will be not reachable (as it has been earlier)..

Offline chris66

  • Sr. Member
  • ****
  • Posts: 285
  • Karma: +9/-8
Re: Lack of space for plugins
« Reply #3 on: January 09, 2018, 10:33:29 am »
Would it be possible to use external USB for this files??

Offline xeinth

  • Full Member
  • ***
  • Posts: 143
  • Karma: +1/-0
Re: Lack of space for plugins
« Reply #4 on: January 09, 2018, 09:21:37 pm »
Sorin,

I'm running into this same problem which was been killing my ability to update recetly.  I've finally isolated it to datamine attempting to download java files for the webserver, and it just endlessly tries to download until it runs out of space, then it reloads luup and tries again.  This basically renders the system dead for people who cant ssh into the system.

The solution I've found is to blow away the www/dm directory as its being downloaded, it allows the system to finish configuring from what I can tell and datamine is downloaded later ending up around 90% capacity.  It seems the order things are configured makes a difference, perhaps files are being unpacked here and deleted at the end, and as such those plugins need install before much of the space is consumed.   

I could remove datamine, but realistically this is a time bomb as its gotten worse each release.  Does vera have a plan to help address this or at least prevent a catastrophic scenario like this?  Other than finding a way to give us more space here, it seems at teh very least we shouldnt endless loop trying to download plugins that are failing due to lack of space.


Quote
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                    8832      7916       916  90% /
/dev/root                10240     10240         0 100% /rom
tmpfs                   127744      2312    125432   2% /tmp
/dev/mtdblock7            8832      7916       916  90% /overlay
overlayfs:/overlay        8832      7916       916  90% /
tmpfs                      512         0       512   0% /dev
/dev/mtdblock10          51200      1488     49712   3% /storage
/dev/mtdblock10          51200      1488     49712   3% /etc/cmh-firmware
/dev/mtdblock10          51200      1488     49712   3% /etc/cmh-backup
/dev/mtdblock9            9984      9984         0 100% /mios
« Last Edit: January 09, 2018, 09:31:03 pm by xeinth »

Offline reneboer

  • Hero Member
  • *****
  • Posts: 1276
  • Karma: +72/-30
Re: Lack of space for plugins
« Reply #5 on: January 10, 2018, 05:06:08 am »
Hi,

I get a extra option to backup/remove the DataMine files. You have to select one of those and then the upgrade will continue (unless you have other space users), and after the upgrade the DM files are installed again.

So Vera did include something special for this widely used third party plugin for about the last five releases.

Cheers Rene
2xVeraLite, VeraEdge, openLuup, ALTUI, 20 switches, 10 dimmers, 20 sensors, 10 scene controllers, 1 Harmony Hub, many plug-ins. Not enough time.

Offline xeinth

  • Full Member
  • ***
  • Posts: 143
  • Karma: +1/-0
Re: Lack of space for plugins
« Reply #6 on: January 13, 2018, 12:37:12 pm »
Hi,

I get a extra option to backup/remove the DataMine files. You have to select one of those and then the upgrade will continue (unless you have other space users), and after the upgrade the DM files are installed again.

So Vera did include something special for this widely used third party plugin for about the last five releases.

Cheers Rene

I'm using Datamine and as far as I am aware its the latest version.  I havent ever gotten that option... perhaps its not detecting it in certain scenarios?  My solution was to nuke the www/dm directory as I was getting luup reloads and that eventually allowed the download to run successfully.

bk