Upgrade from VBS 3.2.2 to VBS 3.4 is not much different from other VBS upgrades. It boils down to:
Do not overwrite old VBS!
Use VMWare Player or Workstation to open and start both old VBS and new VBS. When new VBS starts, write down its IP address, which is shown in Bugzilla URL. If needed, configure network on the new server.
Use console, shown in the VMWare window, or a SSH client. The password is 'bugzilla', unless it has been changed.
If the old VBS is accessible while you are migrating data from it, someone may make changes which will be lost or will get in the way.
The easiest way is to stop Apache web server:
Database dump contains all user data from Bugzilla. To create it, use mysqldump utility:
Use the following commands:
If you have customized Virtual Bugzilla Server somehow, create a tar archive with your custom configuration files. You will then unpack and apply them on the new server.
Use command:
When asked about authenticity, enter yes.
When asked for password,
enter bugzilla — the default password for bugzilla
account on the new VBS.
Use root account with default password being root as well. You can login on console or use SSH client.
Command: mysql bugs <bugs.sql
It's probable that you will see warnings about time stamps — ignore them.
You probably need to change database access parameters in localconfig file: db_name, db_user and db_pass.
Use joe localconfig to launch file editor and make arbitrary changes.
Run checksetup.pl, the Bugzilla's installation and upgrade uberscript.
At last, you need to change the urlbase parameter in data/params file.
If your old VBS is still using numerical URL (with IP address), you can try this:
logout
(going back from "bugzilla" to "root" account)
/vbs/update-bugzilla-urlbase.sh
Otherwise, edit data/params manually.
Other configuration files, like Apache and MySQL setup may be moved in the same way.
This is it. If there were no errors during the upgrade, you should now be able to access new Bugzilla with your old data and settings.
Upgrade from VBS 2.x to VBS 3.2.x is not much different from other VBS upgrades. It boils down to:
NB: Virtual Bugzilla 3.2 doesn't come with Testopia. If you use Testopia on VBS 2.x, look out for Virtual Testopia Server.
Do not overwrite old VBS!
Use VMWare Player or Workstation to open and start both old VBS and new VBS. When new VBS starts, write down its IP address, which is shown in Bugzilla URL. If needed, configure network on the new server.
Use console, shown in the VMWare window, or a SSH client. The password is 'bugzilla', unless it has been changed.
If the old VBS is accessible while you are migrating data from it, someone may make changes which will be lost or will get in the way.
The easiest way is to stop Apache web server:
Database dump contains all user data from Bugzilla. To create it, use mysqldump utility:
Use the following commands:
If you have customized Virtual Bugzilla Server somehow, create a tar archive with your custom configuration files. You will then unpack and apply them on the new server.
Use command:
When asked about authenticity, enter yes.
When asked for password,
enter bugzilla — the default password for bugzilla
account on the new VBS.
Use root account with default password being root as well. You can login on console or use SSH client.
Command: mysql bugs <bugs.sql
It's probable that you will see warnings about time stamps — ignore them.
You probably need to change database access parameters in localconfig file: db_name, db_user and db_pass.
Use joe localconfig to launch file editor and make arbitrary changes.
Run checksetup.pl, the Bugzilla's installation and upgrade uberscript.
At last, you need to change the urlbase parameter in data/params file.
If your old VBS is still using numerical URL (with IP address), you can try this:
logout
(going back from "bugzilla" to "root" account)
/vbs/update-bugzilla-urlbase.sh
Otherwise, edit data/params manually.
Other configuration files, like Apache and MySQL setup may be moved in the same way.
This is it. If there were no errors during the upgrade, you should now be able to access new Bugzilla with your old data and settings.
Upgrade from VBS 2.0 to VBS 2.1 is not much different from other VBS upgrades. It boils down to:
This upgrade guide is not as thorough as instructions for upgrading VBS 1.x to 2.x, to which you can refer if you get lost in the process.
Do not overwrite old VBS! If you are upgrading VBS with Testopia, don't forget to install Testopia add-on on VBS 2.1.
Use VMWare Player or Workstation to open and start both old VBS and new VBS. When new VBS starts, write down its IP address, which is shown in Bugzilla URL.
Use console, shown in the VMWare window, or a SSH client. The password is 'bugzilla', unless it has been changed.
If the old VBS is accessible while you are migrating data from it, someone may make changes which will be lost or will get in the way.
The easiest way is to stop Apache web server:
Database dump contains all user data from Bugzilla. To create it, use mysqldump utility:
If using Testopia:
Use the following commands:
If using Testopia:
If you have customized Virtual Bugzilla Server somehow, create a tar archive with your custom configuration files. You will then unpack and apply them on the new server.
Use command:
When asked about authenticity, enter yes.
When asked for password,
enter bugzilla — the default password for bugzilla
account on the new VBS.
Use account bugzilla/bugzilla. You can login on console or use SSH client.
If importing Testopia, use the same commands to recreate database testopia.
Command: mysql -uroot -proot bugs <bugs.sql
For testopia: mysql -uroot -proot testopia <testopia.sql
For Testopia:
It's probable that you will see warnings about time stamps — ignore them.
You probably need to change database access parameters in localconfig file: db_name, db_user and db_pass.
Use joe localconfig to launch file editor and make arbitrary changes.
Run checksetup.pl, the Bugzilla's installation and upgrade uberscript.
For Testopia:
At last, you need to change the urlbase parameter in data/params file.
If your old VBS is still using numerical URL (with IP address), you can try to run this command: /vbs/update-bugzilla-urlbase.sh:
Otherwise, edit data/params manually.
Other configuration files, like Apache and MySQL setup may be moved in the same way.
This is it. If there were no errors during the upgrade, you should now be able to access new Bugzilla (Testopia) with your old data and settings.
Virtual Bugzilla Server 2.0 is a completely rebuilt product. Briefly, upgrading from previous versions boils down to:
This how-to explains the upgrade process in detail. By default, we assume that you are upgrading from version 1.2. When actions are different for VBS 1.0 and 1.1, there are special notes.
Do not overwrite old VBS!
Use VMWare Player or Workstation to open and start both old VBS and new VBS. When new VBS starts, write down its IP address, which is shown in Bugzilla URL.
Use console, shown in the VMWare window, or a SSH client. The password is 'bugzilla', unless it has been changed.
If the old VBS is accessible while you are migrating data from it, someone may make changes which will be lost or will get in the way.
The easiest way is to stop Apache web server.
Use pwd command.
Database dump contains all user data from Bugzilla. To create it, use mysqldump utility:
VBS 1.2: | mysqldump -uroot -pmysql --add-drop-table --disable-keys bugs >bugs.sql |
---|---|
VBS 1.0, 1.1: | mysqldump -uroot -pmysql --add-drop-table --disable-keys bugz220 >bugs.sql |
"mysql" is the default mysql root password and may have changed.
Use the following commands:
If you have customized Virtual Bugzilla Server somehow, create a tar archive with your custom configuration files. You will then unpack and apply them on the new server.
Use command: scp bugs.sql bugzilla-data.tar bugzilla@
new.VBS.IP.address:
When asked about authenticity, enter yes.
When asked for password,
enter bugzilla — the default password for bugzilla
account on the new VBS.
Use account bugzilla/bugzilla. You can login on console or use SSH client.
ls -l bugs.sql bugzilla-data.tar
You need to drop and create again mysql database bugs:
VBS 1.0 and 1.1: Use character set that has been used on your old mysql database. This is important if you have non-Latin characters in bugs.
Command: mysql -uroot -proot bugs <bugs.sql
Command: tar xf bugzilla-data.tar
It's probable that you will see warnings about time stamps — ignore them.
You probably need to change database access parameters in localconfig file: db_name, db_user and db_pass. You definitely need to change them if you are upgrading from VBS 1.0 or 1.1.
To quickly change database access parameters from bugz220 to bugs, you can use command sed -i 's/bugz220/bugs/' localconfig. Use joe localconfig to launch file editor and make arbitrary changes.
If you are migrating from database not in UTF-8 charset, you need to re-code the database. Use this
command:
contrib/recode.pl --charset= original_database_charset
Run checksetup.pl, the Bugzilla's installation and upgrade uberscript.
At some point, the script will ask you to confirm database conversion. Press ENTER to continue. Don't worry about the warning, you still have your old VBS as a backup.
When checksetup.pl finishes, the screen should look like this:
At last, you need to change the urlbase parameter in data/params file.
If your old VBS is still using numerical URL (with IP address), you can try to run this command: /vbs/update-bugzilla-urlbase.sh:
Otherwise, edit data/params manually.
This is it. If there were no errors during the upgrade, you should now be able to access new Bugzilla with your data.