https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-12-07T03:31:28ZRedmineRedmine - Defect #12519: Redmine in sub-URI gives 404 page not found issue submit and wiki submithttps://www.redmine.org/issues/12519?journal_id=432802012-12-07T03:31:28ZVincent Lizzi
<ul></ul><p>Here are steps to reproduce:</p>
<p>1. Go to Redmine and Sign in</p>
<p>2. Go into a project.</p>
<p>3. To see that posting updates works in some places, click on Settings. Edit the project description, then press Save. The settings are updated.</p>
<p>4. Click on New Issue. Enter a subject and possibly other information.</p>
<p>4a. Click Submit. This goes to a 404 error.</p>
<p>4b. Press the back button.</p>
<p>5. Go to Issues. Click on any issue. Click Edit.</p>
<p>5a. Click Submit. This goes to a 404 error.</p>
<p>5b. Press the back button.</p>
<p>6. Click on Wiki. Add some text to the page.</p>
<p>6a. Click Submit. This goes to a 404 error.</p>
<p>6b. Press the back button.</p>
<p>7. Click on Forums, click New Message. Enter text.</p>
<p>7a. Click Submit. This goes to a 404 error.</p>
<p>7b. Press the back button.</p>
<p>Nothing is saved when the 404 messages appear. I'm not sure if it's relevant, but the Preview function works on the pages that give the 404 errors.</p> Redmine - Defect #12519: Redmine in sub-URI gives 404 page not found issue submit and wiki submithttps://www.redmine.org/issues/12519?journal_id=433682012-12-12T19:46:33ZDetlev Droege
<ul></ul><p>I do have the same problem when editing wiki pages and updating issues. And, by coincidence(?), I'm on a shared host at A2Hosting too.<br />Upon hitting the "Save" button I get a 404 page not found error. The log file in my case also shows a shortened URL, though I'm only missing the first path component, "/projects":</p>
<pre>
Started PUT "/projects/board/wiki/Wiki" for 93.221.72.218 at Wed Dec 12 13:58:45 -0500 2012
ActionController::RoutingError (No route matches [PUT] "/board/wiki/Wiki"):
actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.6) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.6) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in `call'
[rest is identical]
</pre><br />Except for Rails 3.2.6 it is the same setup:<br /><pre>
Environment:
Redmine version 2.0.3.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.6
Environment production
Database adapter MySQL
Redmine plugins:
due_date_reminder 0.3.1
</pre>
<p>When setting it up, I followed the hosters instructions at <a class="external" href="https://my.a2hosting.com/knowledgebase.php?_m=knowledgebase&_a=viewarticle&kbarticleid=665">https://my.a2hosting.com/knowledgebase.php?_m=knowledgebase&_a=viewarticle&kbarticleid=665</a> -- does that matter?</p> Redmine - Defect #12519: Redmine in sub-URI gives 404 page not found issue submit and wiki submithttps://www.redmine.org/issues/12519?journal_id=433992012-12-14T07:35:15ZIvan Garcia
<ul></ul><p>I have the exact same issue and the same hosting provider, did you find anything to solve this?</p>
<pre>
ActionController::RoutingError (No route matches [POST] "/wdtc/issues"):
vendor/bundle/ruby/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
vendor/bundle/ruby/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
vendor/bundle/ruby/1.8/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
</pre>
<p>thanks in advance</p> Redmine - Defect #12519: Redmine in sub-URI gives 404 page not found issue submit and wiki submithttps://www.redmine.org/issues/12519?journal_id=438762013-01-06T17:10:29ZVincent Lizzi
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>The techs at A2 Hosting have investigated this and found that this error is due to a race condition in Passenger. They were able to make some changes to help but the problem still seems to be within Passenger. I've upgraded to Redmine 2.2.0 and Rails 3.2.9, and changed to using Redmine in a subdomain instead of a sub-uri. After all this, the situation has improved but is not solved. I still occasionally get an error message when submitting a new issue, issue update, or wiki edit:</p>
<p>Application error<br />Rails application failed to start properly</p>
<p>The workaround for now seems to be to refresh the page when the error message appears, or edit the custom error pages to automatically refresh.</p>
<p>I'm changing the status on this issue to Resolved since the problem is not in Redmine.</p> Redmine - Defect #12519: Redmine in sub-URI gives 404 page not found issue submit and wiki submithttps://www.redmine.org/issues/12519?journal_id=438772013-01-06T17:34:26ZDaniel Felix
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>Thank you for your feedback. I close this Ticket.</p> Redmine - Defect #12519: Redmine in sub-URI gives 404 page not found issue submit and wiki submithttps://www.redmine.org/issues/12519?journal_id=500172013-06-12T02:19:24ZSamuel F. Baggen
<ul></ul><p>I have (actually) the same issue in DreamHost, I noticed it around one year ago in my first test with redmine but actually still happening</p>