[rt-users] Migration Prep

Asif Iqbal vadud3 at gmail.com
Fri Aug 2 13:16:11 EDT 2013


On Fri, Aug 2, 2013 at 1:04 PM, Kevin Falcone <falcone at bestpractical.com>wrote:

> On Fri, Aug 02, 2013 at 12:49:47PM -0400, Asif Iqbal wrote:
> >      Please show a log of your make upgrade-database step
> >
> >    * 3.9.8
> >    * 4.0.1
>
> That's definitely skipping steps.
>
> It should read:
> * 3.9.8
> * 4.0.0rc2
> * 4.0.0rc4
> * 4.0.0rc7
> * 4.0.1
>
> What does ls -l etc/upgrade/ in the directory where you're running make
> upgrade-database show?
>
>
~/src/rt-4.0.16$ ls -al etc/upgrade/
...
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 3.8.8
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 3.8.9
-rwxr-xr--  1 root   root    3169 Jul 30 14:37 3.8-branded-queues-extension
-rwxrwxr-x  1 iqbala iqbala  3179 Jul 29 19:02
3.8-branded-queues-extension.in
-rwxr-xr--  1 root   root    3203 Jul 30 14:37 3.8-ical-extension
-rw-rw-r--  1 iqbala iqbala  3213 Jul 29 19:02 3.8-ical-extension.in
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 3.9.1
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 3.9.2
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 3.9.3
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 3.9.5
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 3.9.6
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 3.9.7
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 3.9.8
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 4.0.0rc2
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 4.0.0rc4
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 4.0.0rc7
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 4.0.1
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 4.0.12
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 4.0.13
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 4.0.3
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 4.0.4
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 4.0.6
drwxrwxr-x  2 iqbala iqbala  4096 Jul 29 19:02 4.0.9
....



> ls -l etc/upgrade/4.0.0rc*/ would also be interesting.
>
> ~/src/rt-4.0.16$ ls -al etc/upgrade/4.0.0rc*
etc/upgrade/4.0.0rc2:
total 12
drwxrwxr-x  2 iqbala iqbala 4096 Jul 29 19:02 .
drwxrwxr-x 43 iqbala iqbala 4096 Jul 30 17:31 ..
-rw-rw-r--  1 iqbala iqbala  193 Jul 29 19:02 schema.mysql

etc/upgrade/4.0.0rc4:
total 20
drwxrwxr-x  2 iqbala iqbala 4096 Jul 29 19:02 .
drwxrwxr-x 43 iqbala iqbala 4096 Jul 30 17:31 ..
-rw-rw-r--  1 iqbala iqbala   48 Jul 29 19:02 schema.mysql
-rw-rw-r--  1 iqbala iqbala   49 Jul 29 19:02 schema.Oracle
-rw-rw-r--  1 iqbala iqbala   52 Jul 29 19:02 schema.Pg

etc/upgrade/4.0.0rc7:
total 12
drwxrwxr-x  2 iqbala iqbala 4096 Jul 29 19:02 .
drwxrwxr-x 43 iqbala iqbala 4096 Jul 30 17:31 ..
-rw-rw-r--  1 iqbala iqbala  630 Jul 29 19:02 content

~/src/rt-4.0.16$ cat etc/upgrade/4.0.0rc2/schema.mysql

DROP TABLE IF EXISTS sessions;

CREATE TABLE sessions (
    id char(32) NOT NULL,
    a_session LONGBLOB,
    LastUpdated TIMESTAMP,
    PRIMARY KEY (id)
) ENGINE=InnoDB CHARACTER SET ascii;

I am not sure why it is skipping then. Could it be because of the RTFM
errors? I do not use them and not planning to either.



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130802/6c5a7566/attachment.htm>


More information about the rt-users mailing list