You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by Craig Russell <ap...@gmail.com> on 2021/08/04 18:00:52 UTC

Error starting web application secretary workbench

Anyone else seeing this on https://whimsy.apache.org/secretary/workbench/ ?

Error starting web application

The Phusion Passenger application server tried to start the web application. But the application itself (and not Passenger) encountered an internal error.

Error details:

cannot load such file -- nokogumbo (LoadError)
  /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
  /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
  /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
  /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
  /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
  /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
  config.ru:1:in `require'
  config.ru:1:in `block in <main>'
  /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
  /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `<main>'
  /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
  /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
  /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
  /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
  /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
  /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
  /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
The stdout/stderr output of the subprocess so far is:

Error: The application encountered the following error: cannot load such file -- nokogumbo (LoadError)
    /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
    /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
    /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
    /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
    /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
    /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
    config.ru:1:in `require'
    config.ru:1:in `block in <main>'
    /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
    /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
    config.ru:1:in `new'
    config.ru:1:in `<main>'
    /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
    /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
    /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
    /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
    /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
    /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
    /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
This website is powered by Phusion Passenger®, the smart application server built by Phusion®.
Craig L Russell
clr@apache.org


Re: Error starting web application secretary workbench

Posted by sebb <se...@gmail.com>.
On Thu, 5 Aug 2021 at 02:25, Sam Ruby <ru...@intertwingly.net> wrote:
>
> On Wed, Aug 4, 2021 at 9:06 PM sebb <se...@gmail.com> wrote:
> >
> > On Thu, 5 Aug 2021 at 01:15, Sam Ruby <ru...@intertwingly.net> wrote:
> > >
> > > On Wed, Aug 4, 2021 at 7:38 PM sebb <se...@gmail.com> wrote:
> > > >
> > > > On Thu, 5 Aug 2021 at 00:14, Sam Ruby <ru...@intertwingly.net> wrote:
> > > > >
> > > > > It looks like sebb disabled security updates on wunderbar, which seems unwise.
> > > >
> > > > Updates were *not* disabled, but updates are no longer automatically installed.
> > > >
> > > > This was done because one of the previous updates to Wunderbar broke things.
> > > >
> > > > https://lists.apache.org/thread.html/r2d1a2e39bd92390e68efebc5bd53b4594271492468728c1ca45ab895%40%3Cdev.whimsical.apache.org%3E
> > >
> > > Once whimsy updated to Ruby 2.7, Ruby safety checks were no longer
> > > something that could be trusted, and wunderbar was updated to require
> > > an opt in to retain the old (insecure) behavior.
> > >
> > > The version of wunderbar had been pinned before that change, whimsy
> > > would have had a security issue.  If there is a choice between
> > > availability (up time) and security, we need to prioritize security.
> > >
> > > What you have implemented is unwise, and I therefore am now giving my
> > > -1 to that approach and am requesting that it be reverted.
> >
> > Is it always wise to update to the most recent version of a Gem?
> > i.e. does a new release never have a new security issue?
>
> Should we turn off "apt-get update"?

Possibly.
It depends on what checks are made before releases are done through APT.

> Meanwhile the secretary workbench is down, and I'm asking you to honor my -1.

I already updated the version, so unpinning it won't make a difference
at present.

> > Note that ruby2js is currently pinned - should that be unpinned also?
>
> It seems rather odd that you have picked exactly those two gems to
> pin.

Because updates to both of those Gems broke Whimsy, and the versions
had to be back-dated whilst the Gem was fixed.

> And yet any fix I personally make directly to whimsy gets
> deployed instantly.

Yes, and can be reverted or fixed instantly by any Whimsy committer.
That is not the case for the 3rd party Gems.

> All other gems (and, for that matter, apt-get packages, and any direct
> software changes get updated and deployed automatically.
>
> Wunderbar has been feature complete (and therefore stable) for quite some time.

As I recall, it was feature complete when it was updated to handle a
change to Ruby.
That change broke Whimsy.

> Ruby2JS is quiet at the moment, but there has been significant
> development this past year.  It is true that Ruby2JS had a regression
> which was detected on December 29, and promptly fixed on December 29.
>
> Since you decided to pin Ruby2JS and not update it for over seven
> months - what is your plan to upgrade to the latest version?

I've not given it any thought.
As far as I know, the current version is working fine.

> - Sam Ruby

Re: Error starting web application secretary workbench

Posted by Sam Ruby <ru...@intertwingly.net>.
On Wed, Aug 4, 2021 at 9:06 PM sebb <se...@gmail.com> wrote:
>
> On Thu, 5 Aug 2021 at 01:15, Sam Ruby <ru...@intertwingly.net> wrote:
> >
> > On Wed, Aug 4, 2021 at 7:38 PM sebb <se...@gmail.com> wrote:
> > >
> > > On Thu, 5 Aug 2021 at 00:14, Sam Ruby <ru...@intertwingly.net> wrote:
> > > >
> > > > It looks like sebb disabled security updates on wunderbar, which seems unwise.
> > >
> > > Updates were *not* disabled, but updates are no longer automatically installed.
> > >
> > > This was done because one of the previous updates to Wunderbar broke things.
> > >
> > > https://lists.apache.org/thread.html/r2d1a2e39bd92390e68efebc5bd53b4594271492468728c1ca45ab895%40%3Cdev.whimsical.apache.org%3E
> >
> > Once whimsy updated to Ruby 2.7, Ruby safety checks were no longer
> > something that could be trusted, and wunderbar was updated to require
> > an opt in to retain the old (insecure) behavior.
> >
> > The version of wunderbar had been pinned before that change, whimsy
> > would have had a security issue.  If there is a choice between
> > availability (up time) and security, we need to prioritize security.
> >
> > What you have implemented is unwise, and I therefore am now giving my
> > -1 to that approach and am requesting that it be reverted.
>
> Is it always wise to update to the most recent version of a Gem?
> i.e. does a new release never have a new security issue?

Should we turn off "apt-get update"?

Meanwhile the secretary workbench is down, and I'm asking you to honor my -1.

> Note that ruby2js is currently pinned - should that be unpinned also?

It seems rather odd that you have picked exactly those two gems to
pin.  And yet any fix I personally make directly to whimsy gets
deployed instantly.

All other gems (and, for that matter, apt-get packages, and any direct
software changes get updated and deployed automatically.

Wunderbar has been feature complete (and therefore stable) for quite some time.

Ruby2JS is quiet at the moment, but there has been significant
development this past year.  It is true that Ruby2JS had a regression
which was detected on December 29, and promptly fixed on December 29.

Since you decided to pin Ruby2JS and not update it for over seven
months - what is your plan to upgrade to the latest version?

- Sam Ruby

Re: Error starting web application secretary workbench

Posted by sebb <se...@gmail.com>.
On Thu, 5 Aug 2021 at 01:15, Sam Ruby <ru...@intertwingly.net> wrote:
>
> On Wed, Aug 4, 2021 at 7:38 PM sebb <se...@gmail.com> wrote:
> >
> > On Thu, 5 Aug 2021 at 00:14, Sam Ruby <ru...@intertwingly.net> wrote:
> > >
> > > It looks like sebb disabled security updates on wunderbar, which seems unwise.
> >
> > Updates were *not* disabled, but updates are no longer automatically installed.
> >
> > This was done because one of the previous updates to Wunderbar broke things.
> >
> > https://lists.apache.org/thread.html/r2d1a2e39bd92390e68efebc5bd53b4594271492468728c1ca45ab895%40%3Cdev.whimsical.apache.org%3E
>
> Once whimsy updated to Ruby 2.7, Ruby safety checks were no longer
> something that could be trusted, and wunderbar was updated to require
> an opt in to retain the old (insecure) behavior.
>
> The version of wunderbar had been pinned before that change, whimsy
> would have had a security issue.  If there is a choice between
> availability (up time) and security, we need to prioritize security.
>
> What you have implemented is unwise, and I therefore am now giving my
> -1 to that approach and am requesting that it be reverted.

Is it always wise to update to the most recent version of a Gem?
i.e. does a new release never have a new security issue?

Note that ruby2js is currently pinned - should that be unpinned also?

> - Sam Ruby
>
> > > https://github.com/apache/whimsy/blob/f95c56af00e57ee51582b9a74961983b6dc85e6a/www/secretary/workbench/Gemfile#L19
> > >
> > > - Sam Ruby
> > >
> > > On Wed, Aug 4, 2021 at 5:24 PM Sam Ruby <ru...@intertwingly.net> wrote:
> > > >
> > > > I pushed wunderbar 1.5.0 which should fix the problem.  This will be
> > > > picked up the next time puppet runs.
> > > >
> > > > - Sam Ruby
> > > >
> > > > On Wed, Aug 4, 2021 at 2:00 PM Craig Russell <ap...@gmail.com> wrote:
> > > > >
> > > > > Anyone else seeing this on https://whimsy.apache.org/secretary/workbench/ ?
> > > > >
> > > > > Error starting web application
> > > > >
> > > > > The Phusion Passenger application server tried to start the web application. But the application itself (and not Passenger) encountered an internal error.
> > > > >
> > > > > Error details:
> > > > >
> > > > > cannot load such file -- nokogumbo (LoadError)
> > > > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
> > > > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
> > > > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
> > > > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
> > > > >   /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
> > > > >   /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
> > > > >   config.ru:1:in `require'
> > > > >   config.ru:1:in `block in <main>'
> > > > >   /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
> > > > >   /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
> > > > >   config.ru:1:in `new'
> > > > >   config.ru:1:in `<main>'
> > > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
> > > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
> > > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
> > > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
> > > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
> > > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
> > > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
> > > > > The stdout/stderr output of the subprocess so far is:
> > > > >
> > > > > Error: The application encountered the following error: cannot load such file -- nokogumbo (LoadError)
> > > > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
> > > > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
> > > > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
> > > > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
> > > > >     /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
> > > > >     /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
> > > > >     config.ru:1:in `require'
> > > > >     config.ru:1:in `block in <main>'
> > > > >     /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
> > > > >     /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
> > > > >     config.ru:1:in `new'
> > > > >     config.ru:1:in `<main>'
> > > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
> > > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
> > > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
> > > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
> > > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
> > > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
> > > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
> > > > > This website is powered by Phusion Passenger®, the smart application server built by Phusion®.
> > > > > Craig L Russell
> > > > > clr@apache.org
> > > > >

-1 (was: Error starting web application secretary workbench)

Posted by Sam Ruby <ru...@intertwingly.net>.
New subject line for visibility; cc PMC chair

On Wed, Aug 4, 2021 at 8:14 PM Sam Ruby <ru...@intertwingly.net> wrote:
>
> What you have implemented is unwise, and I therefore am now giving my
> -1 to that approach and am requesting that it be reverted.

- Sam Ruby

Re: Error starting web application secretary workbench

Posted by Sam Ruby <ru...@intertwingly.net>.
On Wed, Aug 4, 2021 at 7:38 PM sebb <se...@gmail.com> wrote:
>
> On Thu, 5 Aug 2021 at 00:14, Sam Ruby <ru...@intertwingly.net> wrote:
> >
> > It looks like sebb disabled security updates on wunderbar, which seems unwise.
>
> Updates were *not* disabled, but updates are no longer automatically installed.
>
> This was done because one of the previous updates to Wunderbar broke things.
>
> https://lists.apache.org/thread.html/r2d1a2e39bd92390e68efebc5bd53b4594271492468728c1ca45ab895%40%3Cdev.whimsical.apache.org%3E

Once whimsy updated to Ruby 2.7, Ruby safety checks were no longer
something that could be trusted, and wunderbar was updated to require
an opt in to retain the old (insecure) behavior.

The version of wunderbar had been pinned before that change, whimsy
would have had a security issue.  If there is a choice between
availability (up time) and security, we need to prioritize security.

What you have implemented is unwise, and I therefore am now giving my
-1 to that approach and am requesting that it be reverted.

- Sam Ruby

> > https://github.com/apache/whimsy/blob/f95c56af00e57ee51582b9a74961983b6dc85e6a/www/secretary/workbench/Gemfile#L19
> >
> > - Sam Ruby
> >
> > On Wed, Aug 4, 2021 at 5:24 PM Sam Ruby <ru...@intertwingly.net> wrote:
> > >
> > > I pushed wunderbar 1.5.0 which should fix the problem.  This will be
> > > picked up the next time puppet runs.
> > >
> > > - Sam Ruby
> > >
> > > On Wed, Aug 4, 2021 at 2:00 PM Craig Russell <ap...@gmail.com> wrote:
> > > >
> > > > Anyone else seeing this on https://whimsy.apache.org/secretary/workbench/ ?
> > > >
> > > > Error starting web application
> > > >
> > > > The Phusion Passenger application server tried to start the web application. But the application itself (and not Passenger) encountered an internal error.
> > > >
> > > > Error details:
> > > >
> > > > cannot load such file -- nokogumbo (LoadError)
> > > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
> > > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
> > > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
> > > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
> > > >   /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
> > > >   /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
> > > >   config.ru:1:in `require'
> > > >   config.ru:1:in `block in <main>'
> > > >   /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
> > > >   /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
> > > >   config.ru:1:in `new'
> > > >   config.ru:1:in `<main>'
> > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
> > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
> > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
> > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
> > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
> > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
> > > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
> > > > The stdout/stderr output of the subprocess so far is:
> > > >
> > > > Error: The application encountered the following error: cannot load such file -- nokogumbo (LoadError)
> > > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
> > > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
> > > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
> > > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
> > > >     /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
> > > >     /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
> > > >     config.ru:1:in `require'
> > > >     config.ru:1:in `block in <main>'
> > > >     /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
> > > >     /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
> > > >     config.ru:1:in `new'
> > > >     config.ru:1:in `<main>'
> > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
> > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
> > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
> > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
> > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
> > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
> > > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
> > > > This website is powered by Phusion Passenger®, the smart application server built by Phusion®.
> > > > Craig L Russell
> > > > clr@apache.org
> > > >

Re: Error starting web application secretary workbench

Posted by sebb <se...@gmail.com>.
On Thu, 5 Aug 2021 at 00:14, Sam Ruby <ru...@intertwingly.net> wrote:
>
> It looks like sebb disabled security updates on wunderbar, which seems unwise.

Updates were *not* disabled, but updates are no longer automatically installed.

This was done because one of the previous updates to Wunderbar broke things.

https://lists.apache.org/thread.html/r2d1a2e39bd92390e68efebc5bd53b4594271492468728c1ca45ab895%40%3Cdev.whimsical.apache.org%3E

> https://github.com/apache/whimsy/blob/f95c56af00e57ee51582b9a74961983b6dc85e6a/www/secretary/workbench/Gemfile#L19
>
> - Sam Ruby
>
> On Wed, Aug 4, 2021 at 5:24 PM Sam Ruby <ru...@intertwingly.net> wrote:
> >
> > I pushed wunderbar 1.5.0 which should fix the problem.  This will be
> > picked up the next time puppet runs.
> >
> > - Sam Ruby
> >
> > On Wed, Aug 4, 2021 at 2:00 PM Craig Russell <ap...@gmail.com> wrote:
> > >
> > > Anyone else seeing this on https://whimsy.apache.org/secretary/workbench/ ?
> > >
> > > Error starting web application
> > >
> > > The Phusion Passenger application server tried to start the web application. But the application itself (and not Passenger) encountered an internal error.
> > >
> > > Error details:
> > >
> > > cannot load such file -- nokogumbo (LoadError)
> > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
> > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
> > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
> > >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
> > >   /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
> > >   /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
> > >   config.ru:1:in `require'
> > >   config.ru:1:in `block in <main>'
> > >   /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
> > >   /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
> > >   config.ru:1:in `new'
> > >   config.ru:1:in `<main>'
> > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
> > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
> > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
> > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
> > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
> > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
> > >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
> > > The stdout/stderr output of the subprocess so far is:
> > >
> > > Error: The application encountered the following error: cannot load such file -- nokogumbo (LoadError)
> > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
> > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
> > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
> > >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
> > >     /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
> > >     /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
> > >     config.ru:1:in `require'
> > >     config.ru:1:in `block in <main>'
> > >     /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
> > >     /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
> > >     config.ru:1:in `new'
> > >     config.ru:1:in `<main>'
> > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
> > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
> > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
> > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
> > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
> > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
> > >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
> > > This website is powered by Phusion Passenger®, the smart application server built by Phusion®.
> > > Craig L Russell
> > > clr@apache.org
> > >

Re: Error starting web application secretary workbench

Posted by Sam Ruby <ru...@intertwingly.net>.
It looks like sebb disabled security updates on wunderbar, which seems unwise.

https://github.com/apache/whimsy/blob/f95c56af00e57ee51582b9a74961983b6dc85e6a/www/secretary/workbench/Gemfile#L19

- Sam Ruby

On Wed, Aug 4, 2021 at 5:24 PM Sam Ruby <ru...@intertwingly.net> wrote:
>
> I pushed wunderbar 1.5.0 which should fix the problem.  This will be
> picked up the next time puppet runs.
>
> - Sam Ruby
>
> On Wed, Aug 4, 2021 at 2:00 PM Craig Russell <ap...@gmail.com> wrote:
> >
> > Anyone else seeing this on https://whimsy.apache.org/secretary/workbench/ ?
> >
> > Error starting web application
> >
> > The Phusion Passenger application server tried to start the web application. But the application itself (and not Passenger) encountered an internal error.
> >
> > Error details:
> >
> > cannot load such file -- nokogumbo (LoadError)
> >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
> >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
> >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
> >   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
> >   /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
> >   /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
> >   config.ru:1:in `require'
> >   config.ru:1:in `block in <main>'
> >   /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
> >   /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
> >   config.ru:1:in `new'
> >   config.ru:1:in `<main>'
> >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
> >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
> >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
> >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
> >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
> >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
> >   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
> > The stdout/stderr output of the subprocess so far is:
> >
> > Error: The application encountered the following error: cannot load such file -- nokogumbo (LoadError)
> >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
> >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
> >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
> >     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
> >     /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
> >     /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
> >     config.ru:1:in `require'
> >     config.ru:1:in `block in <main>'
> >     /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
> >     /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
> >     config.ru:1:in `new'
> >     config.ru:1:in `<main>'
> >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
> >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
> >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
> >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
> >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
> >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
> >     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
> > This website is powered by Phusion Passenger®, the smart application server built by Phusion®.
> > Craig L Russell
> > clr@apache.org
> >

Re: Error starting web application secretary workbench

Posted by Sam Ruby <ru...@intertwingly.net>.
I pushed wunderbar 1.5.0 which should fix the problem.  This will be
picked up the next time puppet runs.

- Sam Ruby

On Wed, Aug 4, 2021 at 2:00 PM Craig Russell <ap...@gmail.com> wrote:
>
> Anyone else seeing this on https://whimsy.apache.org/secretary/workbench/ ?
>
> Error starting web application
>
> The Phusion Passenger application server tried to start the web application. But the application itself (and not Passenger) encountered an internal error.
>
> Error details:
>
> cannot load such file -- nokogumbo (LoadError)
>   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
>   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
>   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
>   /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
>   /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
>   /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
>   config.ru:1:in `require'
>   config.ru:1:in `block in <main>'
>   /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
>   /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
>   config.ru:1:in `new'
>   config.ru:1:in `<main>'
>   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
>   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
>   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
>   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
>   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
>   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
>   /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
> The stdout/stderr output of the subprocess so far is:
>
> Error: The application encountered the following error: cannot load such file -- nokogumbo (LoadError)
>     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `require'
>     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/render.rb:9:in `<top (required)>'
>     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `require'
>     /var/lib/gems/2.7.0/gems/wunderbar-1.4.5/lib/wunderbar/vue.rb:1:in `<top (required)>'
>     /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `require'
>     /x1/srv/whimsy/www/secretary/workbench/server.rb:7:in `<top (required)>'
>     config.ru:1:in `require'
>     config.ru:1:in `block in <main>'
>     /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `instance_eval'
>     /var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/builder.rb:125:in `initialize'
>     config.ru:1:in `new'
>     config.ru:1:in `<main>'
>     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `eval'
>     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:101:in `preload_app'
>     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
>     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:378:in `run_block_and_record_step_progress'
>     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
>     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
>     /var/lib/gems/2.7.0/gems/passenger-6.0.5/src/helper-scripts/rack-preloader.rb:29:in `<main>'
> This website is powered by Phusion Passenger®, the smart application server built by Phusion®.
> Craig L Russell
> clr@apache.org
>