Changes between Version 8 and Version 9 of Doc/SCDB/FAQ
- Timestamp:
- Dec 3, 2009, 3:05:57 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/SCDB/FAQ
v8 v9 31 31 == Deploy failure == 32 32 33 === Failed to switch SVN cache to new tag: url1 is not the same repository as url2 === 34 35 This error means you have an existing working copy of your Quattor repository on the Quattor deployment server that was checked out from a repository different from the one defined in `/etc/quattor-deploy.conf` (option `repository_url` in `[scdb]` section). A common mistake is to use `http` in one case and `https` in the other one which leads SVN to consider they are different repositories. 36 37 Depending on the URL you really want to use, either fix the configuration file or remove the existing working copy. If removing the working copy, be sure to remove the directory, not only its contents (as you may leave some hidden directories). 38 39 The location of the working copy is defined in `/etc/quattor-deploy.conf` (`svn_cache` option in `[build-tag]` section). If not defined, the default location is `svncache` directory in the parent directory of `build-tag.py` location (`/root/quattor/svncache` by default). 40 33 41 === Unable to get information on tags branch === 34 42 35 If you get this error at the beginning of the deploy phase when executing `ant deploy` , this means you don't have valid cached credentials to access the `tags` branch in your configuration database that can be used by `svnkit`, the SVN client used by `ant`. To fix the problem, try to write to `tags` branch using `jsvn` utility provided in `external/svnkit`. You can use the following commands as an example, changing the URLs to match your configuration database:43 If you get this error at the beginning of the deploy phase when executing `ant deploy` and you have not consistency problem between the SVN client version you use and the one embedded in `ant tools`( `external/svnkit`), this means you don't have valid cached credentials to access the `tags` branch in your configuration database that can be used by `svnkit`, the SVN client used by `ant`. To fix the problem, try to write to `tags` branch using `jsvn` utility provided in `external/svnkit`. You can use the following commands as an example, changing the URLs to match your configuration database: 36 44 {{{ 37 45 external/svnkit/jsvn cp htpp://quattorsrv.example.org/quattor/trunk htpp://quattorsrv.example.org/quattor/tags/test -m 'Deploy test' … … 44 52 external/svnkit/jsvn rm htpp://quattorsrv.example.org/quattor/tags/test -m 'Remove test' 45 53 }}} 54 46 55 47 56 == AII Issues ==