GithubHelp home page GithubHelp logo

Comments (3)

mocdaniel avatar mocdaniel commented on June 26, 2024

I just confirmed this error and noticed that this yield-thing caused trouble in older versions of dashing-icinga2 already, but didn't break the dashboard. For some reason, thin redirects requests to / to /layout in this container's version instead of rendering the actual dashboard - a fix will be available soon.

from dashing-icinga2.

mocdaniel avatar mocdaniel commented on June 26, 2024

Fixed in 5ed16c9, dbodky/dashing-icinga2:latest over on DockerHub should work again as well.

Long story short: Dockerfile used ruby:buster as base image and thus something like ruby:buster:latest implicitly. Ruby 3.X and the gems coming with it broke the templating language used in template.erb, apparently (I am no ruby specialist :D). I pinned the ruby version to use to 2.7.X by changing the base image to ruby:2.7-buster for now. I'm going to go ahead and close this issue for now.

from dashing-icinga2.

srgzx avatar srgzx commented on June 26, 2024

Hi, I know this is a long shot, but I am working on a project that uses Sinatra and Thin that has this exact same problem, and I am attempting to learn what's causing it and how to make it compatible with Ruby 3.x. I am not a Ruby specialist either, unfortunately. If you or anyone else can remember exactly what is going on here, or can suggest how to fix it other than downgrading to Ruby 2.7, I would appreciate it. Cheers.

from dashing-icinga2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.