Project

General

Profile

/etc/redmine/default/session.yml file is not exist. how to fix?

Added by kevin yang over 13 years ago

  • error message:
    No such file or directory - /etc/redmine/default/session.yml

install environment:
ubuntu 10.10

method
sudo apt-get intall redmine-mysql

after apache2 restart, and browing redmine, has error message.
how to fix it. the most comment error on session.yml is permission denine, not "no such file" .
please help!! thanks


Replies (3)

RE: /etc/redmine/default/session.yml file is not exist. how to fix? - Added by Michael BAG about 13 years ago

Hi. I'm geting the same message.

No such file or directory - /etc/redmine/default/session.yml

What reason?

find / -name session.yml*

...give me nothing.
Help please.

RE: /etc/redmine/default/session.yml file is not exist. how to fix? - Added by Etienne Massip about 13 years ago

Did you generate a session store secret as specified in step 4 of RedmineInstall ?

RE: /etc/redmine/default/session.yml file is not exist. how to fix? - Added by hinkz yarrr almost 12 years ago

Hi,

I'm also having this issue :
No such file or directory - /etc/redmine/default/session.yml

When I try to generate store secret, I got this messages :

/var/lib/gems/1.9.1/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config.
(in /usr/share/redmine)
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/share/redmine/vendor/rails/railties/lib/rails/gem_dependency.rb:21.
/usr/lib/ruby/vendor_ruby/rake.rb:27: warning: already initialized constant RAKEVERSION
/usr/lib/ruby/vendor_ruby/rake/early_time.rb:17: warning: already initialized constant EARLY
/usr/lib/ruby/vendor_ruby/rake/alt_system.rb:32: warning: already initialized constant WINDOWS
/usr/lib/ruby/vendor_ruby/rake/application.rb:31: warning: already initialized constant DEFAULT_RAKEFILES
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
/usr/lib/ruby/vendor_ruby/rake/task_arguments.rb:77: warning: already initialized constant EMPTY_TASK_ARGS
/usr/lib/ruby/vendor_ruby/rake/invocation_chain.rb:49: warning: already initialized constant EMPTY
/usr/lib/ruby/vendor_ruby/rake/file_utils.rb:9: warning: already initialized constant RUBY
/usr/lib/ruby/vendor_ruby/rake/file_utils.rb:86: warning: already initialized constant LN_SUPPORTED
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:44: warning: already initialized constant ARRAY_METHODS
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:47: warning: already initialized constant MUST_DEFINE
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:51: warning: already initialized constant MUST_NOT_DEFINE
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:55: warning: already initialized constant SPECIAL_RETURN
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:61: warning: already initialized constant DELEGATING_METHODS
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:364: warning: already initialized constant DEFAULT_IGNORE_PATTERNS
/usr/lib/ruby/vendor_ruby/rake/file_list.rb:370: warning: already initialized constant DEFAULT_IGNORE_PROCS
/usr/lib/ruby/vendor_ruby/rake.rb:68: warning: already initialized constant FileList
/usr/lib/ruby/vendor_ruby/rake.rb:69: warning: already initialized constant RakeFileUtils
rake aborted!
stack level too deep

I saw somewhere to use with "bundle exec", then I got this :

/var/lib/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/rubygems_integration.rb:147:in `block in replace_gem': rake is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
        from /usr/local/bin/rake:22:in `<main>'

I'm actually on debian, so I followed this : http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_using_Debian_package

Here's my gem list :

*** LOCAL GEMS ***

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
bundle (0.0.1)
bundler (1.1.4)
i18n (0.6.0)
multi_json (1.3.6)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rubygems-update (1.8.24)

    (1-3/3)