It seems that user "dashboard" doesn't have enough permissions on the database.
-- Cel : 511-997823451 Blog : http://piobox.blogspot.com/ LUG : http://www.utpinux.org Linux User ID : 549567 --------------- sı ɯǝ1qoɹd ɹnoʎ ʇɐɥʍ ǝǝs ı ʞuıɥʇ ı On 5 June 2013 13:52, DJames <dominicrja...@gmail.com> wrote: > I have setup passenger w/ apache, but my dashboard is not connecting > properly. I am getting the following errors > > > em::Specification#installation_path called from > /etc/puppet/puppet-dashboard/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:93. > NOTE: Gem::Specification#installation_path is deprecated, use base_dir. It > will be removed on or after 2011-10-01. > Gem::Specification#installation_path called from > /etc/puppet/puppet-dashboard/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:93. > NOTE: Gem::Specification#installation_path is > > Database isn't the current migration version: expected 20120112195235, got > 0 You must either run 'rake db:migrate' or set environmental variable > NO_MIGRATION_CHECK > > I ran the rake db:migrate and i got the following message, > > DEPRECATION WARNING: Rake tasks in vendor/plugins/delayed_job/tasks are > deprecated. Use lib/tasks instead. (called from > /etc/puppet/puppet-dashboard/vendor/rails/railties/lib/tasks/rails.rb:10) > ** Invoke db:migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:migrate > rake aborted! > Access denied for user 'dashboard'@'localhost' (using password: YES) > /etc/puppet/puppet-dashboard/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:620:in > `real_connect' > /etc/puppet/puppet-dashboard/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:620:in > `connect' > > > These are the gems i have installed locally > > gem list --local > > *** LOCAL GEMS *** > > activesupport (3.2.9) > arel (3.0.2) > builder (3.1.4) > bundler (1.2.3) > daemon_controller (1.1.0) > erubis (2.7.0) > i18n (0.6.1) > json (1.7.5) > multi_json (1.5.0) > polyglot (0.3.3) > rack (1.4.1) > rack-cache (1.2) > rack-mount (0.8.3) > rack-test (0.6.2) > rake (10.0.2) > rubygems-update (1.8.24) > thor (0.16.0) > treetop (1.4.12) > tzinfo (0.3.35) > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.