Upgrade from 1.0.4 to 2.2.2 - Windows
Added by John W almost 12 years ago
All -
Looking for some "major" help/advice/input/feedback etc.
Using "_HowTo Install Redmine in a sub-URI on Windows with Apache (Zero-to-Redmine on Windows)_" instructions and a few tweaks I was able to get this version (1.0.4) to work. Went back and started to follow the Redmine upgrade instructions only to find there is a lot of steps missing (or assumed to have been completed).
I am trying to upgrade to the the newest version 2.2.2 and I cannot get it to work. At this point in time when I attempt to access the app I get
"Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."
Now for the next big issue, I am a true novice/newbie so the more detailed the help the better.
Thanks in advance to any and all that can help...
Yes, I admit I posted this before a complete check of existing postings - my apologies. If you know of a similar posting just point me to it. Thanks
Replies (4)
RE: Upgrade from 1.0.4 to 2.2.2 - Windows - Added by Etienne Massip almost 12 years ago
This means Apache can't translate the request to the app.
What's in your Apache log file and production.log file?
RE: Upgrade from 1.0.4 to 2.2.2 - Windows - Added by John W almost 12 years ago
I thought I would go in another direction and try fresh install of 2.2.2 instead of an upgrade of 1.0.4
I have made it all the way to step 6
set RAILS_ENV=production
rake db:migrate
However when I do this I get the following:
C:\webserver\Redmine>rake db:migrate
rake aborted!
Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (126: The specified module could not be found. - C:/webserver/Ruby/lib/
ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.9/mysql2.so)
C:/webserver/Redmine/lib/plugins/acts_as_activity_provider/init.rb:2:in `block in <top (required)>'
C:/webserver/Redmine/config/initializers/00-core_plugins.rb:12:in `eval'
C:/webserver/Redmine/config/initializers/00-core_plugins.rb:12:in `block in <top (required)>'
C:/webserver/Redmine/config/initializers/00-core_plugins.rb:2:in `each'
C:/webserver/Redmine/config/initializers/00-core_plugins.rb:2:in `<top (required)>'
C:/webserver/Redmine/config/environment.rb:14:in `<top (required)>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
I checked and the file mysql2.so is there
So what am I missing at this point?
Thanks for the help!!
RE: Upgrade from 1.0.4 to 2.2.2 - Windows - Added by John W almost 12 years ago
Here is the install it asks for -
C:\webserver\Redmine>gem install activerecord-mysql2-adapter
Successfully installed activerecord-mysql2-adapter-0.0.3
1 gem installed
Installing ri documentation for activerecord-mysql2-adapter-0.0.3...
Installing RDoc documentation for activerecord-mysql2-adapter-0.0.3...
Here is the file it says could not be found
Directory of C:\webserver\Ruby\lib\ruby\gems\1.9.1\gems\mysql2-0.3.11-x86-mingw32\lib\mysql2\1.9
02/01/2013 02:06 PM <DIR> .
02/01/2013 02:06 PM <DIR> ..
02/01/2013 02:06 PM 39,424 mysql2.so
RE: Upgrade from 1.0.4 to 2.2.2 - Windows - Added by John W almost 12 years ago
Ok - it helps to paste the .DLL file in the Ruby\bin folder and not the .LIB file. This has fixed this issue.
Now to figure out what is next.