Bug management/Bugzilla Labs instance


 * Web address of Labs instance for testing Bugzilla code changes: https://boogs.wmflabs.org/

Logging in

 * Setting up Labs access: https://wikitech.wikimedia.org/wiki/Help:Access#Accessing_public_and_private_instances
 * ssh -Av @bastion.wmflabs.org
 * ssh -v boogs
 * sudo -s
 * Pull in our Bugzilla custom changes for Gerrit repository
 * cd /srv/bugzilla/modifications
 * git pull origin master
 * cp -r /srv/bugzilla/modifications /srv/bugzilla/bugzilla-x.y.z/
 * cd ..
 * ./checksetup.pl
 * Bugzilla default account Bugzilla login information:
 * more /srv/bugzilla/answerfile.pl

Creating new instances / Setting public IPs

 * https://wikitech.wikimedia.org/wiki/Special:NovaInstance (Projects = bugzilla)
 * https://wikitech.wikimedia.org/wiki/Special:NovaAddress (Projects = bugzilla)

Other helpful commands

 * copying files from your local machine to the Labs instance
 * Create software archive locally and copy to Labs instance:
 * tar -cvzf archive.tgz foldername/
 * scp archive.tgz @ .pmtpa.wmflabs:/home/
 * On Labs instance, extract the archive (and then move to intended folder):
 * tar -xvzf needinfo.tgz
 * Restarting Apache / MySQL daemons
 * /etc/init.d/apache2 restart
 * /etc/init.d/mysql restart
 * Updating the host system
 * apt-get dist-upgrade

Troubleshooting

 * See https://wikitech.wikimedia.org/wiki/Help:Access#Troubleshooting
 * ip a s
 * host boogs.wmflabs.org