ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
"The entry or revision was not found in the repository." error message
Added by Thibaut Cuvelier at 2011-05-11 02:44 pm
Hello,
I just tried upgrading to CP 1.3, after trying one month ago to get to CP 1.2, with exactly the same issue.
What am I doing? I'm installing a new CP installation following https://www.chiliproject.org/projects/chiliproject/wiki/Installation, then putting the right config files following https://www.chiliproject.org/projects/chiliproject/wiki/Upgrade (with database upgrade). I do not copy any other file (no new plugin or theme or anything else).
Then, I go to a project's homepage, to its Repository space... then find that annoying message:
The entry or revision was not found in the repository.
Then I come back to CP 1.1, and see everything working properly, i.e. showing the repo's contents. In the log, I could find there had been a 404 error, and that's...
What's wrong? I am using the same config file, and I did not see any documented change about it... Here is the full log (with :debug in configuration.rb):
# Logfile created on Wed May 11 16:42:51 +0200 2011 [4;36;1mSQL (0.2ms)[0m [0;1mSET NAMES 'utf8'[0m [4;35;1mSQL (0.2ms)[0m [0mSET SQL_AUTO_IS_NULL=0[0m [4;36;1mSQL (0.2ms)[0m [0;1mSET NAMES 'utf8'[0m [4;35;1mSQL (0.2ms)[0m [0mSET SQL_AUTO_IS_NULL=0[0m Processing RepositoriesController#show (for 81.247.42.99 at 2011-05-11 16:42:53) [GET] Parameters: {"action"=>"show", "id"=>"castor3d", "controller"=>"repositories"} [4;36;1mSetting Columns (0.5ms)[0m [0;1mSHOW FIELDS FROM `settings`[0m [4;35;1mSQL (0.4ms)[0m [0mSELECT max(`settings`.updated_on) AS max_updated_on FROM `settings` [0m [4;36;1mUser Columns (0.5ms)[0m [0;1mSHOW FIELDS FROM `users`[0m [4;35;1mUser Load (0.3ms)[0m [0mSELECT * FROM `users` WHERE (`users`.`id` = 254882) AND (users.status = 1) AND ( (`users`.`type` = 'User' OR `users`.`type` = 'AnonymousUser' ) ) [0m [4;36;1mProject Columns (0.5ms)[0m [0;1mSHOW FIELDS FROM `projects`[0m [4;35;1mProject Load (0.4ms)[0m [0mSELECT * FROM `projects` WHERE (`projects`.`identifier` = 'castor3d') LIMIT 1[0m [4;36;1mRepository Load (0.3ms)[0m [0;1mSELECT * FROM `repositories` WHERE (`repositories`.project_id = 84) LIMIT 1[0m [4;35;1mRepository Columns (0.3ms)[0m [0mSHOW FIELDS FROM `repositories`[0m [4;36;1mRepository::Subversion Columns (0.3ms)[0m [0;1mSHOW FIELDS FROM `repositories`[0m [4;35;1mEnabledModule Load (0.2ms)[0m [0mSELECT name FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 84) [0m [4;36;1mEnabledModule Columns (0.2ms)[0m [0;1mSHOW FIELDS FROM `enabled_modules`[0m [4;35;1mSetting Load (0.2ms)[0m [0mSELECT * FROM `settings` WHERE (`settings`.`name` = 'autofetch_changesets') LIMIT 1[0m Shelling out: '/usr/local/bin/svn --config-dir /home/www/redmine/config/svn' info --xml 'http://svn.com/projets/Castor3D/' --no-auth-cache --non-interactive Shelling out: '/usr/local/bin/svn --config-dir /home/www/redmine/config/svn' list --xml 'http://svn.com/projets/Castor3D/'@HEAD --no-auth-cache --non-interactive Error parsing svn output: undefined method `name' for nil:NilClass Output was: Rendering template within layouts/base Rendering common/error (404) [4;36;1mSetting Load (0.4ms)[0m [0;1mSELECT * FROM `settings` WHERE (`settings`.`name` = 'app_title') LIMIT 1[0m [4;35;1mSetting Load (0.3ms)[0m [0mSELECT * FROM `settings` WHERE (`settings`.`name` = 'ui_theme') LIMIT 1[0m [4;36;1mSetting Load (0.3ms)[0m [0;1mSELECT * FROM `settings` WHERE (`settings`.`name` = 'text_formatting') LIMIT 1[0m [4;35;1mProject Load (0.3ms)[0m [0mSELECT `projects`.* FROM `projects` INNER JOIN `members` ON `projects`.id = `members`.project_id WHERE ((`members`.user_id = 254882) AND ((projects.status=1))) [0m [4;36;1mProject Load (0.3ms)[0m [0;1mSELECT * FROM `projects` WHERE (projects.`lft` <= 19 AND projects.`rgt` >= 30) ORDER BY `lft` LIMIT 1[0m [4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM `projects` WHERE (projects.`lft` <= 19 AND projects.`rgt` >= 30) ORDER BY `lft` LIMIT 1[0m [4;36;1mVersion Columns (0.3ms)[0m [0;1mSHOW FIELDS FROM `versions`[0m [4;35;1mSQL (0.3ms)[0m [0mSELECT count(DISTINCT `versions`.id) AS count_all FROM `versions` LEFT OUTER JOIN `projects` ON `projects`.id = `versions`.project_id WHERE (projects.id = 84 OR (projects.status = 1 AND ( versions.sharing = 'system' OR (projects.lft >= 19 AND projects.rgt <= 30 AND versions.sharing = 'tree') OR (projects.lft < 19 AND projects.rgt > 30 AND versions.sharing IN ('hierarchy', 'descendants')) OR (projects.lft > 19 AND projects.rgt < 30 AND versions.sharing = 'hierarchy')))) [0m [4;36;1mWiki Load (0.3ms)[0m [0;1mSELECT * FROM `wikis` WHERE (`wikis`.project_id = 84) LIMIT 1[0m [4;35;1mBoard Columns (0.4ms)[0m [0mSHOW FIELDS FROM `boards`[0m [4;36;1mSQL (0.3ms)[0m [0;1mSELECT count(*) AS count_all FROM `boards` WHERE (`boards`.project_id = 84) [0m Completed in 138ms (View: 30, DB: 7) | 404 Not Found [http://redmine.svn.com/projects/castor3d/repository]
Thanks!
Replies (8)
RE: "The entry or revision was not found in the repository." error message - Added by Muntek Singh at 2011-05-11 03:07 pm
You are getting a 404 when CP tries to grab your svn from where you have it set - http://redmine.svn.com/projects/castor3d/repository http://svn.com/projets/Castor3D
Check the repository settings so that the path/url is correct.
RE: "The entry or revision was not found in the repository." error message - Added by Thibaut Cuvelier at 2011-05-11 03:11 pm
Well, the same URL does work with 1.1 but not with 1.2 and 1.3... I can access it through my browser, and on the server with a svn co
, I'm afraid this is not the origin of the problem...
RE: "The entry or revision was not found in the repository." error message - Added by Thibaut Cuvelier at 2011-05-17 03:07 pm
Just retried to reinstall completely ChiliProject (completely meaning that the only thing shared with the current installation is the server and the folder Apache is pointing to, new database - well, I used SQLite this time, not MySQL, that should not be too much... -, new Git export, no plugin), created a new project, copy-pasting an SVN URL in it, that did the trick... So the SVN executable is not to blame. Comparing the two repositories
tables from each installation, they were exactly the same (I hope I would have got another error if the column did not exist; I was checking if the repo's column have not been changed between 1.1 and 1.2 and the migration did not play its role by renaming it, just creating a new empty column).
I tried to launch the script/about
, but it just outputs errors (script/about RAILS_ENV=production
):
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:589:in `real_connect': Access denied for user 'test_user'@'localhost' (using password: NO) (Mysql::Error)
What can I do?
RE: "The entry or revision was not found in the repository." error message - Added by Muntek Singh at 2011-05-18 12:18 am
This error is saying that the production environment is trying to connect to a mysql database and is unable to do so with the test_user credentials provided in the database configuration. Are you actually using sqlite or mysql? You need to adjust your configuration accordingly.
RE: "The entry or revision was not found in the repository." error message - Added by Thibaut Cuvelier at 2011-05-18 12:26 pm
In the newer installation, I'm using SQLite, and I don't experience the problem with this installation; on the current one, I'm using MySQL; the thing I just cannot understand is: why is CP working with the same configuration, why can I update my database in the very production
environment, where as about
outputs errors with the production
environment... I'm using the same shell syntax for both calls from the same shell, what can go wrong?
RE: "The entry or revision was not found in the repository." error message - Added by Thibaut Cuvelier at 2011-05-28 08:05 pm
Too bad, I switched back to Redmine 1.1.3, everything working properly.
RE: "The entry or revision was not found in the repository." error message - Added by Thibaut Cuvelier at 2011-07-25 08:31 am
Just after trying to migrate to CP 2.0 following the guide https://www.chiliproject.org/projects/chiliproject/wiki/Upgrade with a Git installation, I still get the same problem. Is there anywhere I could get any bit of help?
RE: "The entry or revision was not found in the repository." error message - Added by Felix Schäfer at 2011-08-20 10:32 pm
Thibaut, was the error you have on CP 2.0 the one related to the DB or the one related to the repo? Was that on a clean install or an upgrade?
(1-8/8)