简体   繁体   English

Linux SVN 服务器的问题

[英]Problems with Linux SVN server

I have an SVN server running in my Redmine server.我有一个 SVN 服务器在我的 Redmine 服务器中运行。 I have run the following to make sure I am up-to-date:我已经运行以下以确保我是最新的:

apt-get update
apt-get upgrade

I am able to connect, update, commit, etc but I am having problems getting history/log from my svn server from either TortoiseSVN or a linux svn client.我能够连接、更新、提交等,但是我在从 TortoiseSVN 或 linux svn 客户端从我的 svn 服务器获取历史记录/日志时遇到问题。

My SVN Server (running on Debian) version is:我的 SVN 服务器(在 Debian 上运行)版本是:

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

Copyright (C) 2000-2009 CollabNet.

My TortoiseSVN Client (running on Windows 10) is:我的 TortoiseSVN 客户端(在 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

My Linux svn client (running on Ubuntu) is:我的 Linux svn 客户端(在 Ubuntu 上运行)是:

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

TortoiseSVN gives me this error: 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 gives me this error: Linux 给了我这个错误:

svn: E220001: Item is not readable

Here is my svn log (I did not see any errors):这是我的 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

Any suggestions would be most welcome!任何建议将是最受欢迎的!

Found the problem... in the /srv/repos/svn/[repo name]/conf/authz file I found this:发现问题...在/srv/repos/svn/[repo name]/conf/authz文件中我发现了这个:

[/] my_username = rw

it should read: [/] my_username = r它应该是: [/] my_username = r

I had a same issue with my subversion setup, after lot of search I got a solutions as below我的颠覆设置遇到了同样的问题,经过大量搜索,我得到了如下解决方案

Solution 1解决方案1

You need to add below lines in authz file.您需要在 authz 文件中添加以下几行。

[/]
* = r

Solution 2解决方案2

Make sure you have below lines in your svnserve.conf确保您的 svnserve.conf 中有以下几行

anon-access = none
auth-access = write

I Hope it will solve your issues, Best Luck !我希望它能解决你的问题,祝你好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当svn服务器在linux机器上时,乌龟svn的注释限制为空白? - Blank comment constraint on tortoise svn,when the svn server is on linux machine? Windows SVN服务器和Linux SVN客户端-有风险吗? - Windows SVN server and Linux SVN clients - any risk? 半专用服务器(Linux)上的SVN设置 - SVN setup on semi-dedicated server (Linux) Neo4j Server在Linux上运行问题 - Neo4j Server running problems on Linux 詹金斯给SCP从SVN到Linux服务器的几个文件夹和文件? - Jenkins to SCP a few folders and files from SVN to linux server? 在Linux上设置SVN / LAMP / Test Server /,从哪里开始? - Setup SVN/LAMP/Test Server/ on linux, where to start? 从linux svn客户端访问visualSVN服务器时认证失败 - Authentication Failure when accessing visualSVN server from linux svn client 是否有用于 Linux 服务器的 SVN 存储库管理的 GUI 工具? - Is there any GUI tool for SVN repository Administration for Linux server? 如何在 linux 服务器上存档 Apache SVN 的旧修订 - How to archive old revisions from Apache SVN on linux server Linux和SVN:在进行svn更新后,需要一个shelll脚本将更新的文件传输到测试服务器 - Linux and SVN: Need a shelll script to transfer updated files to test server after making an svn update
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM