Differences

This shows you the differences between the selected revision and the current version of the page.

punbb13:installation 2009/04/09 09:23 punbb13:installation 2020/02/06 11:04 current
Line 10: Line 10:
  - Open forum index (e.g. ''http://example.com/forum/index.php'' in your browser) and follow the instructions.   - Open forum index (e.g. ''http://example.com/forum/index.php'' in your browser) and follow the instructions.
-See also: [[http://punbb.informer.com/forums/post/119289/#p119289|Steps to getting PunBB 1.3 to work on SourceForge.net]]+See also: [[https://punbb.informer.com/forums/post/119289/#p119289|Steps to getting PunBB 1.3 to work on SourceForge.net]].
-====== Extension installation ====== +
-  - Download an extension archive from [[http://punbb.informer.com/extensions/|the PunBB extensions repository]] or other place. Extract it into your forum’s extensions directory. E.g. your forum root is ''/home/user/example.com/punbb/'' and you download ''pun_bbcode'' extension. To install the extension the file ''/home/user/example.com/punbb/extensions/pun_bbcode/manifest.xml'' should exist. +
-  - Log into the forum and go to Administration => Extensions (''http://example.com/punbb/admin/extensions.php?section=install''). The downloaded extension should be listed there. +
-  - Click the ''Install extension'' and follow instructions.+
-| NOTE: You may use the [[pun_repository|pun_repository extension]] to download and install extension with one click. | +===== Migration from PunBB 1.2 to PunBB 1.3 =====
- +
-====== Migration from PunBB 1.2 ======+
Follow these instructions to migrate from your current PunBB 1.2.* installation to 1.3. Follow these instructions to migrate from your current PunBB 1.2.* installation to 1.3.
| **NOTE**: Make a backup of your current forum directory before proceeding. Also, don't forget to make a backup of your forum database. Use the tool ''mysqldump'' for MySQL and ''pg_dump'' if you are using PostgreSQL. If you're using SQLite, just make a backup copy of the SQLite database file. You can also make database backups via most administration tools such as [[http://mysql.com/products/tools/administrator/|MySQL Administrator]], [[http://phpmyadmin.net/|phpMyAdmin]] and [[http://phppgadmin.sourceforge.net/|phpPgAdmin]]. It's strongly recommended to make a database backup if your forum is not 100% in English. You can experience data loss in the convertion to UTF-8 if you specify wrong encoding of data stored in the database.| | **NOTE**: Make a backup of your current forum directory before proceeding. Also, don't forget to make a backup of your forum database. Use the tool ''mysqldump'' for MySQL and ''pg_dump'' if you are using PostgreSQL. If you're using SQLite, just make a backup copy of the SQLite database file. You can also make database backups via most administration tools such as [[http://mysql.com/products/tools/administrator/|MySQL Administrator]], [[http://phpmyadmin.net/|phpMyAdmin]] and [[http://phppgadmin.sourceforge.net/|phpPgAdmin]]. It's strongly recommended to make a database backup if your forum is not 100% in English. You can experience data loss in the convertion to UTF-8 if you specify wrong encoding of data stored in the database.|
-  - [[downloads|Download PunBB 1.3]] and extract the archive on your hard disk. +  - [[https://punbb.informer.com/wiki/downloads#punbb_1.3|Download PunBB 1.3]] and extract the archive on your hard disk. 
-  - Replace your old 1.2 directory with the contents of the 1.3 archive. Keep old ''config.php'' and ''img/avatars'' dir. E.g. if you have 1.2 installed into ''www/punbb/'' and forum URL is ''http://example.com/punbb/''. You may use the next steps: +  - Replace your old 1.2 directory with the contents of the 1.3 archive. Keep old ''config.php'' and ''img/avatars'' dir. E.g. if you have 1.2 installed into ''www/punbb/'' and forum URL is ''http://example.com/punbb/''. You can use the next steps: 
-    - Rename old ''www/punbb/'' to ''www/punbb_old/'' +    * rename old ''www/punbb/'' to ''www/punbb_old/''; 
-    - Create new directory ''www/punbb/'' and put PunBB 1.3 there. +    * create new directory ''www/punbb/'' and put PunBB 1.3 there; 
-    - Copy ''/www/punbb_old/config.php'' to new ''www/punbb/'' and  ''/www/punbb_old/img/avatars'' to ''/www/punbb/img/avatars''.+    * copy ''/www/punbb_old/config.php'' to new ''www/punbb/'' and  ''/www/punbb_old/img/avatars'' to ''/www/punbb/img/avatars''.
  - Open forum index and follow instructions.   - Open forum index and follow instructions.
 +===== Updating PunBB from 1.3.x to 1.3.(x+1) =====
 +
 +How to update an 1.3 forum:
 +
 +  * make a backup of the database and files;
 +  * turn the Maintenance mode on (via admin panel);
 +  * overwrite old files with new ones;
 +  * after owerwriting, verify that cache, img/avatars and extensions (for pun_repository) directories have enough write permissions (usually 777);
 +  * clear cache directory;
 +  * go to the forum index and run db_update.php script (this may take a long time);
 +  * turn the Maintenance mode off.

Personal Tools