Closed Hubbitus closed 8 years ago
@Hubbitus I think, this would help: http://superuser.com/questions/273799/how-to-use-special-characters-in-username-password-for-http-proxy
@thotmx, I unsure, but it is for windows cmd. Why it should help there in config file??
postgres:H!HxDu3dg07@3Mg@egais.perf.db.master:5432
This would fail parsing the URI.
I think using %40 instead @ would solve the problem.
Even if I have URL without @:
$ cat /etc/pghero/conf.d/other
export DATABASE_URL="postgres://postgres:pas!s@localhost:54321/egais"
$ cat /var/log/pghero/web-1.log
[25598] Puma starting in cluster mode...
[25598] * Version 2.15.3 (ruby 2.0.0-p648), codename: Autumn Arbor Airbrush
[25598] * Min threads: 1, max threads: 16
[25598] * Environment: production
[25598] * Process workers: 3
[25598] * Preloading application
[25598] ! Unable to load application: NameError: uninitialized constant ActionView::Helpers::ActiveModelHelper
/opt/pghero/vendor/bundle/ruby/2.0.0/gems/actionview-4.2.5/lib/action_view/helpers.rb:40:in `<module:Helpers>': uninitialized constant ActionView::Helpers::ActiveModelHelper
(NameError)
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/actionview-4.2.5/lib/action_view/helpers.rb:4:in `<module:ActionView>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/actionview-4.2.5/lib/action_view/helpers.rb:3:in `<top (required)>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/actionview-4.2.5/lib/action_view/base.rb:5:in `<top (required)>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/actionview-4.2.5/lib/action_view/view_paths.rb:1:in `<top (required)>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.5/lib/abstract_controller/rendering.rb:4:in `<top (required)>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.5/lib/action_controller/base.rb:204:in `<class:Base>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.5/lib/action_controller/base.rb:164:in `<module:ActionController>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.5/lib/action_controller/base.rb:5:in `<top (required)>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/pghero-1.2.2/app/controllers/pg_hero/home_controller.rb:2:in `<module:PgHero>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/pghero-1.2.2/app/controllers/pg_hero/home_controller.rb:1:in `<top (required)>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/engine.rb:471:in `each'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/engine.rb:471:in `block in eager_load!'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/engine.rb:469:in `each'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/engine.rb:469:in `eager_load!'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/engine.rb:346:in `eager_load!'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/application/finisher.rb:56:in `each'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `instance_exec'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in `run'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/initializable.rb:55:in `block in run_initializers'
from /opt/pghero/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
from /opt/pghero/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
from /opt/pghero/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
from /opt/pghero/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
from /opt/pghero/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
from /opt/pghero/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
from /opt/pghero/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/initializable.rb:54:in `run_initializers'
from /opt/pghero/vendor/bundle/ruby/2.0.0/gems/railties-4.2.5/lib/rails/application.rb:352:in `initialize!'
from /opt/pghero/config/environment.rb:5:in `<top (required)>'
from config.ru:3:in `require'
Why you close it? Does pghero at all ready to use and should work?
Sorry @Hubbitus, the issue in the title was resolved. Can you create a new issue for the 2nd error if you're still seeing it?
Ok, you just do not provide rpms fro fresh Fedora versions. I able to use it from docker container nowe. Thanks.