Skip to content

Commit

Permalink
Clarify that the upgrade process does not edit the master.cfg for you
Browse files Browse the repository at this point in the history
and so need to add the db_url in manually.
  • Loading branch information
gmcdonald committed Apr 2, 2011
1 parent 81ba210 commit 913dbe0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions master/docs/installation.texinfo
Expand Up @@ -374,6 +374,19 @@ database with the changes the buildmaster has seen. Note that, as of this
release, build history is @i{not} contained in the database, and is thus not
migrated.

You will need to add an entry into your @file{master.cfg} to reflect the
database version you are using. The upgrade process does @i{not} edit your
@file{master.cfg} for you. So something like:

@example
# for the default sqlite you need:
c['db_url'] = "sqlite:///state.sqlite"
# or for using mysql:
c['db_url'] = 'mysql://bbuser:<password>@localhost/buildbot'
@end example

See @pxref{Database Specification} for more options.

The upgrade process renames the Changes pickle (@code{$basedir/changes.pck}) to
@code{changes.pck.old} once the upgrade is complete. To reverse the upgrade,
simply downgrade Buildbot and move this file back to its original name. You
Expand Down

0 comments on commit 913dbe0

Please sign in to comment.