redmine installation
Added by Cedric mosnier over 11 years ago
I i have a problem after installation
Rails 2.3.14
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
ubuntu server 12.04
DB is Mysql
when launch http://localhost/redmine i have this error page:
i have the error message No such file or directory - /etc/redmine/default/session.yml (Errno::ENOENT)
and i do not understand it
No such file or directory - /etc/redmine/default/session.yml (Errno::ENOENT) /usr/lib/ruby/1.8/yaml.rb:143:in `initialize' /usr/lib/ruby/1.8/yaml.rb:143:in `open' /usr/lib/ruby/1.8/yaml.rb:143:in `load_file' /usr/share/redmine/config/environment.rb:32 /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' /var/lib/gems/1.8/gems/passenger-4.0.21/helper-scripts/classic-rails-preloader.rb:92:in `preload_app' /var/lib/gems/1.8/gems/passenger-4.0.21/helper-scripts/classic-rails-preloader.rb:179 Application root /usr/share/redmine Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV and PASSENGER_ENV) production Ruby interpreter command /usr/bin/ruby1.8 User and groups uid=33(www-data) gid=33(www-data) groups=33(www-data) Environment variables APACHE_RUN_DIR = /var/run/apache2 APACHE_PID_FILE = /var/run/apache2.pid PATH = /usr/local/bin:/usr/bin:/bin APACHE_LOCK_DIR = /var/lock/apache2 LANG = C APACHE_RUN_USER = apache2 APACHE_RUN_GROUP = apache2 APACHE_LOG_DIR = /var/log/apache2 PWD = /usr/share/redmine PASSENGER_DEBUG_DIR = /tmp/passenger.spawn-debug.XXXXDZ6IL5 USER = www-data LOGNAME = www-data SHELL = /bin/sh HOME = /var/www IN_PASSENGER = 1 PYTHONUNBUFFERED = 1 NODE_PATH = /var/lib/gems/1.8/gems/passenger-4.0.21/node_lib RAILS_ENV = production RACK_ENV = production WSGI_ENV = production PASSENGER_ENV = production RAILS_RELATIVE_URL_ROOT = /redmine RACK_BASE_URI = /redmine PASSENGER_BASE_URI = /redmine SERVER_PROTOCOL = HTTP/1.1 SERVER_SOFTWARE = Apache/2.2.22 (Ubuntu) DOCUMENT_ROOT = /var/www SERVER_ADMIN = webmaster@localhost QUERY_STRING = SERVER_NAME = 148.143.17.88 REMOTE_PORT = 61781 REMOTE_ADDR = 192.168.0.17 SERVER_PORT = 80 REQUEST_METHOD = GET SERVER_ADDR = 148.143.17.88 REQUEST_URI = /redmine X_DEBIAN_SITEID = default RAILS_ETC = /etc/redmine/default RAILS_LOG = /var/log/redmine/default RAILS_VAR = /var/lib/redmine/default RAILS_CACHE = /var/cache/redmine/default SCHEMA = /var/cache/redmine/default/schema.db Ulimits Unknown System memory usage total used free shared buffers cached Mem: 994 863 131 0 17 265 -/+ buffers/cache: 580 413 Swap: 507 0 507 General Ruby interpreter information RUBY_VERSION = 1.8.7 RUBY_PLATFORM = x86_64-linux RUBY_ENGINE = nil RubyGems version = 1.8.15 Ruby configuration (RbConfig::CONFIG) CPP = gcc -E CC = gcc WINDRES = topdir = /usr/lib/ruby/1.8/x86_64-linux COMMON_LIBS = CFLAGS = -fno-strict-aliasing -g -g -O2 -fPIC RUBY_SO_NAME = ruby1.8 sbindir = /usr/sbin rubylibdir = /usr/lib/ruby/1.8 DEFS = localedir = /usr/share/locale TEENY = 7 NM = LIBRUBY_LDSHARED = gcc -shared MANTYPE = doc RPATHFLAG = DLDLIBS = -lc DLLWRAP = PACKAGE_STRING = datadir = /usr/share RANLIB = ranlib host_cpu = x86_64 CPPFLAGS = -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 YACC = bison -y build_vendor = pc CP = cp RUBY_INSTALL_NAME = ruby1.8 PATCHLEVEL = 352 EGREP = /bin/grep -E vendorlibdir = /usr/lib/ruby/vendor_ruby/1.8 host_os = linux-gnu MAKEDIRS = mkdir -p debugflags = EXTOUT = .ext AR = ar DLDFLAGS = rubyw_install_name = RUBYW_INSTALL_NAME = psdir = /usr/share/doc/$(PACKAGE) RM = rm -f OBJDUMP = CPPOUTFILE = -o conftest.i ECHO_C = bindir = /usr/bin ruby_version = 1.8 build_os = linux-gnu LIBPATHFLAG = -L%s LDSHARED = gcc -shared libexecdir = /usr/lib/ruby1.8 prefix = /usr INSTALL_SCRIPT = /usr/bin/install -c PREP = miniruby MAJOR = 1 PACKAGE_BUGREPORT = sitearch = x86_64-linux SOLIBS = -lpthread -lrt -ldl -lcrypt -lm LIBPATHENV = LD_LIBRARY_PATH cflags = RDOCTARGET = oldincludedir = /usr/include NROFF = /usr/bin/nroff LIBRUBYARG = -lruby1.8 exec_prefix = /usr configure_args = '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/usr/lib/ruby1.8' '--srcdir=.' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--program-suffix=1.8' '--enable-pthread' '--enable-shared' '--enable-ipv6' '--disable-rpath' '--disable-install-doc' '--with-sitedir=/usr/local/lib/site_ruby' '--with-default-kcode=none' '--with-dbm-type=gdbm_compat' '--with-tklib=tk8.4' '--with-tcllib=tcl8.4' '--with-tcl-include=/usr/include/tcl8.4' '--with-bundled-sha1' '--with-bundled-md5' '--with-bundled-rmd160' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-fno-strict-aliasing -g -g -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' INSTALL_PROGRAM = /usr/bin/install -c ENABLE_SHARED = yes mandir = /usr/share/man OBJEXT = o GREP = /bin/grep LIBRUBYARG_SHARED = -lruby1.8 target_alias = docdir = /usr/share/doc/$(PACKAGE) dvidir = /usr/share/doc/$(PACKAGE) MAINLIBS = archdir = /usr/lib/ruby/1.8/x86_64-linux ruby_install_name = ruby1.8 INSTALL_DATA = /usr/bin/install -c -m 644 COMMON_HEADERS = AS = as PACKAGE_VERSION = pdfdir = /usr/share/doc/$(PACKAGE) sitedir = /usr/local/lib/site_ruby LIBRUBY = libruby1.8.so.1.8.7 LIBRUBY_SO = libruby1.8.so.1.8.7 vendordir = /usr/lib/ruby/vendor_ruby SET_MAKE = DESTDIR = sitearchdir = /usr/local/lib/site_ruby/1.8/x86_64-linux PACKAGE_NAME = setup = Setup DLEXT2 = YFLAGS = sitelibdir = /usr/local/lib/site_ruby/1.8 SHELL = /bin/bash PACKAGE_URL = optflags = ARCH_FLAG = DLEXT = so GNU_LD = yes ARCHFILE = host_alias = PATH_SEPARATOR = : PACKAGE_TARNAME = LIBRUBY_ALIASES = libruby1.8.so.1.8 libruby1.8.so target_vendor = pc CCDLFLAGS = -fPIC STRIP = strip -S -x LIBRUBY_A = libruby1.8-static.a LDFLAGS = -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -rdynamic -Wl,-export-dynamic target = x86_64-pc-linux-gnu LN_S = ln -s LINK_SO = build_cpu = x86_64 sysconfdir = /etc LIBRUBY_DLDFLAGS = -Wl,-soname,libruby1.8.so.1.8 TRY_LINK = EXEEXT = host_vendor = pc EXPORT_PREFIX = ASFLAGS = infodir = /usr/share/info htmldir = /usr/share/doc/$(PACKAGE) ALLOCA = LIBS = -lpthread -lrt -ldl -lcrypt -lm COMMON_MACROS = MINOR = 8 ECHO_T = target_os = linux EXTSTATIC = build = x86_64-pc-linux-gnu MAKEFILES = Makefile LIBRUBYARG_STATIC = -lruby1.8-static vendorarchdir = /usr/lib/ruby/vendor_ruby/1.8/x86_64-linux libdir = /usr/lib ECHO_N = -n build_alias = x86_64-linux-gnu localstatedir = /var includedir = /usr/include STATIC = INSTALL = /usr/bin/install -c LIBEXT = a host = x86_64-pc-linux-gnu OUTFLAG = -o arch = x86_64-linux datarootdir = /usr/share sharedstatedir = /usr/com cppflags = -D_FORTIFY_SOURCE=2 target_cpu = x86_64 Activated Ruby gems rails => 2.3.14 activesupport => 2.3.14 activerecord => 2.3.14 activeresource => 2.3.14 actionmailer => 2.3.14 actionpack => 2.3.14 Ruby load path ($LOAD_PATH) /usr/share/redmine/app/controllers/ /usr/share/redmine/app /usr/share/redmine/app/models /usr/share/redmine/app/controllers /usr/share/redmine/app/helpers /usr/share/redmine/lib /usr/share/redmine/vendor /usr/share/redmine/vendor/rails/railties /usr/share/redmine/vendor/rails/railties/lib /usr/share/redmine/config/../vendor/rails/railties/lib /var/lib/gems/1.8/gems/passenger-4.0.21/lib /usr/local/lib/site_ruby/1.8 /usr/local/lib/site_ruby/1.8/x86_64-linux /usr/local/lib/site_ruby /usr/lib/ruby/vendor_ruby/1.8 /usr/lib/ruby/vendor_ruby/1.8/x86_64-linux /usr/lib/ruby/vendor_ruby /usr/lib/ruby/1.8 /usr/lib/ruby/1.8/x86_64-linux . Ruby loaded libraries ($LOADED_FEATURES) enumerator.so phusion_passenger.rb rbconfig.rb etc.so fileutils.rb tmpdir.rb phusion_passenger/utils/tmpio.rb phusion_passenger/platform_info.rb phusion_passenger/platform_info/operating_system.rb phusion_passenger/platform_info/ruby.rb phusion_passenger/platform_info/binary_compatibility.rb /var/lib/gems/1.8/gems/passenger-4.0.21/buildout/ruby/ruby-1.8.7-x86_64-linux/passenger_native_support.so phusion_passenger/native_support.rb rubygems/defaults.rb rubygems/deprecate.rb rubygems/exceptions.rb rubygems/custom_require.rb rubygems.rb socket.so thread.so thread.rb fcntl.so phusion_passenger/ruby_core_enhancements.rb phusion_passenger/utils/tmpdir.rb phusion_passenger/preloader_shared_helpers.rb phusion_passenger/public_api.rb phusion_passenger/debug_logging.rb phusion_passenger/loader_shared_helpers.rb phusion_passenger/constants.rb phusion_passenger/message_channel.rb phusion_passenger/utils.rb phusion_passenger/message_client.rb phusion_passenger/utils/unseekable_socket.rb phusion_passenger/request_handler/thread_handler.rb phusion_passenger/request_handler.rb phusion_passenger/analytics_logger.rb monitor.rb logger.rb set.rb pathname.rb railties_path.rb rails/version.rb rails/plugin/locator.rb rails/plugin.rb rails/plugin/loader.rb stringio.so yaml/error.rb syck.so yaml/ypath.rb yaml/basenode.rb yaml/syck.rb yaml/tag.rb yaml/stream.rb yaml/constants.rb rational.rb date/format.rb date.rb yaml/rubytypes.rb yaml/types.rb yaml.rb rails/vendor_gem_source_index.rb rubygems/version.rb rubygems/requirement.rb rubygems/dependency.rb rails/gem_dependency.rb rails/rack.rb /usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb rubygems/platform.rb rubygems/specification.rb rubygems/source_index.rb rubygems/path_support.rb rubygems/syck_hack.rb /usr/share/redmine/config/boot.rb
Replies (5)
RE: redmine installation
-
Added by Cedric mosnier over 11 years ago
some more detailson my system:
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]Rails 2.3.14
Rails 2.3.14
ubuntu server 12.04 (virtual machine)
I do not understand the message o such file or directory - /etc/redmine/default/session.yml (Errno::ENOENT)
when is generated this file at which step ?
RE: redmine installation
-
Added by Marco Gutsche over 11 years ago
Have you created the session store? I don't know if the file session.yml is needed for the session store but it is a try.
http://www.redmine.org/projects/redmine/wiki/RedmineInstall#Installation -> Step 5.
RE: redmine installation
-
Added by Mischa The Evil over 11 years ago
What version of Redmine are you trying to install? Current versions (2.x) require Rails 3 instead of Rails 2.x. How did you (tried to) deploy Redmine?
Note that the documentation referenced by Marco is for 1.4.x and 2.x only.
RE: redmine installation
-
Added by Cedric mosnier over 11 years ago
Mischa The Evil wrote:
What version of Redmine are you trying to install? Current versions (2.x) require Rails 3 instead of Rails 2.x. How did you (tried to) deploy Redmine?
Note that the documentation referenced by Marco is for 1.4.x and 2.x only.
solved by running again this step and reinstall redmine with apt-get install redmine
thanks