
The Go server maintains an embedded database that stores historical data for all your pipeline, stage and job runs. Rather than backing up the entire Go directory structure, its much more convinient to just backup the embeded DB. This article shows you how to backup your data in Linux.

Cruise did not ship a tool to generate password with SHA1 for users. However, there are lots of tools does.

I have installed an agent on a virtual machine, and it worked fine with Cruise server.
However when I clone the VM image, both of the agents get confused, and a job can be building on both agents at the same time.

You may see this error message if you have a corrupt index file.
"File ID mismatch got=0 expected=454 pos=10057 false org.h2.store.DiskFile:C:\Program Files\Cruise"
put the 3rd party library files on a shared folder, let's say \\lib-server\libraries, and map \\lib-server as z: drive, so we can access z:\libraries for library files
and my ant is using the classpath z:\libraries to build the project, it works fine when I run it in command line, but failed when running in Cruise.
the output showing error message:
[javac] xxx\xxx\xxx\TestImpl.java:2: package oracle.jbo.server does not exist
[javac] import oracle.jbo.server.EntityImpl;
[javac] ^

When I try to run my scripts on unix using the exec task it fails with the error "Make sure this command can execute manually" even though the script is there and is executable.
Normally if you run Cruise Agent on Mac by double clicking the application, it doesn't inherit environment variables from /etc/profile, ~/.profile etc. You need to use the ~/.MacOSX/environment.plist to specify environment variables.
For example, if you want to specify ANT_OPTS environment variable for using Ant in Cruise Agent, the content of environment.plist may look like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANT_OPTS</key>
<string>-Xmx2048m</string>
</dict>
</plist>
And if you change the environment.plist please make sure you logout and login again to make it take effect.
More information can be found here: http://developer.apple.com/qa/qa2001/qa1067.html
The original bug is http://community.thoughtworks.com/posts/5724dc11b1,
The problem is when anti-virus application installed on agent side, the agent always think it's a new agent, so need to approve it again. it's a bug in the current release, and we'll fix it in next release.
Cruise shows the following error message when I Cruise server on Mac:
7/13/09 11:26:48 AM [0x0-0xa31a31].com.thoughtworks.studios.cruise.server[53595] SEVERE: Exception while executing command: [/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java, -Xms512m, -Xmx1024m, -XX:PermSize=128m, -Dignored=true, -Duser.language=en, -Duser.country=US, -Dcruise.database.port=9153, -Dcruise.config.file=/Library/Application Support/Cruise Server/cruise-config.xml, -Dcruise.config.dir=/Library/Application Support/Cruise Server/, -Dcruise.hsql.prop=/Library/Application Support/Cruise Server/db/h2db, -Dcruise.server.port=8153, -Dcruise.server.ssl.port=8154, -jar, /Users/weixu/Downloads/Cruise Server.app/cruise.jar] - java.io.IOException: Cannot run program "/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java" (in directory "/Library/Application Support/Cruise Server"): error=2, No such file or directory
The associated bug is http://twstudios.zendesk.com/tickets/1059
