Project

General

Profile

how to move my local remine to another machine

Added by guo sheng about 13 years ago

I am trying to move my local Redmine to another computer
here are what I have done
1 configure ruby and rails work environment in that computer .
2 install mongrel and mongrel service,
3 compress my local redmie files into a zip package,unzip it in another one,
4 use mysql 'source' command to import my local redmine data to remote service,

when I access http://127.0.0.1:4000

redmine shows http 500 error
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.

I get no idea about ruby ,so thanks for any help


Replies (4)

RE: how to move my local remine to another machine - Added by guo sheng about 13 years ago

here is my production.log

Processing WelcomeController#index (for 192.168.0.254 at 2011-04-27 11:06:56) [GET]
Parameters: {"action"=>"index", "controller"=>"welcome"}

ActiveRecord::StatementInvalid (Mysql::Error: query: not connected: SELECT max(`settings`.updated_on) AS max_updated_on FROM `settings` ):
app/models/setting.rb:151:in `check_cache'
app/controllers/application_controller.rb:55:in `user_setup'

RE: how to move my local remine to another machine - Added by guo sheng almost 13 years ago

I don't want to start a new installation
if someone knows how to do .
please show me the way.
thanks .

RE: how to move my local remine to another machine - Added by Etienne Massip almost 13 years ago

Guess your db hostname is no more valid in config/database.yml ?

RE: how to move my local remine to another machine - Added by guo sheng almost 13 years ago

thanks for Etienne Massip's help
I solve my problem with copying libmysql.dll to ruby's bin path.
what's more, libmysql.dll should be released recently..
I downloaded it in a website but it couldn't work ,so I copy it from my PHP bin path.
my php version is 5.2.17.

Hope redmine could release a version with installation step

    (1-4/4)