-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when install plugin! #118
Comments
It looks like a bundle install has not been done, since the error says that activerecord-compatible_legacy_migration is not found. |
Hi, I installed it as instructed below : cd {RAILS_ROOT}/plugins I checked with the gem list command and found that activerecord-compatible_legacy_migration has been installed Thank you so very much, |
Thank you for sharing your steps. Are you saying that this error occurs even though activerecord-compatible_legacy_migration is installed? Am I correct that the error does not occur when executing Thanks. |
Hi,
This error also occurs when I install some other plugins. I don't have much experience with errors like this, I hope you can help. Thanks for your patience. |
Can you check activerecord-compatible_legacy_migration with the |
Hi, [root@inservr redmine]# gem list *** LOCAL GEMS *** actioncable (5.2.6) Here is result, Thank you! |
Please also tell me the result of the |
Hi, thanks for your patience. It here: [root@insevr redmine]# bundle list
|
I apologize again and again. |
[root@insevr redmine]# bundle list --paths /root/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/actioncable-5.2.6 Thank you so much, |
Thank you. |
Thank you, |
What are the results of the following two commands?
|
Hi, |
And the second cmd, result: _*** LOCAL GEMS *** actioncable (5.2.6)
actionmailer (5.2.6)
actionpack (5.2.6)
actionpack-xml_parser (2.0.1)
actionview (5.2.6)
activejob (5.2.6)
activemodel (5.2.6)
activerecord (5.2.6)
activerecord-compatible_legacy_migration (0.1.2)
activestorage (5.2.6)
activesupport (5.2.6)
.........and more Thanks, |
Could you please execute the following command to try it out?
Then restart Apache and try to see if Redmine can be displayed. |
Hi, I have tried this before but it still shows the same error. |
If you are running Redmine itself under Apache, it will be running as an Apache user. Can you tell us the contents of |
Hi, |
Thanks. Sorry for repeating.
|
Hi, ** Thanks, |
Sorry for repeating.
Thanks. |
One more thing, please, also below.
|
Hi, total 24 Thanks, |
And here: root 10813 10619 0 00:23 pts/0 00:00:00 grep --color=auto Passenger Thanks for your patience, |
Thank you very much. If there are any other Passenger settings you have configured in Apache, please share them with me. |
Hi, This is Passenger and Redmine config: My redmine.conf:
My Passenger.conf
Thank you, |
Thank you very much. When run with Passenger, the gem file will refer to the following.
When you install the plugin, the
When you install Redmine, you probably also run the |
Thank you so very much, I don't remember clearly what I did when installing Bundle at the time of installing Redmine. Recently when installing some Plugins, I also tried to execute the |
Try executing the following command in the Redmine home directory.
This should install the gem under
With this setting, Passenger will refer to the gem under Could you please restart Apache and see if that solves the problem? |
Hi,
|
I am a little unsure of the cause and would like to think of another way. First of all, I would like to return to the original state,
Now restart Apache and confirm that the error is the same as before. Please let me know the results of the following command so that I can check the information about your environment.
|
Hi, I have followed the steps as you instructed, the error is the same as before. This is the result of commands: which gem:
gem environment:
Thank you, |
Could you also tell us the contents of the following file?
|
Yes, of course, and it's here:
|
Execute the following command in your Redmine home directory.
Could you please restart Apache and see if that solves the problem? |
I get still error when running Redmine app, Thank you, |
Sorry, I made a mistake.
|
Hi, there is no difference, i get still error. Should I uninstall and reinstall the plugin from scratch? Thanks, |
Error with |
No, |
OK. I believe
|
Sorry, but I don't see this bundle.
|
I changed the GEM_HOME, which should have changed the installation location,
|
Hi,
|
Sorry for repeating myself. |
Thanks |
Once you have done so, please try erasing it below.
Then, please do a bundle install again.
Hopefully this will put |
YES, |
I am glad it was resolved. |
Hi , What a great plugin, thanks for your contribution. I got below error when install this plugin:
**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:
bundle install
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:
-------- The exception is as follows: -------
Could not find activerecord-compatible_legacy_migration-0.1.2 in any of the sources (Bundler::GemNotFound)
'_**/usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/definition.rb:502:in
materialize' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/definition.rb:189:in
specs'/usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/definition.rb:237:in
specs_for' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/runtime.rb:18:in
setup'/usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler.rb:150:in
setup' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/setup.rb:20:in
block in <top (required)>'/usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/ui/shell.rb:136:in
with_level' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/ui/shell.rb:88:in
silence'/usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/setup.rb:20:in
<top (required)>' /usr/local/rbenv/versions/2.7.2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
require'/usr/local/rbenv/versions/2.7.2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
require' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:263:in
block in run_load_path_setup_code'/usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:366:in
running_bundler' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:261:in
run_load_path_setup_code'/usr/share/passenger/helper-scripts/rack-preloader.rb:100:in
preload_app' /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in
module:App'/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in
<module:PhusionPassenger>' /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in
My Environment:
_Redmine version 4.2.3.stable
Ruby version 2.7.2-p137 (2020-10-01) [x86_64-linux]
Rails version 5.2.6
Environment production
Database adapter Mysql2
Sometimes I also encountered this error when installing a few plugins,. Thanks for your help
The text was updated successfully, but these errors were encountered: