[request-tracker-maintainers] Bug#518556: request-tracker3.8: rt-setup-database looks in wrong place for upgrade files

Anton Tilstra atilstra at xtremesecurity.com
Sat Mar 7 02:13:37 UTC 2009


Package: request-tracker3.8
Version: 3.8.2-1~experimental1
Severity: normal


When attempting to upgrade a 3.6.1 database, rt-setup-database seems to look in the
wrong place for the files in /etc/request-tracker3.8/upgrade. It says "couldn't read
dir './etc/upgrade' with upgrade data" and quits.

When symlinking etc -> request-tracker3.8 in /etc (making ./etc/upgrade valid from
/etc), it works (when launching from /etc obviously):

====begin transcript====
[root at ww: /etc]# /usr/sbin/rt-setup-database-3.8 --action upgrade --dba rtuser --prompt-for-dba-password
In order to create or update your RT database, this script needs to connect to your  Pg instance on localhost as 
rtuser
Please specify that user's database password below. If the user has no database
password, just press return.

Password:
Working with:
Type:   Pg
Host:   localhost
Name:   rtdb
User:   rtuser
DBA:    rtuser
Couldn't finish 'upgrade' step.

ERROR: Couldn't read dir './etc/upgrade' with upgrade data

[root at ww: /etc]# ln -s request-tracker3.8 etc
[root at ww: /etc]# /usr/sbin/rt-setup-database-3.8 --action upgrade --dba rtuser --prompt-for-dba-password
In order to create or update your RT database, this script needs to connect to your  Pg instance on localhost as 
rtuser
Please specify that user's database password below. If the user has no database
password, just press return.

Password:
Working with:
Type:   Pg
Host:   localhost
Name:   rtdb
User:   rtuser
DBA:    rtuser
Enter RT version you're upgrading from: 3.6
Doesn't match #.#.#: 3.6.1

Going to apply following upgrades:
* 3.7.1
  [SNIP - upgrades complete fine after this]
====end transcript====


-- Package-specific info:
Changed files:

There are locally modified files in /usr/local/share/request-tracker3.8/,
 these may (or may not) be the source of the problem.


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages request-tracker3.8 depends on:
ii  dbconfig-common    1.8.39                common framework for packaging dat
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  libapache-session- 1.86-1                Perl modules for keeping persisten
ii  libcache-simple-ti 0.27-2                Perl module to cache and expire ke
ii  libcalendar-simple 1.20-1                Perl extension to create simple ca
ii  libclass-returnval 0.55-1                A return-value object that lets yo
ii  libcss-squish-perl 0.07-1                Compact many CSS files into one bi
ii  libdata-ical-perl  0.13+dfsg-1           Perlmodule to generate and read iC
ii  libdbi-perl        1.605-1               Perl5 database interface by Tim Bu
ii  libdbix-searchbuil 1.54-1                Encapsulate SQL queries and rows i
ii  libdevel-stacktrac 1.1902-1              Stack trace and stack trace frame 
ii  libemail-address-p 1.889-2               RFC 2822 Address Parsing and Creat
ii  libfile-sharedir-p 0.05-1.2              Locate per-dist and per-module sha
ii  libgd-graph-perl   1.44-3                Graph Plotting Module for Perl 5
ii  libgd-text-perl    0.86-5                Text utilities for use with GD
ii  libgnupg-interface 0.36-1                Perl interface to GnuPG
ii  libgraphviz-perl   2.03-2                Perl interface to the GraphViz gra
ii  libhtml-mason-perl 1:1.39-1              HTML::Mason Perl module
ii  libhtml-parser-per 3.56-1+b1             A collection of modules that parse
ii  libhtml-rewriteatt 0.03-1                concise attribute rewriting
ii  libhtml-scrubber-p 0.08-4                Perl extension for scrubbing/sanit
ii  libjs-prototype    1.6.0.2-4             JavaScript Framework for dynamic w
ii  libjs-scriptaculou 1.8.1-5               JavaScript library for dynamic web
ii  liblocale-maketext 0.02-3                Maketext from already interpolated
ii  liblocale-maketext 0.66-1                Lexicon-handling backends for "Loc
ii  liblog-dispatch-pe 2.18-1                Dispatches messages to multiple Lo
ii  libmailtools-perl  2.03-1                Manipulate email in perl programs
ii  libmime-tools-perl 5.427-1               Perl5 modules for MIME-compliant m
ii  libmime-types-perl 1.24-1                Perl extension for determining MIM
ii  libmodule-versions 1.05-1                Report versions of all modules in 
ii  libperlio-eol-perl 0.14-1+b1             PerlIO layer for normalizing line 
ii  libregexp-common-p 2.122-1               Provide commonly requested regular
ii  libtext-autoformat 1.14.0-1              Perl module for automatic text wra
ii  libtext-quoted-per 2.05-2                Extract the structure of a quoted 
ii  libtext-template-p 1.44-1.2              Text::Template perl module
ii  libtext-wikiformat 0.78-1                translates Wiki formatted text int
ii  libtext-wrapper-pe 1.02-1                Simple word wrapping routine
ii  libtime-modules-pe 2006.0814-2           Various Perl modules for time/date
ii  libtimedate-perl   1.1600-9              Time and date functions for Perl
ii  libtree-simple-per 1.18-1                A simple tree object
ii  libuniversal-requi 0.11-1                Load modules from a variable
ii  libxml-rss-perl    1.33-1                Perl module for managing RSS (RDF 
ii  libxml-simple-perl 2.18-1                Perl module for reading and writin
ii  perl               5.10.0-19             Larry Wall's Practical Extraction 
ii  postfix [mail-tran 2.5.5-1.1             High-performance mail transport ag
ii  rt3.8-apache2      3.8.2-1~experimental1 Apache 2 specific files for reques
ii  rt3.8-clients      3.8.2-1~experimental1 Mail gateway and command-line inte
ii  rt3.8-db-postgresq 3.8.2-1~experimental1 PostgreSQL database backend for re
ii  sysklogd [system-l 1.5-5                 System Logging Daemon
ii  ucf                3.0016                Update Configuration File: preserv

Versions of packages request-tracker3.8 recommends:
ii  speedy-cgi-perl               2.22-10    speed up perl scripts by making th

Versions of packages request-tracker3.8 suggests:
pn  rt3.8-rtfm                    <none>     (no description available)

-- debconf information excluded





More information about the pkg-request-tracker-maintainers mailing list