Project

General

Profile

Actions

Bug #11122

closed

Already initialized constant exception after service startup

Added by Anthony Lapenna over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When trying to startup the foreman server 1.9 RC on Ubuntu 14.04 via:

$ sudo service foreman start

I'm getting the following exception:

 /usr/share/foreman/app/models/concerns/encryptable.rb:5: warning: already initialized constant ENCRYPTION_PREFIX
  | /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.7/lib/rack/server.rb:200:in `app'
  | /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/commands/server.rb:46:in `app'
  | /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.7/lib/rack/server.rb:304:in `wrapped_app'
  | /usr/share/foreman/vendor/ruby/1.9.1/gems/rack-1.4.7/lib/rack/server.rb:254:in `start'
  | /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/commands/server.rb:70:in `start'
  | /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/commands.rb:55:in `block in <top (required)>'
  | /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/commands.rb:50:in `tap'
  | /usr/share/foreman/vendor/ruby/1.9.1/gems/railties-3.2.21/lib/rails/commands.rb:50:in `<top (required)>'
  | script/rails:6:in `require'
  | script/rails:6:in `<main>'

It doesn't seem to affect anything though.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #10263: Encrypt LDAP password in databaseClosedDaniel Lobato Garcia04/24/2015Actions
Actions

Also available in: Atom PDF