-
-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation of InfluxDB and Grafana (still) fails to complete #906
Comments
Is this a RPi4 1gb? If so, then you should not be trying to use Grafana as it is a known memory hog and will likely fail. |
Hi @AliFarmer001, To help yo we need more information: Can you please provide more information about your OS environment? Can you try to locate it (my guess: Please provide the content of Thank you. |
Hi I've a similar issue but the problem is that openhabian didn't install grafana because it didn't find it on ppa repo so to perform a correct installation i've to add the grafana ppa before the installation, perform an apt-update and next it was installed and make the same problem of the admin password reset. i add an other detail, after the admin password reset issue , i try to access to grafana by the standard admin password( admin admin) and change the password, wen i try the command
it works |
Just jumping in here. The same happened to me right now on my new installation on a Raspberry Pi 4 with 4GB of memory. I got texactly the same message as @AliFarmer001 According to @holgerfriedrich my $PATH looks like this:
and trying the direct call ends in:
|
Fixes grafana install issue, openhab#906. Signed-off-by: Holger Friedrich <[email protected]>
@ocramleznem @AliFarmer001 |
Fixes grafana install issue, #906. Signed-off-by: Holger Friedrich <[email protected]>
Thanks for your quick fix @holgerfriedrich! I removed |
…nhab#911) Fixes grafana install issue, openhab#906. Signed-off-by: Holger Friedrich <[email protected]>
* Enhanced and more verbose testing in Travis (#859) * ZRAM tests to work if on ARM but lxc * cond_echo cmd in tryUntil() * restrict container to 1G for RPi3 * dont allow for failure of BATS tests * add warning 64bit on aarch64 is NOT supposed to work; check if OH downgrades to 32bit * reduce to a single shellcheck run (else builds succeed when there's no error in the last run) * increased verbosity on test cases Signed-off-by: Markus Storm <[email protected]> * Grafana/InfluxDB installation enhancements (#860) * Timeouts for service start #760 * Grafana admin password length is enforced #562 * Local installation of InfluxDB now also patches existing installations * Password reset for existing Grafana and local InfluxDB installations * In interactive mode, display a warning if less than 1GB RAM is detected Signed-off-by: Holger Friedrich <[email protected]> * Setting timezone based on IP geolocation now uses python3, fixes #862 (#864) * Switched installation of tzupdate to python3, as py2 is no longer supported cdown/tzupdate#34 Signed-off-by: Holger Friedrich <[email protected]> * Use Zulu API v1 when upgrading Java (#848) Additionally, to clarify what Java version this will install, when available, the API will prefer downloading a JRE. However, when a JRE is not available it will use a JDK instead. However, when JDK's are installed only the essential binaries are linked to update-alternatives so extra JDK related software is unlinked (i.e. javac). At the moment, Azul appears to only provide JDK builds for ARM platforms and so, as such, ARM platforms are most often the ones to not get a JRE installed and the resulting installation tends to be a bit larger (~100 MB). One minor inconvenience is that with the current Azul API it does not allow explicitly choosing builds without the JavaFX additional binaries. So at times, the Java version installed will have extra JavaFX binaries. This is usually seen when the architecture being installed is x86 based. Fixes #714 Fixes #723 See Also #629 Signed-off-by: Ethan Dye <[email protected]> * Refuse to install 64-bit JDK on 32-bit OS armv8 builds in theory should work on the RPi3+/RPi4, however the current Raspbian kernel uses a armv7l base which works because armv8 is backwards compatible. However, this has the effect of making the builds targeting aarch64 provided by Azul unable to work on the RPi3+/RPi4. On the other hand, this is not a huge issue as the use of 64-bit Java on low-memory boards brings few benefits and mostly issues. Additionally, this adds checking for other platforms to ensure that the OS is actually 64-bit before trying to install a 64-bit JDK. If the OS is not actually 64-bit the installer defaults to installing a 32-bit JDK. Signed-off-by: Ethan Dye <[email protected]> * fix nginx install (#867) * add missing #REDIR to nginx.conf template Signed-off-by: Markus Storm <[email protected]> * fix install webif port in docs (#873) Signed-off-by: Markus Storm <[email protected]> * hotfix to download aarch32hf instead of sf on multiple returns in Azul REST API (#877) Signed-off-by: Markus Storm <[email protected]> * point to new openHABian debug guide * point to new debug guide * Remove python2 from openHABian (#876) * replace all occurences of python and python-pip by python3 equivalent * fixes #875 (compatibility with Ubuntu 20.04) * timezone setting: added python3-setuptools before installing tzupdate * java installer: show version after install Signed-off-by: Holger Friedrich <[email protected]> * Run apt-get update on startup in background (#724) * move apt-get update to background on openhabian-config start, catch up in menu selections Signed-off-by: Markus Storm <[email protected]> * add intermediate output when selecting a menu option while apt-get update hasnt finished (#880) Signed-off-by: Markus Storm <[email protected]> * Use Markdown in LICENSE and update copyright year (#847) Co-authored-by: Thomas Dietrich <[email protected]> Signed-off-by: Ethan Dye <[email protected]> * Remove setting gnuio options on serial ports (#883) * Remove setting gnuio options on serial Signed-off-by: Markus Storm <[email protected]> * allow for disabling IPv6 in openhabian.conf (#888) * allow for ipv6=disable in openhabian.conf Signed-off-by: Markus Storm <[email protected]> * allow for ipv6=disable in openhabian.conf (#891) Signed-off-by: Markus Storm <[email protected]> * installation of additional bluetooth packages on RPi (#898) * python3-bluez not installed on stretch based installations, fixes #893 * additional bluetooth packages are now installed also on RPi4 Signed-off-by: Holger Friedrich <[email protected]> * Fix bluetooth package installation Signed-off-by: Holger Friedrich <[email protected]> * return instead of exit if installing non existent BT packages fails (#903) Signed-off-by: Markus Storm <[email protected]> * add hw,hwarch,release parameters (#901) * add hw, hwarch, release parameters to "fake" HW, OS Signed-off-by: Markus Storm <[email protected]> * added missing calls to apt-get update after adding repositories. (#911) Fixes grafana install issue, #906. Signed-off-by: Holger Friedrich <[email protected]> * Add openhab-cli backup/restore to menu 50 (#910) * added openhab-cli backup/restore implementation to 50 menu Signed-off-by: Markus Storm <[email protected]> * run Docker in foreground in BATS testing stage (#918) * run Docker in foreground in BATS testing stage to get to see output in Travis builds * allow for dev and BATS testing stages to fail while BATS tests still fail Signed-off-by: Markus Storm <[email protected]> * CORS fix (#830) * fix CORS (#528) Signed-off-by: Markus Storm <[email protected]> * Grafana installation fixed (#915) * wait for Grafana service to setup grafana.db before using grafana-cli to avoid side effects, fixes #914 * adapted bats test to check connection to InfluxDB, to store settings in Grafana, to validate connection and settings file grafana.db Signed-off-by: Holger Friedrich <[email protected]> * Grafana installation fixed (#925) * race condition due to db migration during installer run, #921 Signed-off-by: Holger Friedrich <[email protected]> * add RPi4 to bluetooth and WiFi functions; add CM1,CM3(+) support (#861) * Add CM1,CM3(+) to supported models so now we support all RPis * add RPi4 to bluetooth and WiFi functions * add disable-wifi to option 36 Signed-off-by: Markus Storm <[email protected]> * another instance of safe grep'ing (#929) * fix another safe grep instance Signed-off-by: Markus Storm <[email protected]> * Insert missing semi-colons Signed-off-by: Ethan Dye <[email protected]> * Fixes in preparation of upcoming changes (#932) * Fixes in preparation of upcoming changes Signed-off-by: Ethan Dye <[email protected]> * replace fstab by explicit systemd mount units to ensure proper order (#807) * Replace fstab by explicit systemd units to ensure right mount order (#807) To ensure ZRAM and Samba properly work together on sharing /srv/openhab2-*, we need to change the order of mounts. As this cannot be done in fstab, I removed them and setup separate systemd mount units instead. * change Samba shares Include logs, exclude /srv overview share, remove Samba defaults like printers Signed-off-by: Markus Storm <[email protected]> * intro stable branch (#882) * introduce stable branch (#882) * renamed mode parameter to debugmode; new values are off/on/maximum * Add popup announcement function * add docs/NEWSLOG.md Signed-off-by: Markus Storm <[email protected]> Co-authored-by: Holger Friedrich <[email protected]> Co-authored-by: Ethan Dye <[email protected]> Co-authored-by: Holger Friedrich <[email protected]>
…nhab#911) Fixes grafana install issue, openhab#906. Signed-off-by: Holger Friedrich <[email protected]> Signed-off-by: Markus Storm <[email protected]>
…nhab#911) Fixes grafana install issue, openhab#906. Signed-off-by: Holger Friedrich <[email protected]> Signed-off-by: Markus Storm <[email protected]>
…nhab#911) Fixes grafana install issue, openhab#906. Signed-off-by: Holger Friedrich <[email protected]> Signed-off-by: Markus Storm <[email protected]>
Hi,
Doing a vanilla install of openHab on a RPi 4 from the openHABian installer.
Completed the installation then went into openhabian-config and selected the install optional components and install InfluxDB & Grafana.
The installation ran through then failed - see below :
All went well to start with...
Setting up libqt5sensors5:armhf (5.11.3-2) ...
Setting up grafana-data (2.6.0+dfsg-3) ...
Setting up libwacom2:armhf (0.32-1) ...
Setting up grafana (2.6.0+dfsg-3+b1) ...
Created symlink /etc/systemd/system/grafana-server.service → /lib/systemd/system/grafana.service.
Created symlink /etc/systemd/system/multi-user.target.wants/grafana.service → /lib/systemd/system/grafana.service.
Setting up libsm6:armhf (2:1.2.3-1) ...
Setting up libdrm-amdgpu1:armhf (2.4.100-4+rpi1
bpo10+1) ...bpo10+1) ...Setting up gtk-update-icon-cache (3.24.5-1+rpt2) ...
Setting up libdrm-nouveau2:armhf (2.4.100-4+rpi1
Setting up dconf-gsettings-backend:armhf (0.30.1-2) ...
Setting up libgbm1:armhf (19.3.2-1
bpo10+1rpt1) ...Setting up libdrm-radeon1:armhf (2.4.100-4+rpi1
bpo10+1) ...deb10u1) ...Setting up libqt5positioning5:armhf (5.11.3+dfsg-2) ...
Setting up libpango-1.0-0:armhf (1.42.4-8
Setting up libgl1-mesa-dri:armhf (19.3.2-1
bpo10+1rpt1) ...Setting up libqmi-glib5:armhf (1.22.0-1.2) ...
Setting up libqt5network5:armhf (5.11.3+dfsg1-1+rpi1+deb10u3) ...
Setting up libinput-bin (1.12.6-2) ...
Setting up libegl-mesa0:armhf (19.3.2-1
bpo10+1rpt1) ...Setting up libqt5qml5:armhf (5.11.3-4) ...
Setting up libnotify4:armhf (0.7.7-4) ...
Setting up libqt5webchannel5:armhf (5.11.3-2) ...
Setting up libwacom-bin (0.32-1) ...
Setting up libegl1:armhf (1.3.0-7
bpo10+1) ...deb10u1) ...Setting up libpangoft2-1.0-0:armhf (1.42.4-8
Setting up libgtk-3-common (3.24.5-1+rpt2) ...
Setting up libpangocairo-1.0-0:armhf (1.42.4-8
deb10u1) ...bpo10+1Setting up gsettings-desktop-schemas (3.28.1-1) ...
Setting up libinput10:armhf (1.12.6-2) ...
Setting up libglx-mesa0:armhf (19.3.2-1
rpt1) ...bpo10+1) ...Setting up libglx0:armhf (1.3.0-7
Setting up libqt5gui5:armhf (5.11.3+dfsg1-1+rpi1+deb10u3) ...
Setting up libqmi-proxy (1.22.0-1.2) ...
Setting up libqt5widgets5:armhf (5.11.3+dfsg1-1+rpi1+deb10u3) ...
Setting up librsvg2-2:armhf (2.44.10-2.1+rpi1) ...
Setting up libqt5printsupport5:armhf (5.11.3+dfsg1-1+rpi1+deb10u3) ...
Setting up libgl1:armhf (1.3.0-7
bpo10+1) ...alpha2-21+rpi1) ...Setting up librsvg2-common:armhf (2.44.10-2.1+rpi1) ...
Setting up modemmanager (1.10.0-1) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service → /lib/systemd/system/ModemManager.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ModemManager.service → /lib/systemd/system/ModemManager.service.
Setting up libqt5quick5:armhf (5.11.3-4) ...
Setting up libqt5svg5:armhf (5.11.3-2) ...
Setting up libqt5webkit5:armhf (5.212.0
Setting up adwaita-icon-theme (3.30.1-1) ...
update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode
Setting up phantomjs (2.1.1+dfsg-2) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for systemd (241-7~deb10u4+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.16-1) ...
Processing triggers for fontconfig (2.13.1-2) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for libglib2.0-0:armhf (2.58.3-2+deb10u2) ...
Setting up glib-networking:armhf (2.58.0-2) ...
Setting up libsoup2.4-1:armhf (2.64.2-2) ...
Setting up geoclue-2.0 (2.5.2-1) ...
geoclue.service is a disabled or a static unit, not starting it.
Setting up libsoup-gnome2.4-1:armhf (2.64.2-2) ...
Setting up librest-0.7-0:armhf (0.8.1-1) ...
Setting up libgtk-3-0:armhf (3.24.5-1+rpt2) ...
Setting up libgtk-3-bin (3.24.5-1+rpt2) ...
Setting up qt5-gtk-platformtheme:armhf (5.11.3+dfsg1-1+rpi1+deb10u3) ...
Setting up notification-daemon (3.20.0-4) ...
Processing triggers for libgdk-pixbuf2.0-0:armhf (2.38.1+dfsg-1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for dbus (1.12.16-1) ...
Updating FireMotD available updates count ...
$ systemctl daemon-reload
$ systemctl enable grafana-server.service
Failed to enable unit: Too many levels of symbolic links
$ systemctl start grafana-server.service
OK
Resetting Grafana admin password...
$ grafana-cli admin reset-admin-password admin
/opt/openhabian/functions/helpers.bash: line 24: grafana-cli: command not found
FAILED Connection Grafana to InfluxDB...{"id":1,"message":"Datasource added"}Adding openHAB dashboard tile for Grafana... 2020-05-21_17:56:32_BST [openHABian] Adding an openHAB dashboard tile for 'grafana'... OK
Adding install InfluxDB with database configuration to openHAB
$ touch /etc/openhab2/services/influxdb.cfg
The text was updated successfully, but these errors were encountered: