Thaks Kevin,<br><br>I missed that in the output.  Most of it seems OK up until the part where it processesd 3.9.2 and <a href="http://3.9.3.">3.9.3.</a>:<br><br><div style="margin-left: 40px; font-family: courier new,monospace;">
Processing 3.9.2<br>Now inserting data.<br>[Tue Aug  9 02:42:25 2011] [warning]: DBD::mysql::st execute failed: Unknown column 'main.DelegatedBy' in 'where clause' at /usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Handle.pm:509)<br>
[Tue Aug  9 02:42:25 2011] [warning]: RT::Handle=HASH(0x31c8f18) couldn't execute the query 'SELECT main.* FROM ACL main  WHERE (main.DelegatedBy > '0') AND (main.DelegatedFrom > '0') ' at /usr/local/share/perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 522<br>
    DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x31c8f18)', 'SELECT main.* FROM ACL main  WHERE (main.DelegatedBy > \'0\')...') called at /usr/local/share/perl/5.10.1/DBIx/SearchBuilder.pm line 235<br>
    DBIx::SearchBuilder::_DoSearch('RT::ACL=HASH(0x5021070)') called at /opt/rt4/sbin/../lib/RT/SearchBuilder.pm line 320<br>    RT::SearchBuilder::_DoSearch('RT::ACL=HASH(0x5021070)') called at /opt/rt4/sbin/../lib/RT/ACL.pm line 260<br>
    RT::ACL::_DoSearch('RT::ACL=HASH(0x5021070)') called at /usr/local/share/perl/5.10.1/DBIx/SearchBuilder.pm line 503<br>    DBIx::SearchBuilder::Next('RT::ACL=HASH(0x5021070)') called at /opt/rt4/sbin/../lib/RT/ACL.pm line 225<br>
    RT::ACL::Next('RT::ACL=HASH(0x5021070)') called at ./etc/upgrade/3.9.2/content line 19<br>    RT::Handle::__ANON__() called at /opt/rt4/sbin/../lib/RT/Handle.pm line 767<br>    eval {...} called at /opt/rt4/sbin/../lib/RT/Handle.pm line 767<br>
    RT::Handle::InsertData('RT::Handle=HASH(0x31c8f18)', './etc/upgrade/3.9.2/content', undef) called at /opt/rt4/sbin/rt-setup-database line 292<br>    main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/3.9.2', 'backcompat', ...) called at /opt/rt4/sbin/rt-setup-database line 398<br>
    main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'dba', 'root') called at /opt/rt4/sbin/rt-setup-database line 197 (/usr/share/perl/5.10/Carp.pm:47)<br>[Tue Aug  9 02:42:25 2011] [crit]: _DoSearch is not so successful as it still needs redo search, won't call _BuildHash (/opt/rt4/sbin/../lib/RT/ACL.pm:263)<br>
Processing 3.9.3<br>Now populating database schema.<br>[Tue Aug  9 02:42:25 2011] [crit]: DBD::mysql::st execute failed: Can't DROP 'DelegatedBy'; check that column/key exists at /opt/rt4/sbin/../lib/RT/Handle.pm line 517. (/opt/rt4/sbin/../lib/RT.pm:340)<br>
DBD::mysql::st execute failed: Can't DROP 'DelegatedBy'; check that column/key exists at /opt/rt4/sbin/../lib/RT/Handle.pm line 517.<br></div><br><br>The complete output is here.: <a href="http://www.paulororke.net/files/rt-setup-database.txt">http://www.paulororke.net/files/rt-setup-database.txt</a><br>
<br>I see 2 critical errors, need I address the warnings first?  I'm not sure where to go with tis now...<br><br>thanks<br><br>Paul <br><br>On Mon, Aug 8, 2011 at 3:26 PM, Kevin Falcone <<a href="mailto:falcone@bestpractical.com">falcone@bestpractical.com</a>> wrote:<br>
><br>> On Mon, Aug 08, 2011 at 03:05:53PM -0700, Paul O'Rorke wrote:<br>> >    I am migrating from 3.8.4 to 4.01. I have a new server with 4.01 installed and mostly set up<br>> >    how I want. I have pulled my database dumps into the new instance, performed the steps in<br>
> >    UPGRADING.mysql and run the script<br>> >    /opt/rt4/sbin/rt-setup-database --prompt-for-dba-password --action upgrade<br>> ><br>> >    I've missed something and I'm sure I saw it when reading the docs but now can't figure out<br>
> >    what I missed. After tweaking my set up I've tried restoring from last nights 3.8.4 instance<br>> >    mysqldump and I have to manually set the passwords in MySQL to log in as the RT user. For<br>> >    example:<br>
> >    UPDATE Users SET Password=md5('password') WHERE Name='user';<br>> ><br>> >    This lets the user log in - but only once, after a logout the user cannot again log in. I<br>> >    believe there was a change in the hash used for passwords and that there is a script I need to<br>
> >    run to fix this but I cannot for the life of me find this again.<br>> ><br>> >    Am I on the right track and what can I tell you to help figure out what I missed?<br>><br>> It appears you didn't successfully complete the<br>
>    /opt/rt4/sbin/rt-setup-database --prompt-for-dba-password --action upgrade<br>> step, since it will change the size of your Users.Password field (among lots<br>> of other changes).  There is also a script to rehash your user<br>
> passwords which was included in our security updates and is documented<br>> in docs/UPGRADING-3.8, but this bug is more likely to be related to an<br>> incomplete database upgrade.<br>><br>> -kevin<br>><br>
><br>> --------<br>> 2011 Training: <a href="http://bestpractical.com/services/training.html">http://bestpractical.com/services/training.html</a><br><br>