This is an old revision of the document!
Table of Contents
PunBB 1.2 Installation
…
Forum upgrading
- You can download the upgrade patches from http://punbb.informer.com/download/patch/.
If there is no the patch for upgrading from 1.2.n
to 1.2.m
directly, you should upgrade forum step by step to version you needed.
Example
The forums are located in ~/public_html/punbb/
. The forums URL is http://example.com/punbb/. Forum is using the MySQL database punbb_db
with the users punbb_user
and password punbb_pass
. There are no mods or the modded files were not updated.
To upgrade forum from 1.2.15
to 1.2.20
version:
- Backup all your forum files and database:
cd ~/public_html
tar -czf ~/punbb.tgz punbb
or download them all via FTPmysqldump -upunbb_user -ppunbb_pass punbb_db > ~/punbb_dump.sql
or use other tool of your hosting provider
- Download the patches and place them in the parent directory of your PunBB root directory:
cd ~/public_html
wget http://punbb.informer.com/download/patch/punbb-1.2.15_to_1.2.17.patch
or upload it via FTP
- Apply the patches:
patch -ul -d punbb -p2 < punbb-1.2.15_to_1.2.17.patch
patch -ul -d punbb -p2 < punbb-1.2.15_to_1.2.17.patch
- You will maybe have to manually resolve some conflicts, if there still were some modifications in the files being patched.
- Download and unpack the forum release archive, copy the file
12_to_1220_update.php
fromextras
to the root of your forum and open12_to_1220_update.php
in your browser. Remove it when the database upgrade is finished:cd ~
tar xzf punbb-1.2.20.tar.gz
or do this locally on your computercp extras/12_to_1220_update.php public_html/punbb/
or upload it via FTP- Visit http://example.com/punbb/12_to_1220_update.php. Follow the instructions.
rm public_html/punbb/12_to_1220_update.php
Done.