internal server error 500
17 posts
• Page 1 of 1
internal server error 500
after installing redmine as shown here: http://www.helicontech.com/articles/ins ... roduction/
i've got this error after install and launch:
can someone help me please? thanks.
i've got this error after install and launch:
- Code: Select all
Helicon Zoo module has caught up an error. Please see the details below.
Worker Status
Worker process shut down. The worker process shut down unexpectedly. Possible causes are errors in the application, missing dependencies or insufficient file permissions. Please read application specific errors and logs for more information.
Windows error
L’opération d’entrée/sortie a été abandonnée en raison de l’arrêt d’un thread ou à la demande d’une application. (ERROR CODE: 995)
Internal module error
message: ZooApplication I/O Error.
type: ZooException
file: ZooApplication.cpp
line: 846
version: 1.1.58.270
STDERR
[tid-6294564] Could not find gem 'rails (= 3.2.8) x86-mingw32' in the gems available on this machine. (Bundler::GemNotFound)
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/resolver.rb:287:in `resolve'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/resolver.rb:161:in `start'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/resolver.rb:128:in `block in resolve'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/resolver.rb:127:in `catch'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/resolver.rb:127:in `resolve'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:178:in `resolve'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:113:in `specs'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:158:in `specs_for'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:147:in `requested_specs'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/environment.rb:23:in `requested_specs'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:11:in `setup'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler.rb:116:in `setup'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/setup.rb:17:in `<top (required)>'
C:/Ruby19/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
C:/Ruby19/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
C:/Ruby19/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
C:/Zoo/Workers/ruby/lib/app.rb:97:in `bundle_setup'
C:/Zoo/Workers/ruby/lib/app.rb:14:in `initialize'
C:/Zoo/Workers/ruby/lib/worker.rb:4:in `new'
C:/Zoo/Workers/ruby/lib/worker.rb:4:in `initialize'
C:/Zoo/Workers/ruby/zoorack.rb:30:in `new'
C:/Zoo/Workers/ruby/zoorack.rb:30:in `<module:Zack>'
C:/Zoo/Workers/ruby/zoorack.rb:12:in `<main>'
can someone help me please? thanks.
Re: internal server error 500
Hello!
- What is your OS version?
- Do you follow manual installation instructions or automatic installation?
Please try to re-run deploy process (will be done automatically after application or IIS restart) as sometimes Ruby gem repository goes offline and gems are not being installed correctly.
- What is your OS version?
- Do you follow manual installation instructions or automatic installation?
Please try to re-run deploy process (will be done automatically after application or IIS restart) as sometimes Ruby gem repository goes offline and gems are not being installed correctly.
Re: internal server error 500
Yaroslav wrote:Hello!
- What is your OS version?
- Do you follow manual installation instructions or automatic installation?
Please try to re-run deploy process (will be done automatically after application or IIS restart) as sometimes Ruby gem repository goes offline and gems are not being installed correctly.
i am running windows 7 pro x64
automatic installation from microsoft web platform
i try. thanks.
Re: internal server error 500
Yaroslav wrote:Was it IIS or IIS Express install?
i choose IIS during install process...
Re: internal server error 500
So did reinstall worked it out?
If no then uncomment line about Rack environment and deploy log file in web.config:
Restart IIS, this will start deployment process again. Then send here zoo-deploy.log and development.log files.
If no then uncomment line about Rack environment and deploy log file in web.config:
- Code: Select all
<add name="RACK_ENV" value="development" />
<add name="DEPLOY_LOG" value="log\zoo-deploy.log" />
Restart IIS, this will start deployment process again. Then send here zoo-deploy.log and development.log files.
Re: internal server error 500
Yaroslav. I have aslo this error.
On first attempt - installation crashed because in gem will not be installed zip-library. After install ( INSTALL> gem install zip) procees will run. But stopped on
Machine and OS: Win 7 Ultimate 64bit.
Installation process via Web Platform. Run site via Web Matrix (IIS Express 8)
in log file next messages
On first attempt - installation crashed because in gem will not be installed zip-library. After install ( INSTALL> gem install zip) procees will run. But stopped on
- Code: Select all
500 Error
Helicon Zoo module has caught up an error. Please see the details below.
Worker Status
Worker process shut down. The worker process shut down unexpectedly. Possible causes are errors in the application, missing dependencies or insufficient file permissions. Please read application specific errors and logs for more information.
Windows error
Операция ввода/вывода была прервана из-за завершения потока команд или по запросу приложения. (ERROR CODE: 995)
Internal module error
message: ZooApplication I/O Error. type: ZooException file: ZooApplication.cpp line: 875 version: 2.0.70.313
STDERR
[tid-17576244] Could not find gem 'zip (>= 0) x86-mingw32' in the gems available on this machine. (Bundler::GemNotFound) C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/resolver.rb:287:in `resolve' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/resolver.rb:161:in `start' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/resolver.rb:128:in `block in resolve' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/resolver.rb:127:in `catch' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/resolver.rb:127:in `resolve' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/definition.rb:178:in `resolve' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/definition.rb:113:in `specs' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/definition.rb:158:in `specs_for' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/definition.rb:147:in `requested_specs' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/environment.rb:23:in `requested_specs' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/runtime.rb:11:in `setup' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler.rb:116:in `setup' C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/setup.rb:17:in `<top (required)>' C:/Ruby19/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `require' C:/Ruby19/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require' C:/Ruby19/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require' C:/ZooExpress/Workers/ruby/lib/app.rb:97:in `bundle_setup' C:/ZooExpress/Workers/ruby/lib/app.rb:14:in `initialize' C:/ZooExpress/Workers/ruby/lib/worker.rb:4:in `new' C:/ZooExpress/Workers/ruby/lib/worker.rb:4:in `initialize' C:/ZooExpress/Workers/ruby/zoorack.rb:30:in `new' C:/ZooExpress/Workers/ruby/zoorack.rb:30:in `<module:Zack>' C:/ZooExpress/Workers/ruby/zoorack.rb:12:in `<main>'
Machine and OS: Win 7 Ultimate 64bit.
Installation process via Web Platform. Run site via Web Matrix (IIS Express 8)
in log file next messages
- Code: Select all
[tid-5189940] Could not find gem 'zip (>= 0) x86-mingw32' in the gems available on this machine. (Bundler::GemNotFound)
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/resolver.rb:287:in `resolve'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/resolver.rb:161:in `start'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/resolver.rb:128:in `block in resolve'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/resolver.rb:127:in `catch'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/resolver.rb:127:in `resolve'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/definition.rb:178:in `resolve'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/definition.rb:113:in `specs'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/definition.rb:158:in `specs_for'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/definition.rb:147:in `requested_specs'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/environment.rb:23:in `requested_specs'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/runtime.rb:11:in `setup'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler.rb:116:in `setup'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/setup.rb:17:in `<top (required)>'
C:/Ruby19/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
C:/Ruby19/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
C:/Ruby19/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
C:/ZooExpress/Workers/ruby/lib/app.rb:97:in `bundle_setup'
C:/ZooExpress/Workers/ruby/lib/app.rb:14:in `initialize'
C:/ZooExpress/Workers/ruby/lib/worker.rb:4:in `new'
C:/ZooExpress/Workers/ruby/lib/worker.rb:4:in `initialize'
C:/ZooExpress/Workers/ruby/zoorack.rb:30:in `new'
C:/ZooExpress/Workers/ruby/zoorack.rb:30:in `<module:Zack>'
C:/ZooExpress/Workers/ruby/zoorack.rb:12:in `<main>'
Re: internal server error 500
The gem has not been installed correctly.
If you are using deploy.rb script try to re-run deploy process by renaming deploy_done.rb back to deploy.rb and read deploy output carefully.
If you are not using deploy scripts try to install this gem manually like 'gem install ...'
Note that some gems may have troubles installing on Windows so read installation output carefully. Sometimes gem packages are not available for download due to service failures so you need to try again later.
If you are using deploy.rb script try to re-run deploy process by renaming deploy_done.rb back to deploy.rb and read deploy output carefully.
If you are not using deploy scripts try to install this gem manually like 'gem install ...'
Note that some gems may have troubles installing on Windows so read installation output carefully. Sometimes gem packages are not available for download due to service failures so you need to try again later.
Re: internal server error 500
Thanks for help. I rerun installation process. (Realy not all gems libraries was installed)
And stop on next step
And stop on next step
- Code: Select all
28.11.2012 15:47:51 --== Deploy begin ==--
Using rake (10.0.2)
Using i18n (0.6.1)
.......... (full list).....
Using rails (3.2.8)
Using shoulda (2.11.3)
Using sqlite3 (1.3.6)
Using yard (0.8.3)
Using zip (2.0.2)
Your bundle is complete! It was installed into ./vendor/gems
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Execute db:load_config
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:create
db/test.sqlite3 already exists
** Invoke generate_secret_token (first_time)
** Invoke config/initializers/secret_token.rb (first_time, not_needed)
** Execute generate_secret_token
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
** Invoke db:_dump (first_time)
** Execute db:_dump
** Invoke db:schema:dump (first_time)
** Invoke environment
** Invoke db:load_config
** Execute db:schema:dump
rake aborted!
Don't know how to build task 'Web'
(See full trace by running task with --trace)
28.11.2012 15:48:29 --== Deploy finished ==--
Re: internal server error 500
NOT Solved.
Also will need "gem install activerecord-mysql-adapter"
Not so simple...
After installiation activerecord-mysql-adapter i have repeatable error
Also will need "gem install activerecord-mysql-adapter"
Not so simple...
After installiation activerecord-mysql-adapter i have repeatable error
- Code: Select all
[tid-2371896] Please install the mysql adapter: `gem install activerecord-mysql-adapter` (mysql is not part of the bundle. Add it to Gemfile.) (LoadError)
C:/Ruby19/lib/ruby/gems/1.9.1/gems/bundler-1.2.2/lib/bundler/rubygems_integration.rb:147:in `block in replace_gem'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/mysql_adapter.rb:5:in `<top (required)>'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:50:in `resolve_hash_connection'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:in `resolve_string_connection'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:25:in `spec'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_specification.rb:129:in `establish_connection'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/railtie.rb:82:in `block (2 levels) in <class:Railtie>'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:42:in `each'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/base.rb:721:in `<top (required)>'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/lib/plugins/acts_as_activity_provider/init.rb:2:in `block in <top (required)>'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/config/initializers/00-core_plugins.rb:12:in `eval'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/config/initializers/00-core_plugins.rb:12:in `block in <top (required)>'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/config/initializers/00-core_plugins.rb:2:in `each'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/config/initializers/00-core_plugins.rb:2:in `<top (required)>'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in `load'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in `block in load'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in `load'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:587:in `each'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:587:in `block in <class:Engine>'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `instance_exec'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in `run'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:55:in `block in run_initializers'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `each'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in `run_initializers'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/railties-3.2.8/lib/rails/application.rb:136:in `initialize!'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/config/environment.rb:14:in `<top (required)>'
C:\Users\User\Documents\My Web Sites\Redmine 2.12/config.ru:3:in `require'
C:\Users\User\Documents\My Web Sites\Redmine 2.12/config.ru:3:in `block in <main>'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
C:\Users\User\Documents\My Web Sites\Redmine 2.12/config.ru:1:in `new'
C:\Users\User\Documents\My Web Sites\Redmine 2.12/config.ru:1:in `<main>'
C:/ZooExpress/Workers/ruby/lib/app.rb:79:in `eval'
C:/ZooExpress/Workers/ruby/lib/app.rb:79:in `build_config_ru'
C:/ZooExpress/Workers/ruby/lib/app.rb:24:in `build_app'
C:/ZooExpress/Workers/ruby/lib/app.rb:16:in `initialize'
C:/ZooExpress/Workers/ruby/lib/worker.rb:4:in `new'
C:/ZooExpress/Workers/ruby/lib/worker.rb:4:in `initialize'
C:/ZooExpress/Workers/ruby/zoorack.rb:30:in `new'
C:/ZooExpress/Workers/ruby/zoorack.rb:30:in `<module:Zack>'
C:/ZooExpress/Workers/ruby/zoorack.rb:12:in `<main>'
Re: internal server error 500
We know this error and I remember it was fixed recently. What exactly application you are installing and how? I can see it is Redmine. Are you using Redmine application available from Zoo -> Applications or installing other package manually?
Re: internal server error 500
Please open deploy_done.rb file and replace line:
system_or_die("rake -I #{APP_ROOT}\\lib RAILS_ENV=production redmine:load_default_data")
with
system_or_die("rake -I \"#{APP_ROOT}\\lib\" RAILS_ENV=production redmine:load_default_data")
Rename deploy_done.rb file back to deploy.rb and request site again.
system_or_die("rake -I #{APP_ROOT}\\lib RAILS_ENV=production redmine:load_default_data")
with
system_or_die("rake -I \"#{APP_ROOT}\\lib\" RAILS_ENV=production redmine:load_default_data")
Rename deploy_done.rb file back to deploy.rb and request site again.
Re: internal server error 500
this step passed.
Reconfig databade.yml as
If you write "localhost" you will get error "Can't connect to localhost"
Next step (after create a databases) - i get error
I stared at the wall. My knowledge of Ruby is not enough to solve the problem. 2 day a dancing with a tambourine
Reconfig databade.yml as
- Code: Select all
production:
adapter: mysql2
database: redmine
host: 127.0.0.1 !!! attention not localhost !!!
port: 3306
username: root
password: ******
encoding: utf8
development:
adapter: mysql2
database: redmine_development
host: 127.0.0.1
port: 3306
username: root
password: ******
encoding: utf8
If you write "localhost" you will get error "Can't connect to localhost"
Next step (after create a databases) - i get error
- Code: Select all
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
I stared at the wall. My knowledge of Ruby is not enough to solve the problem. 2 day a dancing with a tambourine
Re: internal server error 500
Yaroslav wrote:Please open deploy_done.rb file and replace line:
system_or_die("rake -I #{APP_ROOT}\\lib RAILS_ENV=production redmine:load_default_data")
with
system_or_die("rake -I \"#{APP_ROOT}\\lib\" RAILS_ENV=production redmine:load_default_data")
Rename deploy_done.rb file back to deploy.rb and request site again.
I edit my deploy.rb with next corrections
- Code: Select all
system_or_die("rake --trace RAILS_ENV=#{RACK_ENV} db:create")
system_or_die("rake --trace RAILS_ENV=#{RACK_ENV} generate_secret_token")
system_or_die("rake --trace RAILS_ENV=#{RACK_ENV} db:migrate")
system_or_die("rake -I \"#{APP_ROOT}\\lib\" RAILS_ENV=#{RACK_ENV} redmine:load_default_data")
Re: internal server error 500
Last post (i think).
Databases created (and developer and production)
But site not started because got error described above
Databases created (and developer and production)
- Code: Select all
Your bundle is complete! It was installed into ./vendor/gems
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Execute db:load_config
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:create
redmine_development already exists
redmine_test already exists
** Invoke generate_secret_token (first_time)
** Invoke config/initializers/secret_token.rb (first_time, not_needed)
** Execute generate_secret_token
.... .....
** Invoke environment
** Invoke db:load_config
** Execute db:schema:dump
Default configuration data loaded.
But site not started because got error described above
- Code: Select all
C:/Users/User/Documents/My Web Sites/Redmine 2.12/vendor/gems/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
Re: internal server error 500
I think I decided this problem...
Google help us...
from stackoverflow
Google help us...
from stackoverflow
You can pin down the exact location of the warning by generating exceptions for ActiveSupport::Deprecation, instead of just printing to the log. At the top of application.rb:
- Code: Select all
ActiveSupport::Deprecation.behavior = Proc.new do |message, backtrace|
raise message
end
Once you've figured out where the warning is coming from (by inspecting the full backtrace), remove this again.
I've got it just after require 'rails/all'
17 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 23 guests