Project

General

Profile

[Solved] Redmine - can't login - need help please

Added by Brad Bouchard over 12 years ago

Hi, I am extremely new to Redmine, Ruby, RoR and everything associated with it. I have just started a new position with a development group and one of the first things that I was tasked with was building a dedicated development environment for us. This was to include part of our cloud space for development, a Redmine installation(mainly for issue tracking) and to tie this in with a GIT repo. I struggled for a few days trying to merely install redmine, most of this was linked to not having all the right parts of ruby running. I finally got redmine installed and now I cannot log in. When I try to log in as the administrator I get:

Internal Error.
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

Also, if I choose register and create a new user, the user is created in the database, but you cannot subsequently log in. This may be because its not getting to the point of sending the registration confirmation email, I am not sure. I have researched a lot to try and find some help for this issue but really have not been able to find anything. The closest I got was checking the log file but honestly I am having a really hard time interpreting anything out of that. From what I have seen on most of these posts I'll try and do my best to describe the environment I have set up. I really need some help sorting this out. Anything will be greatly appreciated!

Redmine version 1.2.1

actionmailer (3.1.1, 2.3.14, 2.3.12, 2.3.11, 2.3.8)
actionpack (3.1.1, 2.3.14, 2.3.12, 2.3.11, 2.3.8)
activemodel (3.1.1)
activerecord (3.1.1, 2.3.14, 2.3.12, 2.3.11, 2.3.8)
activeresource (3.1.1, 2.3.14, 2.3.12, 2.3.11, 2.3.8)
activesupport (3.1.1, 2.3.14, 2.3.12, 2.3.11, 2.3.8)
arel (2.2.1)
builder (3.0.0)
bundler (1.0.21)
cgi_multipart_eof_fix (2.5.0)
daemons (1.1.4)
erubis (2.7.0)
fastthread (1.0.7)
gem_plugin (0.2.3)
hike (1.2.1)
i18n (0.6.0, 0.4.2)
json (1.6.1)
mail (2.3.0)
mime-types (1.16)
mongrel (1.1.5)
multi_json (1.0.3)
mysql (2.8.1)
polyglot (0.3.2)
rack (1.3.5, 1.1.2)
rack-cache (1.1)
rack-mount (0.8.3)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (2.3.8)
railties (3.1.1)
rake (0.8.7)
rdoc (3.11)
rubygems-update (1.6.0, 1.3.7)
sprockets (2.0.3)
sqlite3 (1.3.4)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.30)


Replies (6)

RE: Redmine - can't login - need help please - Added by Brad Bouchard over 12 years ago

I decided to try to completely remove ruby and try a completely fresh installation. I am still having the same issue although I wanted to update the version of ruby that I currently had:

  • LOCAL GEMS ***

actionmailer (2.3.14, 2.3.11)
actionpack (2.3.14, 2.3.11)
activerecord (2.3.14, 2.3.11)
activeresource (2.3.14, 2.3.11)
activesupport (2.3.14, 2.3.11)
cgi_multipart_eof_fix (2.5.0)
daemons (1.1.4)
fastthread (1.0.7)
gem_plugin (0.2.3)
i18n (0.4.2)
mongrel (1.1.5)
mysql (2.8.1)
rack (1.1.2, 1.1.1)
rails (2.3.14, 2.3.11)
rake (0.8.7)

Again, anything pointing me in the right direction to iron this out would be a big help. Thanks!

RE: Redmine - can't login - need help please - Added by Mischa The Evil over 12 years ago

How did you deploy Redmine? See submissions. What server? What application-server? Can you post a snippet of your logs after a request (login attempt)?

RE: Redmine - can't login - need help please - Added by Brad Bouchard over 12 years ago

When running the script/about command I get:
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1.2
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Edge Rails revision unknown
Application root /home/dev/rails_apps/redmine
Environment production
Database adapter mysql
Database schema version 20110511000000

We have an eapps cloud account and this runs linux. I downloaded the redmine-1.2.1.tar.gz and after creating a rails app named redmine via our cpanel page, I just extracted to that directory (rails_apps/redmine). I then run the applications and redmine is running. When trying to login as the admin using admin/admin I get:

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

I only get this error message when trying to log in as the admin. When I try to register, the new user is added to the database but when trying to log in as them it says the user does not exist. It also is not sending a confirmation/account confirm email.

RE: Redmine - can't login - need help please - Added by Mischa The Evil over 12 years ago

From submissions:

the error stack trace that you should find in the log file if your report is about an error. The message displayed by the app (eg. ...An error occurred on the page you were trying to access. If you continue...) is useless here.

Further haven't you answered any of my previous questions. Without more info this is impossible to troubleshoot.

RE: Redmine - can't login - need help please - Added by Brad Bouchard over 12 years ago

Hi, I apologize for not updating the status on this. I had someone else who we have as a consultant take a look at this and we finally got it going. The problem was eventually traced to this issue:

http://www.redmine.org/issues/7688

Thanks!

RE: Redmine - can't login - need help please - Added by Mischa The Evil over 12 years ago

Thanks for your feedback after all ;)

    (1-6/6)