Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Snorby 2.0 installed on CentOs 5.4 can't login #24

Open
tbaror opened this issue Mar 7, 2010 · 3 comments
Open

Snorby 2.0 installed on CentOs 5.4 can't login #24

tbaror opened this issue Mar 7, 2010 · 3 comments

Comments

@tbaror
Copy link

tbaror commented Mar 7, 2010

Hello

i have just finished installation of Snorby 2.0 using following manual
http://www.catapult-creative.com/2009/2/4/installing-rails-on-centos-5/
and
http://wiki.github.com/mephux/Snorby/migrating-from-acid-base-to-snorby-on-ubuntu-904-amd64-jaunty

everything went ok but now when i try to logon with default user/pass which is snorby/admin i get following
"Incorrect User and/or Password. "
any idea how how fix it?.
Please advice
Thanks

@tbaror
Copy link
Author

tbaror commented Mar 7, 2010

Just to add somthing maybe its related to it i get in the end of run time
rake snorby:setup RAILS_ENV=production



Building Snorby Cache

[~] Cache Built Successfully.
rake aborted!
undefined method `cid' for nil:NilClass

(See full trace by running task with --trace)

@ghost
Copy link

ghost commented Apr 27, 2010

This error is because in the installation process the database is dropped and so there is no data in event table. Because of this Event.last.cid fails in file app/models/calc_cache.rb, line 28

I just manually continued the installation process, like this:
rake snorby:cache RAILS_ENV=production
rake snorby:cronjob RAILS_ENV=production
and create the user with console
RAILS_ENV=production script/console
enter the two lines from db/seeds.rb

@elujan
Copy link

elujan commented Jul 2, 2012

Are you usign [email protected]/snorby user/pass credentials ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants