Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to access Public Keys via web interface #6

Open
decko opened this issue May 23, 2010 · 3 comments
Open

Trying to access Public Keys via web interface #6

decko opened this issue May 23, 2010 · 3 comments

Comments

@decko
Copy link

decko commented May 23, 2010

Hi guys. Sorry about use this way to contact you.
I've instaled redmine-gitosis but I don't know why it doesn't work.
Redmine report this:

Processing GitosisPublicKeysController#index (for 189.123.192.43 at 2010-05-23 15:08:49) [GET]
Parameters: {"action"=>"index", "controller"=>"gitosis_public_keys"}

ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table: gitosis_public_keys: SELECT * FROM "gitosis_public_keys" WHERE (1=1 AND (active=1)) AND ("gitosis_public_keys".user_id = 3) ORDER BY active DESC, created_at DESC):
vendor/plugins/redmine_gitosis/app/controllers/gitosis_public_keys_controller.rb:17:in index' /dh/passenger/lib/phusion_passenger/rack/request_handler.rb:92:inprocess_request'
/dh/passenger/lib/phusion_passenger/abstract_request_handler.rb:207:in main_loop' /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:400:instart_request_handler'
/dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:351:in handle_spawn_application' /dh/passenger/lib/phusion_passenger/utils.rb:184:insafe_fork'
/dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:349:in handle_spawn_application' /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:insend'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in main_loop' /dh/passenger/lib/phusion_passenger/abstract_server.rb:196:instart_synchronously'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:163:in start' /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:209:instart'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:262:in spawn_rails_application' /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:126:inlookup_or_add'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:256:in spawn_rails_application' /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:80:insynchronize'
/dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:79:in synchronize' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:255:inspawn_rails_application'
/dh/passenger/lib/phusion_passenger/spawn_manager.rb:154:in spawn_application' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:287:inhandle_spawn_application'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in __send__' /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:inmain_loop'
/dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

Rendering /home/amosca/projetos.amosca.inf.br/public/500.html (500 Internal Server Error)

Using redmine to create the repositorie gives the same error: "no such table"

Thanks and sorry for annoying you guys

@lars-derichter
Copy link

Have you tried running "RAILS_ENV=production rake db:migrate_plugins" from within the redmine directory?

@decko
Copy link
Author

decko commented Sep 17, 2010

Thanks

@dcrawkstar
Copy link

I have the same issue, and I did run the above command, below is my tail

Processing GitosisPublicKeysController#index (for 192.168.10.195 at 2011-03-30 19:02:21) [GET]
  Parameters: {"action"=>"index", "controller"=>"gitosis_public_keys"}

ActiveRecord::StatementInvalid (RuntimeError: ERROR     C42883  M
operator does not exist: boolean = integer     H
No operator matches the given name and argument type(s). You might need to add explicit type casts.    P
59     F
parse_oper.c  L766     R
op_error: SELECT * FROM "gitosis_public_keys" WHERE (1=1 AND (active=1)) AND ("gitosis_public_keys".user_id = 1)  ORDER BY active DESC, created_at DESC):

I'm using postgres if this matters

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

No branches or pull requests

3 participants