howardjones / network-weathermap

Network Weathermap draws diagrams from data
http://www.network-weathermap.com/
MIT License
426 stars 94 forks source link

Unable to install 1.0.0dev on Cacti 1.1.28 #132

Closed ikorzha closed 6 years ago

ikorzha commented 6 years ago

My understanding that Howie is close to 1.0.0dev release, so I decided to install it on top of my very 8 month old buggy version. Unfortunately I was unable to get out of the gate, WHen I go into plugins to install the the new 1.0.0dev release, it doesn't install and I get error msgs in log below: Please assist I am looking forward to participate in beta testing as I am a heavy user :)

2018/02/19 17:02:48 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap' 2018/02/19 17:02:48 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4446 cacti_debug_backtrace) 2018/02/19 17:02:48 - ERROR PHP COMPILE_ERROR in Plugin 'weathermap': require_once(): Failed opening required '/var/www/html/plugins/weathermap/lib/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in file: /var/www/html/plugins/weathermap/lib/all.php on line: 12 2018/02/19 17:02:48 - CMDPHP PHP ERROR WARNING Backtrace: (/poller.php: 715 snmpagent_poller_bottom)(/lib/snmpagent.php: 457 snmpagent_get_pluginslist)(/lib/snmpagent.php: 542 include_once)(/plugins/weathermap/setup.php: 11 require_once)(/plugins/weathermap/setup10.php: 19 require_once)(/plugins/weathermap/lib/all.php: 12 require_once)(/plugins/weathermap/lib/all.php: 12 CactiErrorHandler)(/lib/functions.php: 4403 cacti_debug_backtrace) 2018/02/19 17:02:48 - ERROR PHP WARNING in Plugin 'weathermap': require_once(/var/www/html/plugins/weathermap/lib/../vendor/autoload.php): failed to open stream: No such file or directory in file: /var/www/html/plugins/weathermap/lib/all.php on line: 12

errors

howardjones commented 6 years ago

Read the readme. Run composer and bower.

autoload.php is created by composer.

This won't be necessary in the release version.

Also, I'm not that close - the management UI is not really there yet.

netniV commented 6 years ago

Aww, I thought you were further along, I've been bigging you up 👍

ikorzha commented 6 years ago

netniV, Yes you were, I gathered Howie's progress info based on your comments that I am subscribed to :) Thank you Howie for your comments, I will read readme.

howardjones commented 6 years ago

I should add that I'm hoping it will make quick progress - the guts (that update the database etc) are already there, just no user interface. There are a few parts that I don't know yet how they will work though! (map cycling and overlib, at least)