Gitlab 15.0 stalble
https://gitlab.com/gitlab-org/gitlab-foss/-/blob/15-0-stable/Gemfile.lock
をapache 2.4 + Phusion Passenger 6.0.14
で動かそうとおもっています・
すべての設定を終えて、いざトップページに行くと
The requested URL was not found on this server.
と表示されます
/var/log/apache2/error.log を確認すると、下記のような表示がされます
[ E 2022-05-30 15:24:08.3176 1350453/T3c age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /home/git/gitlab: The application encountered the following error: uninitialized constant Google::Apis::VERSION Did you mean? VersionCheck (NameError) Error ID: 6e87b2c4 Error details saved to: /tmp/passenger-error-2anAP0.html
残念ながら /tmp/passenger-error-2anAP0.html というファイルは生成されていませんでした。
** Google::Apis::VERSION** という内容が怪しいと思いまして
/home/git/gitlab配下で、 Google::Apis::VERSION でgrep かけてみると
下記のファイルが見つかりました。
grep
1grep Google::Apis::VERSION -rl ./* 2./config/initializers/google_api_client_patch.rb 3./vendor/bundle/ruby/2.7.0/gems/google-api-client-0.50.0/lib/google/apis/core/base_service.rb 4./vendor/bundle/ruby/2.7.0/gems/google-api-client-0.50.0/lib/google/apis/core/api_command.rb 5./vendor/bundle/ruby/2.7.0/gems/google-api-client-0.50.0/google-api-client.gemspec 6./vendor/bundle/ruby/2.7.0/gems/google-api-client-0.50.0/bin/generate-api
上記ファイルが見つかりました。
Gemfileでgoogle-api-client-0.50.0を指定したのでbundle install でインストールされたのはわかるのですが、なぜ、 uninitialized constant Google::Apis::VERSION
がでてくるのかわからず苦労しております。Google::Apis::VERSIONは上記ファイルに書かれていることはわかるのですが
なぜこれがエラーの原因となるのかわからずはまっております
何かヒントでもいいからありませんでしょうか?
多分、gitlabのトップページが表示されるまでもう一歩だと思いますので
力をお貸しいただければと思います
あなたの回答
tips
プレビュー