Bug management/Upgrade-notes-4.2.7-to-4.4.1

cd /root/bugzilla-work-dzahn/

wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.4.1.tar.gz

tar zfxv bugzilla-4.4.1.tar.gz .. cd /srv/org/wikimedia/

rsync -avp /srv/org/wikimedia/bugzilla/ /root/bugzilla-work-dzahn/bugzilla-4.2.7-prod-orig/

cp -r /root/bugzilla-work-dzahn/bugzilla-4.4.1.

cd bugzilla-4.4.1/

cp ../bugzilla/localconfig*.

cp -r ../bugzilla/data.

mv bugzilla bugzilla.old

ln -s bugzilla-4.4.1 bugzilla ---

slightly modified but mostly exactly per: http://www.bugzilla.org/docs/4.4/en/html/upgrade.html 2.7.2.3. Upgrading using the tarball

--

run checksetup.pl

starts to update database tables ... lots of output

.. Adding a new user setting called 'requestee_cc' Adding a new user setting called 'bugmail_new_prefix'

checksetup.pl complete.

--

first had a problem at this point, resulted in bugzilla being a directory with just localconfig and nothing else after checksetup.pl

did not bother about following symlink problems, instead just changed it to "mv bugzilla-4.4.1 bugzilla" as mozilla also suggests it.

the we had an apache error like: /srv/org/wikimedia/bugzilla/.htaccess: Options not allowed here

this is the .htaccess created by checksetup.pl

i commented out the #Options -Indexes

and now we can see:

version 4.4.1 on zirconium

---


 * 1) after this we applied all our modifications from the modifications repo using rsync, details on Bug_management/modifications.
 * 2) after this we applied the following 10 pending patches for 4.4 manually (without merging them) on the test installation

https://gerrit.wikimedia.org/r/97994

https://gerrit.wikimedia.org/r/98005

https://gerrit.wikimedia.org/r/98008

https://gerrit.wikimedia.org/r/98013

https://gerrit.wikimedia.org/r/98025

https://gerrit.wikimedia.org/r/98028

https://gerrit.wikimedia.org/r/98031

https://gerrit.wikimedia.org/r/98032

https://gerrit.wikimedia.org/r/98035


 * 1) then we deleted this file to enable MoreBugUrl: /srv/org/wikimedia/bugzilla/extensions/MoreBugUrl# rm disabled

https://gerrit.wikimedia.org/r/101643


 * 1) then we deleted this file to enable voting: /srv/org/wikimedia/bugzilla/extensions/Voting# rm disabled


 * 1) as the patch deletes our custom Bugzilla/BugUrl.pm (which should NOT be in Gerrit), put the upstream version of Bugzilla/BugUrl.pm on the server


 * 1) we also deleted extensions/Sitemap because it caused problems

https://gerrit.wikimedia.org/r/106713/

https://gerrit.wikimedia.org/r/107423/

Avoid 404 for the "Weekly Bug Summary" link in the sidebar:

cd /srv/org/wikimedia/bugzilla/

ln -s extensions/WeeklyReport/weekly-bug-summary.cgi.

ln -s extensions/WeeklyReport/component-report.cgi.

Fix issues with cronjobs
 * https://gerrit.wikimedia.org/r/#/c/110170/
 * https://gerrit.wikimedia.org/r/#/c/110172/