Closed possebon closed 2 years ago
Hi @possebon, which Ruby version are you using (see https://github.com/AlphaNodes/additionals#requirements) and what other Redmine plugins are installed?
Hi @possebon, which Ruby version are you using (see https://github.com/AlphaNodes/additionals#requirements) and what other Redmine plugins are installed?
Hi @alexandermeindl thanks for your reply.
Here are the information:
# ruby --version
ruby 2.6.9p207 (2021-11-24 revision 67954) [x86_64-linux]
[root@portfoliogp plugins]# rails --version
Rails 5.2.6.2
Going to the folder of Redmine I receive this warning
root@portfoliogp ~]# cd /opt/redmine/plugins/
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /opt/redmine/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.
Unknown ruby interpreter version (do not know how to handle): >=2.4.0,<2.8.0.
Other plugins:
[root@portfoliogp plugins]# ls -la
total 16
drwxr-xr-x 11 apache apache 245 Mar 11 09:07 .
drwx------ 18 apache apache 4096 Feb 24 14:25 ..
-rw-rw-r-- 1 apache apache 250 Jul 15 2019 IMPORTANT.md
-rw-r--r-- 1 apache apache 31 Apr 23 2012 README
drwxr-xr-x 9 apache apache 168 Feb 23 22:14 dashboard
drwxr-xr-x 7 apache apache 138 Feb 24 14:28 easy_mindmup
drwxr-xr-x 7 apache apache 138 Feb 24 14:29 easy_wbs
drwxr-xr-x 9 apache apache 282 Feb 23 22:32 redmine_custom_workflows
drwxr-xr-x 11 apache apache 4096 Feb 24 13:47 redmine_dashboard
drwxr-xr-x 9 apache apache 244 Feb 23 22:23 redmine_drawio
drwxr-xr-x 9 apache apache 148 Feb 25 23:17 redmine_indicator
drwxr-xr-x 8 apache apache 209 Apr 8 2021 redmine_risks
drwxr-xr-x 8 apache apache 144 Feb 23 22:39 redmine_tint_issues
Thanks for help.
Are you sure, this ruby version is used by your application server? If yes, you can try it to remove other plugins to exclude a conflict with a plugin.
I don't know Ruby well to be honest. I did the installation following a procedure on the internet post. Looking at Apache config, I found that there is something pointing to a different Ruby version:
PassengerRoot /usr/local/share/gems/gems/passenger-6.0.12
PassengerDefaultRuby /usr/bin/ruby
And this is a different version:
ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux]
[root@portfoliogp ~]#
The 2.6.9 Ruby version I installed using RVM and the 2.5.9 was installed using the Rocky Linux (CentOS 8) repo.
I tried to uninstall the 2.5.9 and make Redmine run with the 2.6.9 version without success.
Hi @possebon, did you get the same error message after uninstalling ruby 2.5.9? I am quite sure that the problem is the ruby with your passenger setup. But as I wrote above you can also test, if other plugins cause some compatibility problems (by removing them for testing).
Another idea: if you remove additionals and start your redmine, you see the used ruby version /admin/info. If you see 2.6.9 there, the right ruby is used.
Another idea: if you remove additionals and start your Redmine, you see the used ruby version /admin/info. If you see 2.6.9 there, the right ruby is used.
@alexandermeindl Thank you for your help. You lead me to the solution: different Ruby versions.
I removed completely Ruby 2.5.9 and installed everything with Ruby 2.6.9.
Now Additionals is working fine.
I'm closing the issue since it's not related to any bug.
Best regards
Hi all,
I installed the Additionals plugin on my Redmine 4.2.4 instance without any errors.
I followed the instructions on README repo.
After restarting Apache and trying to access the Redmine, I just got the page:
We're sorry, but something went wrong. The issue has been logged for investigation. Please try again later.
Error ID: 249676ad Details: Web application could not be started by the Phusion Passenger(R) application server.
Please read the Passenger log file (search for the Error ID) to find the details of the error.
You can also get a detailed report to appear directly on this page, but for security reasons it is only provided if Phusion Passenger(R) is run with environment set to development and/or with the friendly error pages option set to on.
I enabled PassengerLogLevel to 5 to tackle the error.
This is the information I got on passenger.log
Any ideas to fix that?
Thanks in advance