Bug management/Bugzilla Labs instance
Appearance
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. Due to Wikimedia's move to Phabricator this page is outdated and only kept for historical reasons. |
- Web address of Labs instance for testing Bugzilla code changes: https://boogs.wmflabs.org/
Logging in
[edit]- Setting up Labs access: https://wikitech.wikimedia.org/wiki/Help:Access#Accessing_public_and_private_instances
ssh -Av <username>@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
- Bugmail is enabled so you can create a test account on your own. In case you need the Bugzilla default account Bugzilla login information, see
more /srv/bugzilla/answerfile.pl
Creating new instances / Setting public IPs
[edit]- https://wikitech.wikimedia.org/wiki/Special:NovaInstance (Projects = bugzilla)
- https://wikitech.wikimedia.org/wiki/Special:NovaAddress (Projects = bugzilla)
Other helpful commands
[edit]- 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 <username>@<instance>.pmtpa.wmflabs:/home/<username>
- 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
[edit]- See https://wikitech.wikimedia.org/wiki/Help:Access#Troubleshooting
ip a s
host boogs.wmflabs.org