Comments (3)
CentOS no longer having an update ruby vesion in the general repositories.
Not sure why you would need to update the Ruby version. The Vagrant boxes use CentOS 7 as base, and Dashing runs inside like a charm. Without any SCL packages.
scheduler caught exception: 401 Unauthorized
The error is that the provided API credentials are wrong, you can modify such in the configuration file for dashing-icinga2.
/usr/bin/env: ruby: No such file or directory
Maybe Systemd needs more specific environment variables being set, when you change from native ruby to SCL.
from dashing-icinga2.
Not sure why you would need to update the Ruby version. The Vagrant boxes use CentOS 7 as base, and Dashing runs inside like a charm. Without any SCL packages.
The verion of Ruby that was installed out of the box is 2.0.0. When I went to run the bundle step:
cd /usr/share/dashing-icinga2
bundle
I got an error that bundle
required a minimum of Ruby 2.3.0. That's why I went to update, found out 2.0.0 was way out of date and searched for how to update it and came across SCL.
The error is that the provided API credentials are wrong, you can modify such in the configuration file for dashing-icinga2.
Hmmm. The credentials I made sure matched. I'll take a look.
Maybe Systemd needs more specific environment variables being set, when you change from native ruby to SCL.
That's where my knowledge will therefore stop, sadly 😢 SCL, from my limited understanding, is supposed to be a replacement for the native Ruby so all the environment variables and config should be updated by it.
from dashing-icinga2.
The Vagrant boxes have EPEL enabled by default and then install bundler via packages. This is abstracted in this Puppet profile: https://github.com/Icinga/icinga-vagrant/blob/master/.puppet/modules/profiles/manifests/dashing/icinga2.pp
When you're going the gem install bundler
route, I could imagine that bundler doesn't like the old Ruby version. Still, with the packaged variant, without updating bundler when asking from its run, it should work. Otherwise the Vagrant runs would fail.
from dashing-icinga2.
Related Issues (20)
- cookies problem on CHROME HOT 8
- Very Long Delay Behind MS App Proxy before Data Shown HOT 11
- Maintainer wanted HOT 9
- I can't set TZ (TimeZone) for container HOT 3
- No information is shown until service is restarted HOT 17
- No data on icinga2-Dashboard HOT 4
- Question: Change data-sizey lower than 1? HOT 2
- Empty Icinga2-Dashboard HOT 2
- [Bug] Receiving 401 errors after Installation HOT 17
- [Bug] DOWN Hosts are not displayed correctly and throw errors: "no implicit conversion of nil into string" HOT 2
- Invalid yield in layout.erb HOT 3
- Multiple Services for single Host with same name are not displayed individually HOT 1
- Pie-chart widgets render too big HOT 1
- sharing dashboards HOT 3
- Restart-Dashing script does not work ubuntu HOT 2
- Guidance modifying dashlet HOT 7
- Disable roundchart animation HOT 3
- Can't get dashing-icinga2 to work HOT 5
- dashing-icinga2, installation not working
- deploy two or more dashing on the same icinga2 Instance.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dashing-icinga2.