Closed arj22 closed 2 years ago
It's not mentioned directly in README of this plugin (gonna be fixed), but you need to install redmine_sidekiq in order to get the things work.
When I install redmine_sidekiq alone, I can access Redmine. But after installing telegram_common, I am not able to access it. Let me know if I have to add any extra configuration. I attached a screenshot of the error and apache logs.
[ 2018-06-17 12:41:44.1199 10091/7f3fa8308700 age/Cor/SecurityUpdateChecker.h:363 ]: Additional information:
Several critical security issues have been fixed since v5.1.4, due to an issue in Passenger < 5.1.6 we can not display more info.
App 10191 stdout:
App 10191 stdout:
[ 2018-06-17 12:41:46.6318 10091/7f3f981db700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /var/www/redmine: An error occurred while starting up the preloader.
Error ID: c5dac85a
Error details saved to: /tmp/passenger-error-CqeuAa.html
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>www-data</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>
The git source https://github.com/arturtr/pidfile.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError)
<pre> /var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/source/git/git_proxy.rb:235:in `allowed_in_path'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/source/git/git_proxy.rb:192:in `find_local_revision'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/source/git/git_proxy.rb:64:in `revision'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/source/git.rb:225:in `revision'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/source/git.rb:93:in `install_path'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/source/path.rb:126:in `expanded_path'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/source/path.rb:163:in `load_spec_files'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/source/git.rb:200:in `load_spec_files'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/source/path.rb:100:in `local_specs'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/source/git.rb:167:in `specs'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/definition.rb:754:in `block in converge_locked_specs'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/definition.rb:740:in `each'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/definition.rb:740:in `converge_locked_specs'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/definition.rb:248:in `resolve'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/definition.rb:171:in `specs'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/definition.rb:238:in `specs_for'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/definition.rb:227:in `requested_specs'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/runtime.rb:108:in `block in definition_method'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/runtime.rb:20:in `setup'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler.rb:107:in `setup'
/var/lib/gems/2.3.0/gems/bundler-1.16.2/lib/bundler/setup.rb:20:in `<top (required)>'
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/var/lib/gems/2.3.0/gems/passenger-5.1.4/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:430:in `activate_gem'
/var/lib/gems/2.3.0/gems/passenger-5.1.4/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code'
/var/lib/gems/2.3.0/gems/passenger-5.1.4/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:435:in `running_bundler'
/var/lib/gems/2.3.0/gems/passenger-5.1.4/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:296:in `run_load_path_setup_code'
/var/lib/gems/2.3.0/gems/passenger-5.1.4/src/helper-scripts/rack-preloader.rb:100:in `preload_app'
/var/lib/gems/2.3.0/gems/passenger-5.1.4/src/helper-scripts/rack-preloader.rb:156:in `<module:App>'
/var/lib/gems/2.3.0/gems/passenger-5.1.4/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
/var/lib/gems/2.3.0/gems/passenger-5.1.4/src/helper-scripts/rack-preloader.rb:29:in `<main>'</pre>
[ 2018-06-17 12:41:46.6380 10091/7f3f9b7fe700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is c5dac85a. Please see earlier logs for details about the error
The git source https://github.com/arturtr/pidfile.git is not yet checked out. Please run
bundle install
before trying to start your application (Bundler::GitError)
Please, look at this
Ruby version: 2.3.1 Redmine version: 3.3.3 stable Database: postgres Placed the tblib build under vendor directory. Bundle install worked fine.
Bundle rake threw an error for redis. Installing redis-server fixed the error.
Did a apache2 restart and redmine throws a passenger error
Web application could not be started by the Phusion Passenger application server
If I remove telegram_common from plugins, bundle install, and restart apache2, redmine works fine.