Project

General

Profile

Can't login after upgrade 0.8 (svn) -> 1.0.1 (Debian stable)

Added by Stephane Sales over 11 years ago

Hi,
I was using a very old installation of Redmine not installed by me and I'm trying to move it on another server.
I installed the Debian packages followed the steps ( http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade?version=53 ) everything seems fine but I can't get to log in.
I tried to manually change the password in the database but it didn't work (on similar threads here they were talking about a salt but I didn't find how to produce a new password).

Any idea ? Just a way to manually change a password would be great.

Details :
  • What I did : I installed the package, configured the settings in /etc/redmine, configured Apache, restored (postgresql) my redmine dump. I didn't have any config/initializers/session_store.rb so I tried a rake generate_session_store but not sure it did anything (maybe it's useless on Debian related to the /etc/redmine/default/session.yml). Then I did a

    rake db:migrate:upgrade_plugin_migrations RAILS_ENV=production
    rake db:migrate_plugins RAILS_ENV=production
    rake tmp:cache:clear
    rake tmp:sessions:clear
  • hashed_password are the same on my old installation and my new one. From what I understand it should not be the case (?)
  • I don't have any error when trying to log in :
    Processing AccountController#login (for 192.168.0.8 at 2013-01-04 15:32:31) [POST]
      Parameters: {"back_url"=>"http%3A%2F%2F192.168.0.11%3A8080%2F", "action"=>"login", "authenticity_token"=>"*******", "username"=>"admin", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Connexion »"}
    Failed login for 'admin' from 192.168.0.8 at Fri Jan 04 14:32:31 UTC 2013
    Rendering template within layouts/base
    Rendering account/login
    Completed in 24ms (View: 15, DB: 4) | 200 OK [http://192.168.0.11/login]
    

Thanks,


Replies (1)

RE: Can't login after upgrade 0.8 (svn) -> 1.0.1 (Debian stable) - Added by Stephane Sales over 11 years ago

I'm missing something obvious (I'm really not used to ruby stuff) or there is no easy answer to my problem ? (I just want to be able to create an admin account by hand)

    (1-1/1)