Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [JerryP] Upgrading Questions

Quote Reply
Re: [JerryP] Upgrading Questions In reply to
Hi,

Lots of questions there. Let me know if I missed one. =)

For upgrading, the version number does not get bumped until after all files have been extracted and all upgrade routines have been run. This allows you to rerun install.cgi if you need to.

If you look at sub upg_205_206 in install.cgi you'll see what needs to take place. Basically the user Gossamer Mail runs as did not have permission to alter the database. You must either give it permission or do it manually. You need to:

1. Run:

ALTER TABLE gmail_users CHANGE COLUMN user email CHAR(255) NOT NULL

2. Edit data/admin/defs/gmail_users.def and change:

i. cols->{user} to cols->{email}
ii. unique->{userunique} = ['email']

3. Edit data/admin/defs/gmail_sessions.def and change:

fk->{users}->{session_user} = 'email';

4. Finally edit admin/GMail/ConfigData.pm and update the version to 2.0.6.

There is an issue with 2.0.6 where a few templates still reference user. We will have this fixed shortly.

As for the bug in incoming.pl, it was fixed nov 28, not in time for 2.0.6, but definately for the next release.

Cheers,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread Upgrading Questions JerryP 2542 Feb 24, 2002, 12:40 AM
Thread Re: [JerryP] Upgrading Questions
JerryP 2458 Feb 24, 2002, 4:46 PM
Thread Re: [JerryP] Upgrading Questions
Alex 2455 Feb 25, 2002, 6:14 PM
Post Re: [Alex] Upgrading Questions
JerryP 2438 Feb 26, 2002, 1:28 AM
Post Re: [Alex] Upgrading Questions
JerryP 2430 Feb 26, 2002, 4:51 PM