Anonymous | Login | Signup for a new account | 2012-09-13 19:33 PDT |
Main | Blog | My View | View Issues | Change Log | Roadmap | IRC Chat | Repositories | Scrum Board |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
213 | Source Integration | WebSVN | public | 2011-08-11 05:02 | 2011-09-01 07:16 | ||||||
Reporter | Gareth | ||||||||||
Assigned To | John Reese | ||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||
Status | feedback | Resolution | open | ||||||||
Product Version | |||||||||||
Target Version | Fixed in Version | ||||||||||
Summary | 213: Mantis Subversion plugin fails | ||||||||||
Description | I'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 installation. I can access the subversion repository remotely and login and see the folder structures. 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? | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
![]() |
|
Gareth (reporter) 2011-08-11 06:26 edited on: 2011-08-11 06:52 |
I've managed to trace it to this: APPLICATION ERROR #0 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\XXXXXXXX.com\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\XXXXXXXX.com\plugins\SourceSVN\SourceSVN.php 254 - - trigger_error ( <string>'0', <integer>256 ) C:\inetpub\wwwroot\XXXXXXXX.com\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? |
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? |
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 http://noswap.com/blog/source-integration-triage/ [^] If none of the above helps, then I'm not sure how to proceed. Let me know if you can figure out the cause. |
![]() |
|||
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 |