Open KlausAdler opened 3 years ago
Hi @KlausAdler
this looks like you have a problem with your redmine environment. This has nothing to do with this plugin. Maybe you can get support to your system on Bitnami community to get more information.
It's strange, it appears only with the additionals plugin.
I don't know what are the effects, but when I remove the following lines from additionals.gemspec, than redmine seems to work.
spec.files = git ls-files -z
.split("\x0").reject do |f|
f.match(%r{^((test|spec|features)/|Gemfile)})
end
I'm using 'BITNAMI REDMINE STACK INSTALLERS' on windows. Do you have any idea, what is going wrong.
How did you install additionals plugin? If you use the https://github.com/AlphaNodes/additionals#installation, you use git to install it and you should have a .git directory in the root directory of the plugin. If .git directory exists in your plugin directory, it should work without modifying any file.
Hi @KlausAdler
with my last update, you installation should also work without a .git directory. I hope, this helps.
Hello @KlausAdler
could you solve the problem in the meantime or did you try it with the latest version of additionals?
Hello,
I tried it again with a fresh installation. When I copy the files from the git repository to the plugin directory manually, than it works. When I get the plugin with git clone, than the installation with the new version works, but when I restart Redmine the Servers 'Thin_redmine' and Thin_redminse2' stopps after some time.
Thanks for your help.
Following. Facing similar issue with additional installation.
Hi, can you provide some log files with error messages?
I dont see any error in the Production log file. Can you please mention which log file is needed? Thanks
We do not use bitnami. Maybe you can get help from bitnami community about your available log files. I suppose thin is your application server - this log file would be interesting. Maybe you find information in your syslog, too (/var/log/syslog or /var/log/messages)
I cloned -b stable as an update (from 2.0.33) and got a similar error. There is a .git directory and # bundle install
worked fine, as do the normal update rakes, but on accessing the site I get:
[!] There was an error while loading `additionals.gemspec`: No such file or directory - git. Bundler cannot continue.
# from /usr/local/www/redmine/plugins/additionals/additionals.gemspec:16
# -------------------------------------------
#
> spec.files = `git ls-files -z`.split("\x0").reject do |f|
# f.match(%r{^((test|spec|features)/|Gemfile)})
# -------------------------------------------
. Bundler cannot continue.
Happy to test or provide logs. redmine4-4.1.1_5 ruby-2.7.2_1,1 FreeBSD 11.3-RELEASE-p8
oh, and deleting the lines
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^((test|spec|features)/|Gemfile)})
end
resolves the issue for me as well.
Hi @gessel
thanks for your feedback. Did you read my comment https://github.com/AlphaNodes/additionals/issues/90#issuecomment-762110132 Can you try if it works with the current master without changing spec.files?
I try to install Pluigin in bitnami Redmine stack 4.1.1.
When executing 'bundle exec rake redmine:plugins:migrate RAILS_ENV=production' I get the following error: 'fatal: not a git repository (or any of the parent directories): .git' And after restarting redmine server, it stopps after a few seconds.
Removing the other plugins will also not help. What can I do?