Project

General

Profile

Repository 404 error: The entry or revision was not found in the repository

Added by Gabor Nagypal over 11 years ago

Hello!

I have two repository in my project:
  • Main repository: SVN
  • Secondary repository: CVS

The secondary repository attached 1 month ago, when I upgraded the redmine from redmine-1.1.2 to 2.2.1.
Importing data from the secondary repository is works fine, the redmine database tables always refreshed with commits of the CVS, but in redmine GUI when i click on the name of the secondary repository, I always get 404 error.

In the activity tab, I can see the fresh activity of the secondary repository:

Started GET "/projects/emcs/activity" for 127.0.0.1 at 2013-02-14 19:18:03 +0100
Processing by ActivitiesController#index as HTML
Parameters: {"id"=>"emcs"}
Current user: nagypal.gabor (id=3)
Completed 304 Not Modified in 422ms (ActiveRecord: 0.0ms)

And I can see the commit entry too:

Started GET "/projects/emcs/repository/emcs_db_objects/revisions/4381" for 127.0.0.1 at 2013-02-14 19:18:06 +0100
Processing by RepositoriesController#revision as HTML
Parameters: {"id"=>"emcs", "repository_id"=>"emcs_db_objects", "rev"=>"4381"}
Current user: nagypal.gabor (id=3)
Rendered repositories/_related_issues.html.erb (15.6ms)
Rendered repositories/revision.html.erb within layouts/base (62.5ms)
Completed 200 OK in 141ms (Views: 125.0ms | ActiveRecord: 15.6ms)

But if I go to the repository tab:

Started GET "/projects/emcs/repository" for 127.0.0.1 at 2013-02-14 19:18:11 +0100
Processing by RepositoriesController#show as HTML
Parameters: {"id"=>"emcs"}
Current user: nagypal.gabor (id=3)
Rendered repositories/_navigation.html.erb (0.0ms)
Rendered repositories/_breadcrumbs.html.erb (0.0ms)
Rendered repositories/_dir_list_content.html.erb (15.6ms)
Rendered repositories/_dir_list.html.erb (31.2ms)
Rendered repositories/_revisions.html.erb (93.7ms)
Rendered repositories/show.html.erb within layouts/base (140.6ms)
Completed 200 OK in 484ms (Views: 203.1ms | ActiveRecord: 0.0ms)

And select the secondary repository, I get 404:

Started GET "/projects/emcs/repository/emcs_db_objects" for 127.0.0.1 at 2013-02-14 19:18:14 +0100
Processing by RepositoriesController#show as HTML
Parameters: {"id"=>"emcs", "repository_id"=>"emcs_db_objects"}
Current user: nagypal.gabor (id=3)
Rendered common/error.html.erb within layouts/base (0.0ms)
Completed 404 Not Found in 2672ms (Views: 62.5ms | ActiveRecord: 15.6ms)

The environment:

Redmine version 2.2.1.stable
Ruby version 1.9.3 (i386-mingw32)
Rails version 3.2.11
Environment production
Database adapter Mysql2
Redmine plugins:
no plugin installed

If I call redmine:fetch_changesets, it works normally:

rake redmine:fetch_changesets --trace RAILS_ENV=production 1>log.txt
Invoke redmine:fetch_changesets (first_time)
Invoke environment (first_time)
Execute environment
Execute redmine:fetch_changesets

Thanks for any hint or advice!

Thanks
Gabor