The pipe has been ended - Redmine fails

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 4
Joined: 05 Feb 2014, 18:42

The pipe has been ended - Redmine fails

05 Feb 2014, 18:46

Hello guys,

I have installed Redmine and works fine with sqlite database, however I am trying to run it together with MySQL. I have configured my database.yml file (adapter mysql2), gem mysql2 is installed, i set the RAILS_ENV to production and I have executed rake db:migration. Everything went fine I suppose, but when I try to access the Redmine in the browser I got the following error:

The pipe has been ended. (ERROR CODE: 109)
Internal module error
message: ZooApplication backend read Error. type: ZooException file: Jobs\JobBase.cpp line: 566 version: 3.1.98.508

Can anyone point where to find a problem, or how to fix it?

Thanks in advance.

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: The pipe has been ended - Redmine fails

06 Feb 2014, 07:48

Hello,

Looks like the ruby process has ended. Usually its gems issue. Try to add:
Code: Select all
<add name="ERROR_LOG_DIR" value="logs" />

Make a request and provide us with the logs of the process.

Regards

User avatar
Posts: 4
Joined: 05 Feb 2014, 18:42

Re: The pipe has been ended - Redmine fails

06 Feb 2014, 11:52

That flag is already in web.config file. It creates rails.project [2014_02_06 15_51_10] worker-1.log files but they are empty.

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: The pipe has been ended - Redmine fails

07 Feb 2014, 07:19

Now try to run Zoo Manager click "Start IDE" (or web interface next to it) and run redmine using:
Code: Select all
rails server

This should provide you with errors to analyze.

User avatar
Posts: 4
Joined: 05 Feb 2014, 18:42

Re: The pipe has been ended - Redmine fails

10 Feb 2014, 07:27

Hey Andrew,

thanks for the tip, I resolved at least one error, but currently I have this one:

Code: Select all
redmine/GEM_HOME/gems/bundler-1.5.2/lib/bundler/dsl.rb:33:in `rescue in eval_gemfile': Gemfile syntax error: (Bundler::GemfileError)
   from C:/inetpub/wwwroot/gtbase.net/SUBDOM~1/redmine/GEM_HOME/gems/bundler-1.5.2/lib/bundler/dsl.rb:29:in `eval_gemfile'
   from C:/inetpub/wwwroot/gtbase.net/SUBDOM~1/redmine/GEM_HOME/gems/bundler-1.5.2/lib/bundler/dsl.rb:9:in `evaluate'
   from C:/inetpub/wwwroot/gtbase.net/SUBDOM~1/redmine/GEM_HOME/gems/bundler-1.5.2/lib/bundler/definition.rb:26:in `build'
   from C:/inetpub/wwwroot/gtbase.net/SUBDOM~1/redmine/GEM_HOME/gems/bundler-1.5.2/lib/bundler.rb:152:in `definition'
   from C:/inetpub/wwwroot/gtbase.net/SUBDOM~1/redmine/GEM_HOME/gems/bundler-1.5.2/lib/bundler.rb:115:in `setup'
   from C:/inetpub/wwwroot/gtbase.net/SUBDOM~1/redmine/GEM_HOME/gems/bundler-1.5.2/lib/bundler/setup.rb:17:in `<top (required)>'
   from C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
   from C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
   from C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
   from C:/inetpub/wwwroot/gtbase.net/SUBDOM~1/redmine/config/boot.rb:6:in `<top (required)>'
   from C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   from C:/Ruby19/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   from script/rails:5:in `<main>'


and unfortunately I couldn't solve it, do you have any idea what could be wrong?

User avatar
Posts: 4
Joined: 05 Feb 2014, 18:42

Re: The pipe has been ended - Redmine fails

12 Feb 2014, 06:18

All right, I have manage to fix that.

The problem that I have described one post above is because the database.yml file was not correct. I had:

Code: Select all
adapter:mysql2

instead of
Code: Select all
adapter: mysql2


but then I had again a problem saying, cannot

`resolve_hash_connection': database configuration does not specify


So, I couldn't run Redmine on the production env, but development works like a charm, here's what I did:
(do not forget to put development entries in the database.yml)

Code: Select all
set RAILS_ENV=development

rake db:migrate

rails server


and Redmine started to work as supposed to with MySQL on board.

Thanks!

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: The pipe has been ended - Redmine fails

12 Feb 2014, 07:33

First, please try to execute

Code: Select all
bundle install


and then try

Code: Select all
rails server

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 16 guests