Redmine index showing files
Added by Mohamed Rebai almost 12 years ago
Hi,
I have a debian server. At the beginning, i installed redmine from packages, and everything worked well. Then, i decided to manually install redmine 2.1 on the same server. Not only it didn't work, but even the redmine 1 (installed from packages) was broken, it only shows files (help, images, javascripts ..).
So i tried to remove everything, and the reinstall all packages from scratch (i followed this guide : http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_using_Debian_package) but i still get files in the redmine index!!! i even tried to manually delete all the folder containing redmine, and remove et reinstall redmine packages, still the same error.
Can you please help me with this issue ?
Thanks.
Replies (4)
RE: Redmine index showing files - Added by Philippe B. almost 12 years ago
Is passenger installed and correctly configured?
Maybe copy paste your apache configuration for your redmine 2.x instance
thanks
RE: Redmine index showing files - Added by Mohamed Rebai almost 12 years ago
Philippe B. wrote:
Is passenger installed and correctly configured?
Maybe copy paste your apache configuration for your redmine 2.x instance
thanks
Yes i found some errors in the passenger configurations.
But now i got a new error!
Error message:
undefined method `map' for nil:NilClass
Exception class:
NoMethodError
Application root:
/usr/share/redmine
Here is the backtrace
@- File Line Location
0 /usr/lib/ruby/1.8/rubygems.rb 223 in `activate'
1 /usr/lib/ruby/1.8/rubygems.rb 249 in `activate'
2 /usr/lib/ruby/1.8/rubygems.rb 248 in `each'
3 /usr/lib/ruby/1.8/rubygems.rb 248 in `activate'
4 /usr/lib/ruby/1.8/rubygems.rb 1082 in `gem'
5 /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb 70 in `establish_connection'
6 /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb 60 in `establish_connection'
7 /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb 55 in `establish_connection'
8 /usr/share/redmine/vendor/rails/railties/lib/initializer.rb 438 in `initialize_database'
9 /usr/share/redmine/vendor/rails/railties/lib/initializer.rb 141 in `process'
10 /usr/share/redmine/vendor/rails/railties/lib/initializer.rb 113 in `send'
11 /usr/share/redmine/vendor/rails/railties/lib/initializer.rb 113 in `run'
12 /usr/share/redmine/config/environment.rb 44
13 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
14 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in `require'
15 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 303 in `preload_application'
16 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 252 in `initialize_server'
17 /usr/lib/ruby/1.8/phusion_passenger/utils.rb 255 in `report_app_init_status'
18 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 237 in `initialize_server'
19 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 194 in `start_synchronously'
20 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 163 in `start'
21 /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb 213 in `start'
22 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 262 in `spawn_rails_application'
23 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 126 in `lookup_or_add'
24 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 256 in `spawn_rails_application'
25 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 80 in `synchronize'
26 /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
27 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 255 in `spawn_rails_application'
28 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 154 in `spawn_application'
29 /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb 287 in `handle_spawn_application'
30 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 352 in `__send__'
31 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 352 in `main_loop'
32 /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb 196 in `start_synchronously'
33 /usr/lib/phusion_passenger/passenger-spawn-server 61
@
Any idea ?
Thanks!
RE: Redmine index showing files - Added by Mohamed Rebai almost 12 years ago
Any idea ? It seems like Rails is not looded correctly! I installed Rails with apt-get install rails, what else should i do ?!
RE: Redmine index showing files - Added by Jan Niggemann (redmine.org team member) almost 12 years ago
Are you still using the packages from the repository or did you remove them?
Check what's left of the package install: dpkg -l|grep redmine
I wrote a new guide for Debian users today, read it, perhaps it helps you...