On Fri, Apr 20, 2007 at 04:59:33PM -0700, Ross Boylan wrote: > On Fri, Apr 20, 2007 at 06:51:18PM -0500, John Goerzen wrote: > > On Fri, Apr 20, 2007 at 04:07:14PM -0700, Ross Boylan wrote: > > > All of this is reminding me of why I held off on the upgrade. Is it > > > to late for me to downgrade back to the version I was using? > > > > If the database did not get successfully upgraded, and the configuration > > is unmodified, it should work OK to do so. > > Is there an easy way to check if these things have happened. > By "configuration" do you mean the /etc/ files, or something else? > > > > > That path, however, is untested. > > > > -- John > > I guess I better start looking at the Debian installation scripts... > Nothing happened at the SQL level. For example, the version table is still at 9, and there was no success (or failure) message in the log. The use of the psql 8.1 client is hard-coded into the scripts; however, if I run it on the command line it connects to the default port, and gets the 7.4 server (which has the tables).
I'm not sure why it didn't run. It might have been the earlier error that stopped it, or it might have been that my first configuration parameter below superseded the second (from /etc/dbconfig-common/bacula-director-pgsql.conf): of # dbc_install: configure database with dbconfig-common? # set to anything but "true" to opt out of assistance dbc_install='false' # dbc_upgrade: upgrade database with dbconfig-common? # set to anything but "true" to opt out of assistance dbc_upgrade='true' There are at least two problems that might thwart an automatic upgrade: 1) configuration files contain invalid parameters. 2) databases in non-standard places or servers. I definitely had the first, and might have the second. I'm not sure in either case what reasonable behavior for the package should be. I forced a downgrade to stable, apparently successfully. However, the first error message in my original report appears in this context too: Setting up bacula-director-pgsql (1.38.11-8) ... Installing new version of config file /etc/bacula/scripts/make_catalog_backup ... dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-pgsql.conf Processing configuration .../usr/share/bacula-director/postinst-common: line 18: /etc/bacula/bacula-dir.conf.dpkg-tmp: No such file or directory Ok. Stopping Bacula Director: bacula-dir. Starting Bacula Director: bacula-dir. Ross -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]