Notice: this is a static mirror for historical purposes.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
213Source IntegrationWebSVNpublic2011-08-11 05:022011-09-01 07:16
Assigned ToJohn Reese 
PrioritynormalSeverityminorReproducibilityhave not tried
Product Version 
Target VersionFixed in Version 
Summary213: Mantis Subversion plugin fails
DescriptionI've been trying to get this working on and off for a while but to no avail.

I have a subversion repository running on the same machine as my mantis

I can access the subversion repository remotely and login and see the folder

I have WebSVN working correctly on the server too and I can browse the repository with no problems.

I have the following plugins installed:
Meta Programming 0.1
Source Control Integration 0.16.3
Subversion Integration 0.16
Subversion/WebSVN Integration 0.16

I can see the repositories menu item and I have set-up a repository as per my
attached image.

I have verified that the URL and the user/password combination work okay.

On clicking the import latest data button the server simply times-out. No matter
how many times I repeat this nothing ever happens. The changeset/files/issues
don't update.

How can I find out what the problem is?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (304)
Gareth (reporter)
2011-08-11 06:26
edited on: 2011-08-11 06:52

I've managed to trace it to this:

An error occurred during this action. You may wish to report this error to your local administrator.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Full path: C:\inetpub\wwwroot\\plugins\SourceSVN\SourceSVN.php
Line: 254
Variable Value Type
svn start /B /D "c:\program files\visualsvn server\bin" svn.exe string
Filename Line Function Args
C:\inetpub\wwwroot\\plugins\SourceSVN\SourceSVN.php 254 - - trigger_error ( <string>'0', <integer>256 )
C:\inetpub\wwwroot\\plugins\SourceSVN\SourceSVN.php 210 SourceSVNPlugin -> check_svn -

This occurs after clicking Import Latest Data. I've ensured that the user account has permissions to read /execute from that dir. The START command with the parameters listed above all works fine.
svn help returns the correct information too.

Any ideas?

User avatar (305)
Gareth (reporter)
2011-08-14 07:15

I have configured the system to use the Windows START method to execute SVN. If I run the above command manually in a DOS prompt on my Windows 2008 Server it works fine.

I assume that trying to do this from a webpage on a server is a security risk and hence why it is failing. Any ideas how to resolve this?
User avatar (306)
John Reese (administrator)
2011-09-01 07:16

Sorry for the late reply. Your PHP configuration may disable the option to execute shell commands. This would be configured in your php.ini, and must be enabled for the SVN command to execute properly. Also, if your SVN server is using HTTPS, especially with a self-signed or expired certificate, then it may be failing on that as it runs with the web server's account credentials rather than a normal user. Other potential issues are discussed in my post at [^]

If none of the above helps, then I'm not sure how to proceed. Let me know if you can figure out the cause.

- Issue History
Date Modified Username Field Change
2011-08-11 05:02 Gareth New Issue
2011-08-11 06:26 Gareth Note Added: 304
2011-08-11 06:28 Gareth Note Edited: 304 View Revisions
2011-08-11 06:52 Gareth Note Edited: 304 View Revisions
2011-08-14 07:15 Gareth Note Added: 305
2011-09-01 07:16 John Reese Note Added: 306
2011-09-01 07:16 John Reese Assigned To => John Reese
2011-09-01 07:16 John Reese Status new => feedback

Copyright © 2000 - 2012 MantisBT Group
Time: 0.1354 seconds.
memory usage: 8,359 KB
Powered by Mantis Bugtracker

hosted with