Update11.py requires some database groups to already exist. So, move the mention of those groups ahead of the line that updates the database schema.
Signed-off-by: Allan Lyons <Allan_Lyons@wycliffe.ca>
which are needed for this. After changing all occurences of "projectb"
to the name of your database (as defined in DB::Name) you can run:
psql <DB::Name> < init_pool.sql
+ * Create the following groups in postgres: ftpmaster ftpteam ftptrainee
* Run 'dak update-db' to upgrade the database schema.
* Run 'dak init-db': it will populate your database with the values from
dak.conf and apt.conf.
* Run 'psql <DB::Name> < add_constraints.sql'.
o Copy all templates from the "templates" directory to to the directory
specified in Dir::Templates, and adapt them to your distribution.
-o Create an 'ftpmaster' group in postgres.