Getting 404 error
Hi Jorgebg,
I am trying to add Gmail authentication for redmine in development mode.
I installed openid - selector to my redmine 2.3.1 and migrated the plugin too.
When I restart my server and try to Signin it shows me 404 page removed error.
In my gemlist I have ruby-openid 2.1.4 version and here is my logs
Rendered account/login.html.erb within layouts/base (17.2ms) Missing template, responding with 404 Rendered common/error.html.erb within layouts/base (1.0ms) Completed 404 Not Found in 39ms (Views: 12.3ms
Thanks in advance
I don't know why is it giving you that error, but have you enabled OpenID? http://www.redmine.org/projects/redmine/wiki/RedmineSettings#Allow-OpenID-login-and-registration http://www.youtube.com/watch?v=69HF-P9S_Dc
I don't think this version of the code is compatible with Redmine 2.3, you might want to look at one of the forks such as mine here: https://github.com/computerminds/redmine_openid_selector, which is.
It has been updated by @michalrus and now it should be compatible with 2.3 :smiley:
Still not working with version 2.3, I just encountered the same problem. Worst thing is that i cant seem to get my login back after uninstalling and removing the plugin =/
Edit: I got my login back by removing the plugin. Not sure why it didn't work the first time.
@MagmaRules it works for me, see https://projects.michalrus.com/ . Maybe you need to install OpenID Fix plugin?
Still have the same problem. OpenId Fix is installed. I ended up just inserting the url for google openid in the textfield and its good for now.
Same issue: Started GET "/login" for x.x.x.x at 2013-07-21 00:30:26 -0500 Processing by AccountController#login as HTML Current user: anonymous Rendered account/login.html.erb within layouts/base (25.0ms) Missing template, responding with 404 Rendered common/error.html.erb within layouts/base (3.0ms) Completed 404 Not Found in 802ms (Views: 122.0ms | ActiveRecord: 3.0ms)
Edit_0: Just ran strace on rails process - I'm willing to bet a bitcoin (although I'm not sure I can do that) that this has to do with using jruby (and not ruby), and some locale + imagemagick sprite foo... just guessing...
Edit_1: Looks like I was wrong... Missing partial account/view_account_login_top, application/view_account_login_top with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}. Searched in: * "/mnt/spiner0/home/blah/Apps/redmine-2.3.2/plugins/openid_fix/app/views" * "/mnt/spiner0/home/blah/Apps/redmine-2.3.2/app/views"
Hi, I have the same problem. If I use darthsteven's version it works: https://github.com/computerminds/redmine_openid_selector
But if I update it with this one, got 404 error in the same platform.
Hope this information helps you.
Thanks for your effort.
Tx
I haven't looked into WHY yet, but this can be fixed by changing the commit here: https://github.com/jorgebg/redmine-openid-selector/commit/aae7a599dc4b846a9e020cd3726a89fb494e8724
And renaming _view_account_login_top.html.erb to view_account_login_bottom.html.erb, and then changing lib/openid_selector/hooks.rb to :partial => 'view_account_login_bottom'
It still renders on top (since that's the render_on hooks). Not sure why it fails when named 'properly'.
Having the same issue on 2.3.3-1.
The reason why this was happening for me was the name of my plugin folder. When I cloned this repository, it created a folder with the same name as the repo, namely "redmine-openid-selector" this is different to the name of the plugin class in init.rb - "redmine_openid_selector". It seems that the plugin class name must be the same as the folder name used in the plugins folder! That would also explain why the repo https://github.com/computerminds/redmine_openid_selector works... the repo name has the underscores instead of the dashes.
So, to solve your problem, just make sure that the plugin's folder is "redmine_openid_selector" exactly. Maybe this note should be included in the README file.