After a new installation, when starting the ContinuaCI Application I get this error in the event log:
Error loading module BuildsModule : The local folder for the server's data share path cannot be found.
The current Continua.Builds.DataSharePath setting is 'C:\Continua CM'. This could be because the account that the Service is running under does not have permissions to run Windows Management Instrumentation queries. You can also specifiy this local path is the Server app.config file as in the following example:
I have changed the share path to various existing folders by modifying the "Continua.Server.Service.exe.config" file, all with the same result. The Account has WMI perms.
Vincent, the rest of the error message I described is: You can also specifiy this local path is the Server app.config file as in the following example:
If I am changing values in Continua.Server.Service.exe.config, am I changing the wrong file? Also, the value in the error message suggests a local path is applicable. Is this not true?
The share folder needs to be on the same machine as the server, however the path specified must be the unc path to it, or the network share path. This path is used by remote agents to access the workspaces and repository cache’s. We’re looking at the error reporting around that area to make the error messages clearer.
So on our server, we have a folder c:\ContunuaShare, and we share this folder :
net share ContinuaShare=c:\ContinuaShare
When running the installer, we select the ContinuaShare
This actually writes the Continua.Builds.DataSharePath value as “\ServerName\ContinuaShare”
If you see errors on startup that say it cannot get the LocalSharePath, this suggests that the server cannot resolve the DataSharePath to a local path (ie it cannot convert \servername\sharename to drive:\folder ) - this usually means the service user does not have the correct permissions to either access wmi (which is how we get the local path) or it does not have access to the share folder (needs full access).
We will hopefully have this more clearly documented later today, I’ll post here with a link to the doco page when it’s done.
Vencent, Dave, thanks again for your help with this. As recommended on the Wiki, I reran the installer. While I got an error at the end of the installation (could not find share), the service restarted without error and I am able to create a project.