redmine connect to svn has a question

Added by d fflyy over 8 years ago

please see the pic

How to solve this error?

redmine 1.1.0

TortoiseSVN 1.6.12

2.jpg (22.5 KB)

Replies (29)

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

The problem is not a ssl connection? i am used https connected to svn.

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

SVNserver is VisualSvn....

RE: redmine connect to svn has a question - Added by Etienne Massip over 8 years ago

You should have a look to your production.log file contents.

If you have some troubleshooting configuring your SCM, you can look at RedmineRepositories too.

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

this is log file prints

<lists>
<list
path="http://hp-9666c0f9d9c4:8443/svn/CMMI">
Rendering template within layouts/base
Rendering common/error (500)
Completed in 766ms (View: 32, DB: 0) | 500 Internal Server Error [http://192.168.1.222/projects/htyt/repository]

...How to solve?This is no difference between the Subversion with visualsvn?

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

... i can't find it of this error is faq

This step said ;%GIT_PATH%\cmd;%GIT_PATH%\bin
but i not install the git...is not must be install?

i think this question about https connect .but i don't know hao to solve....
who met it?please tell me....

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

E:\InstantRails\rails_apps>gem lis

  • LOCAL GEMS ***

actionmailer (2.3.5, 2.0.2)
actionpack (2.3.5, 2.0.2)
activerecord (2.3.5, 2.0.2)
activeresource (2.3.5, 2.0.2)
activesupport (2.3.5, 2.0.2)
capistrano (2.1.0)
cgi_multipart_eof_fix (2.5.0)
cmdparse (2.0.2)
fxri (0.3.6)
fxruby (1.6.12 mswin32)
gem_plugin (0.2.3)
highline (1.4.0)
hpricot (0.6 mswin32)
i18n (0.4.2)
log4r (1.0.5)
mongrel (1.1.5 x86-mswin32-60, 1.1
mysql (2.7.3 mswin32)
needle (1.3.0)
net-sftp (1.1.0)
net-ssh (1.1.2)
rack (1.2.1, 1.0.1, 1.0.0)
rails (2.3.5, 2.0.2)
rake (0.8.7, 0.8.1, 0.8.0, 0.7.3)
rubygems-update (1.3.7, 1.0.1)
sources (0.0.1)
sqlite3-ruby (1.2.1 mswin32)
win32-api (1.0.4 mswin32)
win32-clipboard (0.4.3)
win32-dir (0.3.2)
win32-eventlog (0.4.6)
win32-file (0.5.4)
win32-file-stat (1.2.7)
win32-process (0.5.3)
win32-sapi (0.1.4)
win32-sound (0.4.1)
windows-api (0.2.0)
windows-pr (0.7.2)

E:\InstantRails\rails_apps>

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

i find

http://www.redmine.org/projects/redmine/wiki/FAQ#I-cant-browse-my-svn-repository-through-redmine

If you're accessing the repository over HTTPS:

svn --config-dir ./svn/.subversion co https://svn.mydomain.com/project/trunk delete-me

after input,print follow for infomation....
...
A CMMI\MeetLog
A CMMI\MeetLog\CMMI会议20110125.tif
A CMMI\MeetLog\CMMI会议20110126.tif
A CMMI\MeetLog\CMMI会议20110127.tif
A CMMI\MeetLog\CMMI会议20110120.tif

Checked out revision 82.

and....changed

--no-auth-cache --non-interactive
to
--trust-server-cert --no-auth-cache --non-interactive

but still don't find a version repository in the redmine ,,,why?I'm going crazy

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

Rendering template within layouts/base
Rendering common/error (500)
Completed in 656ms (View: 31, DB: 0) | 500 Internal Server Error [http://192.168.1.222/projects/htyt/repository]

the above is redmine log...
i found this web url http://192.168.1.222/projects/htyt/repository is not correct.
The right should be https://hp-9666c0f9d9c4:8443/svn/CMMI or https://192.168.1.22:8443/svn/CMMI

Is this reason?

RE: redmine connect to svn has a question - Added by Etienne Massip over 8 years ago

http://192.168.1.222/projects/htyt/repository is the path of the page which fail to be rendered (the "Repository tab" of the htyt project).

Did you set a username/password pair with you repo path in project settings ?

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

But this is not the address of the project...it's http://hp-9666c0f9d9c4:8443/svn/CMMI

where is set user and pass?
is not path of the svn Repositories/CMMI/conf/passwd ?

i has been set up....

The following information comes from svnserve.conf
[general]
  1. These options control access to the repository for unauthenticated
  2. and authenticated users. Valid values are "write", "read",
  3. and "none". The sample settings below are the defaults.
    anon-access = read
  1. auth-access = write
    1. The password-db option controls the location of the password
    2. database file. Unless you specify a path starting with a /,
    3. the file's location is relative to the directory containing
    4. this configuration file.
    5. If SASL is enabled (see below), this file will NOT be used.
    6. Uncomment the line below to use the default password file.
  2. password-db = passwd
    1. The authz-db option controls the location of the authorization
    2. rules for path-based access control. Unless you specify a path
    3. starting with a /, the file's location is relative to the the
    4. directory containing this file. If you don't specify an
    5. authz-db, no path-based access control is done.
    6. Uncomment the line below to use the default authorization file.
  3. authz-db = authz
    1. This option specifies the authentication realm of the repository.
    2. If two repositories have the same authentication realm, they should
    3. have the same password database, and vice versa. The default realm
    4. is repository's uuid.
  4. realm = My First Repository

RE: redmine connect to svn has a question - Added by Etienne Massip over 8 years ago

d fflyy wrote:

But this is not the address of the project...it's http://hp-9666c0f9d9c4:8443/svn/CMMI

where is set user and pass?

In you project "Settings" tab, "Repository" subtab.

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

o,,,i have set...
user and pass are correct...

There are other reasons for this error did not?

RE: redmine connect to svn has a question - Added by Toshi MARUYAMA over 8 years ago

d fflyy wrote:

... i can't find it of this error is faq

This step said ;%GIT_PATH%cmd;%GIT_PATH%in
but i not install the git...is not must be install?

i think this question about https connect .but i don't know hao to solve....
who met it?please tell me....

Check "svn.exe" is in your PATH.

RE: redmine connect to svn has a question - Added by Etienne Massip over 8 years ago

I thought that it was running on a *nix environment but you're right, this may not be the case.

RE: redmine connect to svn has a question - Added by Toshi MARUYAMA over 8 years ago

He uses Windows.

E:\InstantRails\rails_apps>gem lis

TortoiseSVN does not have svn.exe.
I don't know visualsvn.

RE: redmine connect to svn has a question - Added by Etienne Massip over 8 years ago

Nice, that should be the reason. Don't you plan to add some information in the administration panel about available SCM commands ?

RE: redmine connect to svn has a question - Added by Etienne Massip over 8 years ago

Yes, this is going to be of a great help !

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

o no ,i am sleep ,you are online... We are not the same as the time zone..
running to the windows 2003 x86....
let me see. thanks for everyone

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

to Toshi MARUYAMA

environment variable path of the bin/svn.exe in my system

RE: redmine connect to svn has a question - Added by Toshi MARUYAMA over 8 years ago

Windows has system and user environment variable.
What user runs redmine on Windows?

RE: redmine connect to svn has a question - Added by d fflyy over 8 years ago

admin user. i set is system environment.

RE: redmine connect to svn has a question - Added by Etienne Massip over 8 years ago

If I remember well, if you are running your server it from a service, your PATH env var change will not be taken into account until you reboot your system (not sure for win2003).

Try running redMine from command line to check if this is a environment variable issue (ruby scripts/server -e production -p <port> from your redmine dir)

1 2 (1-25/29)