Skip to content
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

Nice project #1

Closed
commandline-be opened this issue Jun 3, 2020 · 10 comments
Closed

Nice project #1

commandline-be opened this issue Jun 3, 2020 · 10 comments

Comments

@commandline-be
Copy link

commandline-be commented Jun 3, 2020

Thanks for this project, i think it is what i need. Had a look at git_hosting but i felt tears just looking at the stupifying installation procedure.

For git_server I do get errors on SQL tables not existing on install.

@voondo
Copy link
Owner

voondo commented Jun 4, 2020

I don't understand why you have sql errors because there is nothing related to the models in this plugin.
What are the errors ?

@commandline-be
Copy link
Author

I don't understand why you have sql errors because there is nothing related to the models in this plugin.
What are the errors ?

In the meantime i wrote a redmine plugin installation script. will try again.

@commandline-be
Copy link
Author

The script works much better than me doing it manually, zero SQL errors at the moment. However, after installation of the plugin redmine no longer functions, after uninstall redmine works again.

/opt/hosting/www/redmine/plugins/redmine_contacts/init.rb:29: warning: already initialized constant FCSV
/opt/hosting/www/redmine/plugins/redmine_agile/init.rb:29: warning: previous definition of FCSV was here
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
/opt/hosting/www/redmine/plugins/redmine_contacts/init.rb:29: warning: already initialized constant FCSV
/opt/hosting/www/redmine/plugins/redmine_agile/init.rb:29: warning: previous definition of FCSV was here

@voondo
Copy link
Owner

voondo commented Jun 5, 2020

Theses warnings are not related to this plugin.

Is there any error when redmine no longer functions ?
Did you install redmine_base_deface ?

@commandline-be
Copy link
Author

[ E 2020-06-05 16:27:43.0654 137427/T17 age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /opt/hosting/www/redmine: The application encountered the following error: /opt/hosting/redmine/plugins/redmine_git_server/app/controllers/git_server_controller.rb:34: syntax error, unexpected keyword_rescue, expecting keyword_end
rescue ActiveRecord::RecordNotFound
^ (SyntaxError)
Error ID: cac63942
Error details saved to: /tmp/passenger-error-f0TzI4.html

[ E 2020-06-05 16:27:43.0692 137427/T5 age/Cor/Con/CheckoutSession.cpp:276 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is cac63942. Please see earlier logs for details about the error.

@commandline-be
Copy link
Author

installation of the plugin no longer breaks redmin after barbarically removing line 34 and 35 in redmine_git_server/app/controllers/git_server_controller.rb

34: rescue ActiveRecord::RecordNotFound
35: render_404

@voondo voondo closed this as completed in 8073a6d Jun 5, 2020
@voondo
Copy link
Owner

voondo commented Jun 5, 2020

It should be fixed (ruby < 2.5 was not supported)

voondo added a commit that referenced this issue Jun 5, 2020
voondo added a commit that referenced this issue Jun 5, 2020
@commandline-be
Copy link
Author

Works as expected, thanks for the follow up and fix.

@ashrafalzyoud
Copy link

/opt/hosting/www/redmine/plugins/redmine_contacts/init.rb:29: warning: already initialized constant FCSV
/opt/hosting/www/redmine/plugins/redmine_agile/init.rb:29: warning: previous definition of FCSV was here
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0. (called from instance_eval at /opt/hosting/www/redmine/config/routes.rb:370)
/opt/hosting/www/redmine/plugins/redmine_contacts/init.rb:29: warning: already initialized constant FCSV
/opt/hosting/www/redmine/plugins/redmine_agile/init.rb:29: warning: previous definition of FCSV was here

these error in your production log,,, are u solve it??? deprecation error

@ashrafalzyoud
Copy link

@commandline-be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants