Linux SVN服务器问题

问题描述 投票:0回答:2

我的Redmine服务器中正在运行SVN服务器。我运行以下命令以确保我是最新的:

apt-get update
apt-get upgrade

我能够连接,更新,提交等,但是在从TortoiseSVN或Linux svn客户端从svn服务器获取历史记录/日志时遇到问题。

我的SVN服务器(在Debian上运行)的版本是:

svnserv, version 1.6.17 (r1128011)
   compiled Aug 10 2015, 05:02:48

Copyright (C) 2000-2009 CollabNet.

我的T​​ortoiseSVN客户端(在Windows 10上运行)是:

TortoiseSVN 1.9.1, Build 26747 - 64 Bit , 2015/08/31 20:16:00
Subversion 1.9.1, -release
apr 1.5.2
apr-util 1.5.4
serf 1.3.8
OpenSSL 1.0.2d 9 Jul 2015
zlib 1.2.8
SQLite 3.8.11.1

我的Linux svn客户端(在Ubuntu上运行)是:

svn, version 1.8.8 (r1568071)
   compiled Aug 20 2015, 12:51:30 on x86_64-pc-linux-gnu

TortoiseSVN给我这个错误:

There has been a problem contacting the server.
Do you want to see the cached data instead?

Please understand that the cached data may be outdated,
incomplete or even misleading due to the incomplete history data.

Linux给我这个错误:

svn: E220001: Item is not readable

这是我的svn日志(我没有看到任何错误):

7397 2015-09-13T19:26:46.156052Z 192.168.1.1 - thompco open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /garageMonitor/scripts/update.sh SVN/1.8.8%20(x86_64-pc-linux-gnu) -
7397 2015-09-13T19:26:46.174812Z 192.168.1.1 - thompco reparent /garageMonitor/scripts/update.sh
7397 2015-09-13T19:26:46.187860Z 192.168.1.1 - thompco log (/garageMonitor/scripts/update.sh) r61:0 revprops=(svn:author svn:date svn:log)
7398 2015-09-13T19:27:12.196359Z 192.168.1.1 - thompco open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /garageMonitor/scripts/update.sh SVN/1.9.1%20(x64-microsoft-windows) TortoiseSVN-1.9.1.26747
7398 2015-09-13T19:27:12.224528Z 192.168.1.1 - thompco get-latest-rev
7399 2015-09-13T19:27:12.236982Z 192.168.1.1 - thompco open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /garageMonitor/scripts/update.sh SVN/1.9.1%20(x64-microsoft-windows) TortoiseSVN-1.9.1.26747
7399 2015-09-13T19:27:12.240851Z 192.168.1.1 - thompco reparent /garageMonitor/scripts/update.sh
7399 2015-09-13T19:27:12.243852Z 192.168.1.1 - thompco log (/garageMonitor/scripts/update.sh) r61:0 limit=100 discover-changed-paths revprops=(svn:log svn:date svn:author)
7400 2015-09-13T19:27:13.498247Z 192.168.1.1 - thompco open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) /garageMonitor/scripts/update.sh SVN/1.9.1%20(x64-microsoft-windows) TortoiseSVN-1.9.1.26747
7400 2015-09-13T19:27:13.505382Z 192.168.1.1 - thompco reparent /garageMonitor/scripts/update.sh
7400 2015-09-13T19:27:13.518023Z 192.168.1.1 jordan thompco stat /garageMonitor/scripts/update.sh@61

任何建议都将受到欢迎!

linux svn tortoisesvn
2个回答
0
投票

发现了问题...在里面/srv/repos/svn/[repo name]/conf/authz文件我找到了:

[/] my_username = rw

它应显示为:[/] my_username = r


0
投票

我的Subversion设置存在相同的问题,经过大量搜索,我得到了以下解决方案

解决方案1

您需要在authz文件中添加以下行。

[/]
* = r

解决方案2

确保您的svnserve.conf中包含以下行

anon-access = none
auth-access = write

我希望它能解决您的问题,祝您好运!

© www.soinside.com 2019 - 2024. All rights reserved.