April 2009 Blog Posts

I’ve been working this afternoon to get replication to a remote server going for my various repositories. Thanks to Ross Hawkins, I got the basics working.

But when trying to use the recommended post-commit hook, the VisualSVN client was throwing the following error:

svnsync: OPTIONS of 'https://xxx/svn/TentacleSoftware': Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted (https://xxxx)

Obviously, we’re using the default VisualSVN self-signed certificates here (buy real certs, kids). I was able to run the post-commit command on the server manually, and was prompted to accept the certificate, but the VisualSVN client still threw the same error.

The problem is that the VisualSVN Server service is running as Local System, not the user I was logged in as, and the Subversion authentication cache is per-user.

The quick and dirty solution is provided by ThreeNine:

If you are able access the server directly i.e. directly at the console. You can try and create an interactive service that just runs a CMD.exe in order to do this follow these following steps

  1. Start a DOS console session
  2. Get the Local Time ( Use the TIME shell Command)
  3. Make a note of this time and add 1 minute to it
  4. Run the AT command with the new time
  5. Wait for one minute for the command window to appear

Once the new console window opens you can launch svn up or another command which permits you to save an SSL certificate.

The command prompt is running as Local System, so the accepted certificate is cached by the same account that’s running VisualSVN Server. Just remember to connect to the console (that’s mstsc –admin, or mstsc –console if you’re using pre-SP3 Windows XP).

Timothy Daleo of UsingWindowsHomeServer.com has posted a nifty walk-through of installing WHS Disk Management and configuring a wireframe from scratch.

I am very happy with this Add-In. It has some good information about the drives and a cool Wireframe creation tool. You cannot tell from the amount of screen shots I had to take but the Wireframe is pretty easy to set up. I would like to see future revisions offer some different options for the external drives we all use and maybe even some additional name labels. Again though, overall this is a good Add-In and I am glad that I installed it in my Windows Home Server.

Thanks Timothy!

Dave from The Home Server Show posted a great walk-through of upgrading the storage capacity of his very full HP MediaSmart server.

My parting thought is that you should think about swapping in larger drives before your other drives get full in order to make the swap as easy as possible.  If you don’t, you might be looking at some cleanup or possibly adding some temporary USB drives to help facilitate the swap.  I know what you’re thinking.  Use the Disk Balancer utility to balance up those drives.  Don’t think I haven’t thought about it but I’m willing to let Windows Home Server perform as designed for the time being.

If you have encountered such a situation I am interested to hear what your methods were.

Lastly, this article was partly made possible by the fantastic Add-In, Windows Home Server Disk Management, by Sam Wood.  Thanks for a great Add-In Sam.

Glad to hear we could help, Dave, and thanks for the plug!

Search

Site Sections

Recent Posts

Archives

Post Categories

WHS Add-In Tutorial

WHS Blogs

WHS Development