2017-05-18 18 views
0

우분투 16.04 LTS의 Redmine에 플러그인을 설치 한 후 다음 오류가 발생합니다.소스 중 하나에서 i18n-0.7.0을 찾을 수 없습니다. (Bundler :: GemNotFound)

웹 사이트가 표시

"We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly."

오류는 다음과 같습니다

"Could not find i18n-0.7.0 in any of the sources (Bundler::GemNotFound)"

로그는 다음과 같습니다

App 7302 stdout: 
App 7302 stdout: 
[ 2017-05-18 17:18:04.7070 6519/7fc7b81af700 App/Implementation.cpp:287 ]: Could not spawn process for application /opt/redmine-3.3.3-0/apps/redmine/htdocs/: An error occured w hile starting up the preloader. 
Error ID: 5031bd31 
    Error details saved to: /tmp/passenger-error.l3kNMa 
    Message from application: <p>It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run:</p > 

    <pre class="commands">bundle install</pre> 

<p>If that didn't work, then the problem is probably caused by your application being run under a different environment than it's supposed to. Please check the following:</p> 

<ol> 
    <li>Is this app supposed to be run as the <code>daemon</code> user?</li> 
    <li>Is this app being run on the correct Ruby interpreter? Below you will 
     see which Ruby interpreter Phusion Passenger attempted to use.</li> 
</ol> 

<p>-------- The exception is as follows: -------</p> 
Could not find i18n-0.7.0 in any of the sources (Bundler::GemNotFound) 
<pre> /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.14.5/lib/bundler/spec_set.rb:87:in `block in materialize&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.14.5/lib/bundler/spec_set.rb:80:in `map!&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.14.5/lib/bundler/spec_set.rb:80:in `materialize&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.14.5/lib/bundler/definition.rb:176:in `specs&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.14.5/lib/bundler/definition.rb:235:in `specs_for&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.14.5/lib/bundler/definition.rb:224:in `requested_specs&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:118:in `block in definition_method&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:19:in `setup&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.14.5/lib/bundler.rb:100:in `setup&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/bundler-1.14.5/lib/bundler/setup.rb:20:in `&lt;top (required)&gt;&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.6/lib/phusion_passenger/loader_shared_helpers.rb:278:in `block in run_load_path_setup_code&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.6/lib/phusion_passenger/loader_shared_helpers.rb:381:in `running_bundler&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.6/lib/phusion_passenger/loader_shared_helpers.rb:276:in `run_load_path_setup_code&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.6/helper-scripts/rack-preloader.rb:99:in `preload_app&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.6/helper-scripts/rack-preloader.rb:157:in `&lt;module:App&gt;&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.6/helper-scripts/rack-preloader.rb:29:in `&lt;module:PhusionPassenger&gt;&#39; 
    /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.6/helper-scripts/rack-preloader.rb:28:in `&lt;main&gt;&#39;</pre> 


[ 2017-05-18 17:18:04.7174 6519/7fc7b99f3700 age/Hel/Req/CheckoutSession.cpp:252 ]: [Client 4-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 5031bd31. Please see earlier logs for details about the error. 

무슨 문제가 될 수 있을까?

+0

서버에 SSH를 넣을 수 있습니까? 그렇다면, 실행하려고 : ' $ 번들 $ 번들 쇼 국제화 ' 를 설치하고 –

+0

는 cmd를 라인'번들 간부 레이크 레일이 시도 얻을 무엇을 말해 : 업데이트 : bin'가 나를 도왔다. –

+0

'$ bundle install'은 여전히 ​​잘 동작합니다. '$ bundle show i18n'을 실행하면'/ var/lib/gems/2.3.0/gems/i18n-0.7.0'이됩니다. 'bundle exec rake rails : update : bin'은'Mysql2 :: Error : 사용자 'root'@ 'localhost'(패스워드 사용 : NO)에 대한 접근 거부' –

답변

0

내가 설치하려고 시도했던 플러그인이 Redmine의 버전과 호환되지 않는다고 생각합니다.

Redmine 인스턴스를 AWS에서 로컬 서버로 완전히 마이그레이션했는데 모든 것이 올바르게 작동합니다. 플러그인을 AWS 버전에 설치했고 로컬 서버로 마이그레이션 한 후 Redmine은 플러그인과 함께 작동합니다.

마이그레이션을 수행하지 않고 플러그인을 로컬 서버에 직접 설치 한 후 위의 문제가 발생했지만 AWS에서 로컬 서버로 모든 항목을 마이그레이션하는 경우 문제가 없습니다.

this topic을 참조하십시오.