Simple questions about installation procedure
Added by Vadim Epstein almost 15 years ago
I have root folder which looks like this
app
config
db
doc
lib
log
public
script
test
tmp
vendor
index.html
Rakefile
README
What folder should I checkout to - to this root folder or to the new folder redmine-0.8 inside this roor folder.
2. If the anser is I have to create redmine-0.8 what folder should I run rake db:migrate RAILS_ENV="production" from - from root or from redmine-0.8 ?
Thanks
Replies (8)
RE: Simple questions about installation procedure
-
Added by Vadim Epstein almost 15 years ago
Please answer. I am sure this is a simple question for redmine professionals.
RE: Simple questions about installation procedure
-
Added by Andrew Leaf almost 15 years ago
Hello Vadim -
This root folder is the base for your Rails app, in the case Redmine. If you want to upgrade or replace your current version, you checkout to this folder.
This is also the same directory to run 'rake db:migrate RAILS_ENV="production"' from.
Best,
Andrew
RE: Simple questions about installation procedure
-
Added by Vadim Epstein almost 15 years ago
Hi,
Thank you for reply. However when I give command
rake db:migrate RAILS_ENV="production"
I get the following error:
rake aborted!
Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (no such file to load -- pg)
When I give `gem install activerecord-postgresql-adapter` command I get the following:
ERROR: could not find gem activerecord-postgresql-adapter locally or in a repository
What should I do?
RE: Simple questions about installation procedure
-
Added by Andrew Leaf almost 15 years ago
What OS are you trying to run from?
RE: Simple questions about installation procedure
-
Added by Vadim Epstein almost 15 years ago
Finally I have followed all the steps successfully and when I open redmine I get:
Unable to connect
Firefox can't establish a connection to the server at redmine.emet-solutions.com:3000.
WEBrick says:
ruby script/server webrick -e production
=> Booting WEBrick...
=> Rails 2.1.2 application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2009-09-22 17:04:03] INFO WEBrick 1.3.1
[2009-09-22 17:04:03] INFO ruby 1.8.6 (2009-06-08) [x86_64-linux]
[2009-09-22 17:04:03] INFO WEBrick::HTTPServer#start: pid=9447 port=3000
Killed
Please advise what should I check and fix?
Thanks
RE: Simple questions about installation procedure
-
Added by Vadim Epstein almost 15 years ago
Vadim Epstein wrote:
Finally I have followed all the steps successfully (I used MySQL instead of PostgreSQL) and when I open redmine I get:
Unable to connect
Firefox can't establish a connection to the server at redmine.emet-solutions.com:3000.WEBrick says:
ruby script/server webrick -e production
=> Booting WEBrick...
=> Rails 2.1.2 application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2009-09-22 17:04:03] INFO WEBrick 1.3.1
[2009-09-22 17:04:03] INFO ruby 1.8.6 (2009-06-08) [x86_64-linux]
[2009-09-22 17:04:03] INFO WEBrick::HTTPServer#start: pid=9447 port=3000
KilledPlease advise what should I check and fix?
Thanks
RE: Simple questions about installation procedure
-
Added by Andrew Leaf almost 15 years ago
Can you post your logs/production.log file?
RE: Simple questions about installation procedure
-
Added by Vadim Epstein almost 15 years ago
Processing ApplicationController#index (for 213.186.118.110 at 2009-09-22 16:59:28) [GET]
Session ID: 7d314339b88bda393112474223a11f09
Parameters: {}
ActionController::RoutingError (No route matches "/rails/info/properties" with {:method=>:get}):
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:385:in `recognize'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:148:in `handle_request'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:107:in `dispatch'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `synchronize'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `dispatch'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:35:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:159:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:282:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/usr/bin/mongrel_rails:19:in `load'
/usr/bin/mongrel_rails:19
Rendering /home/virtwww/w_redmine-nnn/http/public/404.html (404 Not Found)
Processing ApplicationController#index (for 213.186.118.110 at 2009-09-22 17:14:35) [GET]
Session ID: 7d314339b88bda393112474223a11f09
Parameters: {}
ActionController::RoutingError (No route matches "/rails/info/properties" with {:method=>:get}):
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:385:in `recognize'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:148:in `handle_request'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:107:in `dispatch'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `synchronize'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `dispatch'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
/home/virtwww/w_redmine-nnn/.gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:35:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:159:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:158:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:268:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:282:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:281:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/usr/bin/mongrel_rails:19:in `load'
/usr/bin/mongrel_rails:19
Rendering /home/virtwww/w_redmine-nnn/http/public/404.html (404 Not Found)