Project

General

Profile

[resolved] Error to create my first issue in a clean installation of redmine 3.3.3.stable

Added by Nauzet Melián Batista almost 7 years ago

Hello.
I installed redmine in a linux server, all process went well without errors.
I can access my redmine web, I can create a project.
I can create and register me as user.

But when I going to create a "issue", where I assinged a tracker, a subject, a status, a user and a priority.
Error message displayed in web
Page not found
The page you were trying to access doesn't exist or has been removed.
URL
[domain]/projects/desarrollo-software-csh/issues

The information of my environment
The serve is a virtual shared hosting
I don't know what web server is used for service de rails web.

uname -v
#1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19)

RAILS_ENV=production bin/about

sh: 1: svn: not found
sh: 1: darcs: not found
sh: 1: hg: not found
sh: 1: cvs: not found
sh: 1: bzr: not found
Environment:
Redmine version 3.3.3.stable
Ruby version 2.3.3-p222 (2016-11-21) [x86_64-linux]
Rails version 4.2.7.1
Environment production
Database adapter Mysql2
SCM:
Git 2.1.4
Filesystem
Redmine plugins:
no plugin installed

I reviewed the production log and I found the next informacion
Text in LOG

Processing by WelcomeController#index as HTML
Current user: nmelian (id=6)
Rendered welcome/index.html.erb within layouts/base (8.0ms)
Completed 200 OK in 229ms (Views: 198.2ms | ActiveRecord: 4.2ms)
Started POST "/projects/desarrollo-software-csh/issues" for XX.XX.XXX.208 at 2017-04-11 17:48:56 +0200

ActionController::RoutingError (No route matches [POST] "/desarrollo-software-csh/issues"):
actionpack (4.2.7.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.2.7.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.7.1) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.7.1) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.2.7.1) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.2.7.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.5) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.5) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.7.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (4.2.7.1) lib/action_dispatch/middleware/static.rb:120:in `call'
rack (1.6.5) lib/rack/content_length.rb:15:in `call'
rack (1.6.5) lib/rack/sendfile.rb:113:in `call'
railties (4.2.7.1) lib/rails/engine.rb:518:in `call'
railties (4.2.7.1) lib/rails/application.rb:165:in `call'
railties (4.2.7.1) lib/rails/railtie.rb:194:in `public_send'
railties (4.2.7.1) lib/rails/railtie.rb:194:in `method_missing'
passenger (5.1.0) src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
passenger (5.1.0) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:160:in `accept_and_process_next_request'
passenger (5.1.0) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
passenger (5.1.0) src/ruby_supportlib/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
passenger (5.1.0) src/ruby_supportlib/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'

My interpretation about the problem
I found that the url wasn't found
ActionController::RoutingError (No route matches [POST] "/desarrollo-software-csh/issues"):


Replies (1)

RE: Error to create my first issue in a clean installation of redmine 3.3.3.stable - Added by Nauzet Melián Batista almost 7 years ago

Hello.
My problem was resolved. I generated a ticket to my service provider and they resolved the problem.

My problem was resolved.
I created a ticket to my service provider and they resolved the problem.
They created a file htaccess and it put in folder REDMINE_ROOT/public

I publish the file htaccess below

File .httaccess

<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
</IfModule>
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
</IfModule>
Options +FollowSymLinks +ExecCGI

RewriteEngine On

RewriteRule ([.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
<IfModule mod_fastcgi.c>
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
</IfModule>
<IfModule mod_fcgid.c>
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
</IfModule>

ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"

    (1-1/1)