redmine_ckeditor 설치시에 발생한 오류 메시지 압니다.

 

✔️ 아파치 오류로그를 확인합니다.

# cat /var/log/apache2/error.log

[ 2023-03-25 23:50:32.7457 16626/7f823c25e700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /usr/share/redmine: An error occurred while starting up the preloader.
  Error ID: 6fbf3cb8
  Error details saved to: /tmp/passenger-error-kHZBJl.html
  Message from application: uninitialized constant Rich (NameError)
  /usr/share/redmine/lib/plugins/redmine_ckeditor-1.2.3/lib/redmine_ckeditor.rb:136:in `apply_patch'
  /usr/share/redmine/lib/plugins/redmine_ckeditor-1.2.3/init.rb:5:in `block (2 levels) in <top (required)>'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:426:in `instance_exec'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:426:in `block in make_lambda'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:606:in `block (2 levels) in default_terminator'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:605:in `catch'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:605:in `block in default_terminator'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:199:in `block in halting'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:513:in `block in invoke_before'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:513:in `each'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:513:in `invoke_before'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:131:in `run_callbacks'
  /usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/reloader.rb:89:in `prepare!'
  /usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/application/finisher.rb:63:in `block in <module:Finisher>'
  /usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec'
  /usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run'
  /usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers'
  /usr/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
  /usr/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
  /usr/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
  /usr/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
  /usr/lib/ruby/2.7.0/tsort.rb:347:in `each'
  /usr/lib/ruby/2.7.0/tsort.rb:347:in `call'
  /usr/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
  /usr/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
  /usr/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
  /usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers'
  /usr/share/rubygems-integration/all/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!'
  /usr/share/redmine/config/environment.rb:14:in `<top (required)>'
  config.ru:3:in `require'
  config.ru:3:in `block in <main>'
  /var/lib/gems/2.7.0/gems/rack-2.2.6.2/lib/rack/builder.rb:125:in `instance_eval'
  /var/lib/gems/2.7.0/gems/rack-2.2.6.2/lib/rack/builder.rb:125:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `<main>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `eval'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `preload_app'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'


[ 2023-03-25 23:50:32.7513 16626/7f822f7fe700 age/Cor/Con/CheckoutSession.cpp:283 ]: [Client 2-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 6fbf3cb8. Please see earlier logs for details about the error.

 

 

 

오라클 클라우드에 개인용 Redmine을 사용하고 있으며

어느날 갑자기 아래와 같은 오류가 발생하였고, 조치방법 입니다.

오류 상황에서 화면에는 딱 아래의 내용만 표시됩니다.

위 내용을 열심히 해석하고 포함된 링크들을 모두 클릭해서 살펴보아도 별로 도움은 되지 않습니다. 

빠르게 포기하시고 먼저 오류를 살펴 보아야 합니다.

 

✔️cat /var/log/apache2/error.log 명령을 실행하여 오류 파일 내용을 확인합니다.

맨 마지막 오류부터 위로 올라가시며서 살펴보셨을 때 Gemfile.lock 관련 내용이 있다면 아래 조치 사항을 참고해서 해결하실 수 있을 것입니다.

아파치 오류 로그

✔️Gemfile.lock 파일의 permissions 관련 오류 해결 방법 (순서대로 명령을 실행하시면 됩니다.)

    $ sudo rm -rf /usr/share/redmine/Gemfile.lock
    $ sudo touch /usr/share/redmine/Gemfile.lock
    $ sudo chown www-data:www-data /usr/share/redmine/Gemfile.lock
    $ sudo service apache2 restart

 

용접기가 없으니 합판으로 만들어 봐야겠습니다.

유튜브 URL : https://youtu.be/slIGFnUryOk

 

 

 

 

'기타' 카테고리의 다른 글

곡선 바늘  (0) 2023.06.18
방수 one seal  (0) 2023.06.06
3.5파이 이어폰 단자  (0) 2023.03.16
[배터리] 18650 vs 14500 규격(사이즈)  (0) 2023.03.12
[가죽] 프레스  (0) 2023.03.10

 



'기타' 카테고리의 다른 글

방수 one seal  (0) 2023.06.06
[TOOL] 그라인더 툴  (0) 2023.03.18
[배터리] 18650 vs 14500 규격(사이즈)  (0) 2023.03.12
[가죽] 프레스  (0) 2023.03.10
Nifi / Python을 Windows Service 로 실행  (0) 2022.02.21

✅ 배터리 규격

  18650 14500
용량(일반적) 1200mAh ~ 3500mAh 500mAh ~ 800mAh
전압 3.7V 3.7V
외격 18mm x 65mm 14mm x 50mm

 

'기타' 카테고리의 다른 글

[TOOL] 그라인더 툴  (0) 2023.03.18
3.5파이 이어폰 단자  (0) 2023.03.16
[가죽] 프레스  (0) 2023.03.10
Nifi / Python을 Windows Service 로 실행  (0) 2022.02.21
Zotac egpu 와 2018 LG gram 연결 정보  (0) 2021.01.08

DW2700 : 6mm 구멍 타공

DW2701 : 8mm 타공

DW2702 : 10mm 타공

+ Recent posts