Project

General

Profile

Could not open the repository

Added by ram kapil over 12 years ago

I am getting the following error
Error : 404
The entry or revision was not found in the repository.

Yesterday i was able to access the repository but when i restarted my pc and started the redmine again

First , there was an internal error 500 that it could not access the repository as the scm command is not available .
In the configuration.yml the scm_subversion_command was like
scm_subversion_command: "C:\Program Files\BitNami Redmine Stack\subversion\bin\svnserve.exe"

Then i changed it to without quotes as stated by some redmine user about the same problem he got.
scm_subversion_command: C:\Program Files\BitNami Redmine Stack\subversion\bin\svnserve.exe
I closed RedMine.
I stopped the BitNami RedMine Stack Service.

After that i started the BitNami RedMine Stack Services again and started the Redmine.
The Internal 500 error got resolved , and when i tried to access the repository after giving all the path details , now it is saying Internal 404 error .

I checked the production.log file which showed that
Processing RepositoriesController#show (for xx.xx.x.xx at 2011-10-31 13:05:18) [GET]
Parameters: {"action"=>"show", "id"=>"rhomobile", "controller"=>"repositories"}
Error parsing svn output: undefined method `name' for nil:NilClass
Output was:

I checked the net for the respective error in which they asked me to change the path of the SVN_BIN in subversion_adapter.rb path in C:\Program Files\BitNami Redmine Stack\apps\redmine\lib\redmine\scm\adapters

So I changed # SVN executable name
SVN_BIN = Redmine::Configuration['scm_subversion_command'] || "svn"
to # SVN executable name
SVN_BIN = Redmine::Configuration['scm_subversion_command'] || "svn --config-dir /Program Files/BitNami Redmine Stack/subversion/bin/svnserve.exe"

I am getting the same error again ..
I am using Tortoise SVN 1.7.1 ...
I installed Bitnami Redmine Installer which installs all the subversion, apache 2,mysql , ruby etc ....
Tortoise SVN does not have any svnserve.exe file and i am using svnserve.exe from the subversion installed by BitNami Redmine Installer ...

I am new to Redmine ...
Please help me solve this problem ....
I will post if any other details are required ..