fluent / fluentd-ui

Web UI for Fluentd
http://www.fluentd.org/
Apache License 2.0
600 stars 76 forks source link

Can't login with the default credentials on a Ubuntu Precise VM #31

Closed kiyoto closed 10 years ago

kiyoto commented 10 years ago

I tried admin/changeme at localhost:3000/sessions but gets "Login Failed".

Here is the logs for bundle exec rails s

$ bundle exec rails s
=> Booting Puma
=> Rails 4.1.1 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Puma 2.8.2 starting...
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://0.0.0.0:3000
Started POST "/sessions" for 10.0.2.2 at 2014-06-15 22:35:56 +0000
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
Processing by SessionsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"LHqdYnsO40CO7kFCBJiRCxVnU6rtiMQaTC7XgbJCAGw=", "session"=>{"name"=>"admin", "password"=>"[FILTERED]"}, "commit"=>"Sign in"}
  User Load (0.2ms)  SELECT  "users".* FROM "users"  WHERE "users"."name" = 'admin' LIMIT 1
  Rendered shared/_error.html.haml (1.9ms)
  Rendered sessions/new.html.haml within layouts/sign_in (32.0ms)
Started GET "/assets/sb-admin-v2/sb-admin.css?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/application.css?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/sb-admin-v2/plugins/dataTables/jquery.dataTables.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/fluent_log.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/alert.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/sb-admin-v2/plugins/dataTables/dataTables.bootstrap.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/sb-admin-v2/font-awesome/scss/font-awesome.css?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/bower/vue/dist/vue.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/tutorial.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/common.css?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/bower/es6-promise/promise.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/application.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/sb-admin-v2/bootstrap.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
Started GET "/assets/vue_common.js?body=1" for 10.0.2.2 at 2014-06-15 22:35:57 +0000
kiyoto commented 10 years ago

Does the client-side any port other than 3000?

uu59 commented 10 years ago

Did you run bundle exec rake db:seed?

kiyoto commented 10 years ago

it worked! Perhaps we should update the README.md

uu59 commented 10 years ago

NOTE: Currently, fluentd-ui doesn't use RDBMS so rake db:seed is no longer required.