<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Likewise on this one. I’d appreciate a response from Best Practice as to the proper ordering for an upgrade…<div><br><div><div>On Nov 26, 2014, at 2:32 PM, Jo Rhett <<a href="mailto:jrhett@netconsonance.com">jrhett@netconsonance.com</a>> wrote:</div><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hey guys and gals, been a long time.<div><br></div><div>I’m doing an upgrade from 3.8.5 to 4.2. It seems to be going well. I’m liking the changes. Glad to see RTFM integrated. My one big question here that I think the documentation could definitely improve upon, is what order to do the changes in?  There are changes in every one of these pages and there’s no clear outline for which ones go first.</div><div><br></div><div><a href="https://www.bestpractical.com/docs/rt/4.2/README.html">https://www.bestpractical.com/docs/rt/4.2/README.html</a></div><div><a href="https://www.bestpractical.com/docs/rt/4.2/UPGRADING-3.8.html">https://www.bestpractical.com/docs/rt/4.2/UPGRADING-3.8.html</a></div><div><a href="https://www.bestpractical.com/docs/rt/4.2/UPGRADING-4.0.html">https://www.bestpractical.com/docs/rt/4.2/UPGRADING-4.0.html</a></div><div><a href="https://www.bestpractical.com/docs/rt/4.2/UPGRADING-4.2.html">https://www.bestpractical.com/docs/rt/4.2/UPGRADING-4.2.html</a></div><div><a href="https://www.bestpractical.com/docs/rt/4.2/UPGRADING.mysql.html">https://www.bestpractical.com/docs/rt/4.2/UPGRADING.mysql.html</a></div><div><br></div><div>I build the new installation on a new system so I’ve done a test upgrade the following way — totally just guessing which things to do in which order. Can someone take a moment to validate if I did it right?</div><div><br></div><div><div>1. Loaded a backup of the running system's database, renamed to rt4</div><div>2. Installed apache2 and mod_perl2, set up vhost according to <a href="https://www.bestpractical.com/docs/rt/4.2/web_deployment.html">https://www.bestpractical.com/docs/rt/4.2/web_deployment.html</a></div><div>3. Download 4.2.9, extract, ./configure --with-web-handler=modperl2 --with-web-user=apache --with-web-group=apache</div><div>4. sudo make fixdeps</div><div>5. make install</div><div>6. perl etc/upgrade/upgrade-mysql-schema.pl rt4 rt_user password > ~/update.sql</div><div>   (read and saw only changes to utf8)</div><div>7. mysql -u rt-user -p rt4 < ~/update.sql</div><div><br></div><div>8. Cleanup from UPGRADING-3.8</div><div>$ cd /opt/rt4</div><div>$ perl -I /opt/rt4/local/lib -I /opt/rt4/lib etc/upgrade/shrink_transactions_table.pl</div><div>$ perl -I /opt/rt4/local/lib -I /opt/rt4/lib etc/upgrade/vulnerable-passwords </div><div>$ perl -I /opt/rt4/local/lib -I /opt/rt4/lib etc/upgrade/vulnerable-passwords --fix</div><div>$ perl -I /opt/rt4/local/lib -I /opt/rt4/lib etc/upgrade/split-out-cf-categories</div><div><br></div><div>9. Database upgrade</div><div>$ perl -I/opt/rt4/local/lib -I/opt/rt4/lib sbin/rt-setup-database --action upgrade --prompt-for-dba-password</div><div>$ perl -I /opt/rt4/local/lib -I /opt/rt4/lib etc/upgrade/upgrade-articles</div><div>$ sbin/rt-validator --check</div><div>$ sbin/rt-validator --check --resolve</div></div><div><br></div><div>I’m thinking that perhaps step 8 should have been done before 6 and 7, but it seems to have worked and it displays the tickets and seems to operate properly.</div><div><br></div><div>-- </div><div><div apple-content-edited="true">Jo Rhett<br>+1 (415) 999-1798<br>Skype: jorhett<br>Net Consonance : net philanthropy to improve open source and internet projects.

</div>
<br></div></div></blockquote></div><br><div>
-- <br>Jo Rhett<br>+1 (415) 999-1798<br>Skype: jorhett<br>Net Consonance : net philanthropy to improve open source and internet projects.

</div>
<br></div></body></html>