Roster:Install

From WoWRosterWiKi
(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 6: Line 6:
 
Installation guide
 
Installation guide
  
[[Image:Roster_fi_phpmyadmin_1.png|thumb|phpMyAdmin Create Database]]
 
[[Image:Roster_fi_phpmyadmin_2.png|thumb|phpMyAdmin Database Created]]
 
[[Image:Roster_install_0.png|thumb|WoWRoster Install Step 0]]
 
[[Image:Roster_install_1.png|thumb|WoWRoster Install Step 1]]
 
[[Image:Roster_install_2.png|thumb|WoWRoster Install Step 2]]
 
[[Image:Roster_install_3.png|thumb|WoWRoster Install Step 3]]
 
[[Image:Roster_install_4.png|thumb|WoWRoster Install Step 4]]
 
  
 
===Installation Overview===
 
===Installation Overview===
Line 19: Line 12:
 
** You'll need your login info to your MySQL and a database setup that Roster can use
 
** You'll need your login info to your MySQL and a database setup that Roster can use
  
* Download [http://www.wowroster.net/Downloads/get=3.html Roster] and the [http://www.wowroster.net/Downloads/get=4.html Interface Imagepack]
+
* Download [http://www.wowroster.net/downloads/?cat=1&id=3 Roster]  
 +
** Optional: Download the [http://www.wowroster.net/downloads/?cat=1&id=4 Interface Imagepack] and configure Roster to use local images
  
 
* Decompress the downloads on your local machine, then upload the expanded files to your site
 
* Decompress the downloads on your local machine, then upload the expanded files to your site
Line 33: Line 27:
 
* Have members install CharacterProfiler (and optional PVPLog)
 
* Have members install CharacterProfiler (and optional PVPLog)
 
** Deputize people you trust with the Roster Upload/Officer password to also run GuildProfiler
 
** Deputize people you trust with the Roster Upload/Officer password to also run GuildProfiler
** [http://www.wowroster.net/Downloads/c=3.html Profiler Add-ons can be downloaded here]
+
** [http://www.wowroster.net/downloads/index.php?mcat=3 Profiler Add-ons can be downloaded here]
  
 
* Have everyone upload their data with regularity or look into using [[UniUploader]], [[JUniUploader|javaUniUploader]], or [[phpUniUploader|phpUniUploader]]
 
* Have everyone upload their data with regularity or look into using [[UniUploader]], [[JUniUploader|javaUniUploader]], or [[phpUniUploader|phpUniUploader]]
Line 44: Line 38:
 
*: You should unzip to your desktop then upload the contents of the archive, and make sure to keep the file and directory structure intact!
 
*: You should unzip to your desktop then upload the contents of the archive, and make sure to keep the file and directory structure intact!
  
* Download the [http://www.wowroster.net/Downloads/get=4.html Interface Imagepack]
+
Local Interface Images
 +
* Download the [http://www.wowroster.net/downloads/?cat=1&id=4 Interface Imagepack]
 
*: It's easiest to unzip the files on your desktop and figure out where they go after you've done that
 
*: It's easiest to unzip the files on your desktop and figure out where they go after you've done that
 +
** Configure Roster to point to where you extracted the Inferface folder to
  
* Make sure you get the Interface Image Pack
+
* If using local images, make sure you get the Interface Image Pack
 
*: Every time Blizzard creates new icons for items, talents, spells, etc... a new image pack is released  
 
*: Every time Blizzard creates new icons for items, talents, spells, etc... a new image pack is released  
 
*: For full functionality, be sure to have all current image packs installed  
 
*: For full functionality, be sure to have all current image packs installed  
Line 64: Line 60:
  
 
====Pre-install====
 
====Pre-install====
 +
[[Image:Roster_fi_phpmyadmin_1.png|thumb|phpMyAdmin Create Database]]
 +
[[Image:Roster_fi_phpmyadmin_2.png|thumb|phpMyAdmin Database Created]]
 
This step is optional
 
This step is optional
  
Line 85: Line 83:
 
All files and directories should be owned by your web server's user/group<br>
 
All files and directories should be owned by your web server's user/group<br>
 
(Example: chown apache.apache -R *).<br>
 
(Example: chown apache.apache -R *).<br>
All .php files should be readable/executable
+
All .php files should be readable
<pre>$ chmod a+rx -R *.php</pre>
+
<pre>$ chmod a+r -R *.php</pre>
  
  
Line 97: Line 95:
  
 
====Step 4====
 
====Step 4====
 +
[[Image:Roster_install_0.png|thumb|WoWRoster Install Step 0]]
 
Browse to www.[domain].com/roster/
 
Browse to www.[domain].com/roster/
  
Line 107: Line 106:
  
 
Click the [ I Agree ] button.
 
Click the [ I Agree ] button.
 +
[[Image:Roster_install_1.png|thumb|WoWRoster Install Step 1]]
  
 
You should be presented with a page describing your server's settings and information.<br>
 
You should be presented with a page describing your server's settings and information.<br>
Line 112: Line 112:
 
(See Figure 'WoWRoster Install Step 1')
 
(See Figure 'WoWRoster Install Step 1')
  
On this step, you may be presented with information or errors<br>
+
On this step, you may be presented with information or errors
The message will also contain a solution if it is an error
+
*: The message will also contain a solution if it is an error
* The '''conf.php''' file does not exist and could not be created in Roster's root folder.<br>You must create an empty conf.php file on your server before proceeding. And give it write access
+
* The '''conf.php''' file does not exist and could not be created in Roster's root folder.
* The '''conf.php''' file has been created in Roster's root folder<br>Deleting this file will interfere with the operation of your Roster installation.
+
*: You must create an empty conf.php file on your server before proceeding. And give it write access
* The file '''conf.php''' is not set to be readable/writable and could not be changed automatically.<br>Please change the permissions to 0666 manually by executing '''chmod 0666 conf.php''' on your server.
+
* The '''conf.php''' file has been created in Roster's root folder
 +
*: Deleting this file will interfere with the operation of your Roster installation.
 +
* The file '''conf.php''' is not set to be readable/writable and could not be changed automatically.
 +
*: Please change the permissions to 0666 manually by executing '''chmod 0666 conf.php''' on your server.
 
* '''conf.php''' has been set to be readable/writable in order to let this installer write your configuration file automatically.
 
* '''conf.php''' has been set to be readable/writable in order to let this installer write your configuration file automatically.
 
* The cache directory could not be created, create a directory named "cache" manually in the root directory.
 
* The cache directory could not be created, create a directory named "cache" manually in the root directory.
* The cache directory exists, but is not set to be writable and could not be changed automatically.<br>Please change the permissions to 0777 manually by executing '''chmod 0777 cache''' on your server.
+
* The cache directory exists, but is not set to be writable and could not be changed automatically.
 +
*: Please change the permissions to 0777 manually by executing '''chmod 0777 cache''' on your server.
 
* The cache directory has been set to be writable in order to let the Template engine to function.
 
* The cache directory has been set to be writable in order to let the Template engine to function.
  
Line 135: Line 139:
  
 
=====Step 4-1=====
 
=====Step 4-1=====
 +
[[Image:Roster_install_2.png|thumb|WoWRoster Install Step 2]]
 
(Figure 'WoWRoster Install Step 2')
 
(Figure 'WoWRoster Install Step 2')
  
Line 194: Line 199:
 
But installation will not be complete until you create an administrator account in this step</pre>
 
But installation will not be complete until you create an administrator account in this step</pre>
  
 +
[[Image:Roster_install_3.png|thumb|WoWRoster Install Step 3]]
 
(See Figure 'WoWRoster Install Step 3')
 
(See Figure 'WoWRoster Install Step 3')
  
Line 207: Line 213:
  
 
====Step 5====
 
====Step 5====
 +
[[Image:Roster_install_4.png|thumb|WoWRoster Install Step 4]]
 
The installer will automatically fill your conf.php file.<br>
 
The installer will automatically fill your conf.php file.<br>
 
(See Figure 'WoWRoster Install Step 4')
 
(See Figure 'WoWRoster Install Step 4')
Line 233: Line 240:
  
  
====Special Instructions for < 2.0.0 to 2.0.x====
+
====Special Instructions for < Version 2.0.0====
 
There is no upgrade path from versions lower than 2.0.0
 
There is no upgrade path from versions lower than 2.0.0
  
This is because Roster 2.0.0 gathers much more data from WoW than earlier versions and causes errors in the core files.
+
This is because Roster 2.0.0 gathers much more data from WoW than earlier versions and causes errors in the core files when the database is upgraded.
 
+
 
+
====Special Instructions for 1.6.0 to 1.7.x====
+
This information is specific on upgrading from Roster 1.6.0 to 1.7.x
+
 
+
Back up your conf.php file!<br>
+
WoWRoster 1.7.x <u>DOES</u> have a new conf.php file, so you should back it up!<br>
+
The new conf.php file should be automatically be upgraded for you.<br>
+
If this fails, the upgrader will give you the option to download this file, then you can upload it to your web server.
+
 
+
Access www.[domain].com/roster/upgrade.php<br>
+
YOU <u>MUST</u> go to www.[domain].com/roster/upgrade.php<br>
+
If you go to any other page, it <u>WILL</u> display "Detected Invalid Access..."
+
 
+
Make sure you visit the Roster Config page<br>
+
You will need to visit this page as the upgrader only upgrade certain important fields from version 1.6.0
+
  
  

Latest revision as of 06:12, 19 June 2011

WR.net

Important note: When you edit this page, you agree to release your contribution into the public domain.
If you do not want this or can not do this because of license restrictions, please do not edit.

Contents


Roster Installation

Installation guide


Installation Overview


Hints

Local Interface Images


Installing Roster

Pre-install

phpMyAdmin Create Database
phpMyAdmin Database Created

This step is optional

The installer can attempt to create the database, if you provide a user with sufficient privileges to do so.
This information will not be stored and only used in the creation of the database.

Create, or have ready a MySQL database that WoWRoster can use.
It should already have a user name and password assigned to it.
(See Figure 'phpMyAdmin Create Database')
(See Figure 'phpMyAdmin Database Created')


Step 1

Making sure to keep the directory structure intact, move the unzipped files to a web-accessible directory. (see Hints section above)


Step 2

This step might not be necessary
This may only be needed if you are having problems running or installing Roster

All files and directories should be owned by your web server's user/group
(Example: chown apache.apache -R *).
All .php files should be readable

$ chmod a+r -R *.php


Step 3

If you want the installation script to automatically set up your conf.php file for you, it should be readable/writable

Note: The installer will attempt to do this for you, but should an error occur, you may need to do this manually:

$ chmod 666 conf.php


Step 4

WoWRoster Install Step 0

Browse to www.[domain].com/roster/

You should be presented with a license agreement page.
(See Figure 'WoWRoster Install Step 0')

If you see the error message "You removed the license.txt file. This file MUST be present to install WoWRoster!"
Then you must restore the license.txt file
Part of the agreement to install and use WoWRoster is keeping this file intact.

Click the [ I Agree ] button.

WoWRoster Install Step 1

You should be presented with a page describing your server's settings and information.
Once you are sure that your server meets WoWRoster's requirements, you can click the [ Start Install ] button.
(See Figure 'WoWRoster Install Step 1')

On this step, you may be presented with information or errors

Under "Directory Access" if you see a red image next to "Cache:"
Hover over the image for more information

If you see "Connection to wowroster.net failed." in the "Version" box
This means your server cannot contact wowroster.net for latest version checking during the install

If all is good in the universe, you will see this message
"Roster has scanned your server and determined that it meets the minimum requirements."

Click the [ Start Install ] button.


Step 4-1
WoWRoster Install Step 2

(Figure 'WoWRoster Install Step 2')

Create Database Options If you would like the installer to create the database, you can enter the db user with permissions to create a database here
This information will NOT be saved


Step 4-2

WoWRoster Administrator Account Setup

A message about MySQL will always appear, this is mainly informational unless your MySQL server version is not high enough to run WoWRoster

MySQL server version 4.1.0 or higher is required for Roster.

You are running:

    * Your server version: 5.0.45-Debian_1ubuntu3.3-log
    * Your client version: 5.0.45

Your server meets the MySQL requirements for Roster.

Your configuration file has been written with the initial values
But installation will not be complete until you create an administrator account in this step
WoWRoster Install Step 3

(See Figure 'WoWRoster Install Step 3')

After you're satisfied with the values for the above fields, click the [ Proceed] button to continue.


Step 5

WoWRoster Install Step 4

The installer will automatically fill your conf.php file.
(See Figure 'WoWRoster Install Step 4')

If the creation of conf.php failed, the installer will give you code to copy and paste in this file.

You will be notified if your passwords didn't match, and it will be reset to a default of "admin"
You can change this later by going to Roster Config.

This will also be the password for the Officer/Upload and Guild/User logins, change them via RosterCP

Enter your WoWRoster Admin password to navigate to the After Install Guide
The After Install Guide helps you configure WoWRoster for first time use
you can skip this step by clicking "Skip install guide ->"

You should now have a functional installation of WoWRoster.
Remove the files install.php, upgrade.php and the install/ folder for extra security.

Navigate to Roster Control Panel
This is where you can configure all aspects of WoWRoster.


Upgrading Roster

As always, we recommend a fresh install, in a clean folder, and a clean database.
But for those that absolutely need to upgrade, we have worked really hard for you on the upgrade script.


Special Instructions for < Version 2.0.0

There is no upgrade path from versions lower than 2.0.0

This is because Roster 2.0.0 gathers much more data from WoW than earlier versions and causes errors in the core files when the database is upgraded.


General Instructions

Step 1

BACK UP YOUR DATABASE.


This cannot be stressed enough.


You should consider using phpMyAdmin (http://www.phpmyadmin.net)
This can use 'Completed Inserts' that will be necessary if you need to restore the database.


Step 2

Seriously, go back up your database since you skipped step 1.


Step 3

Back up your conf.php file.
Usually we would never touch this file during an upgrade...but just in case something weird happens


Step 4

Unzip the new WoWRoster version.
Overwrite ALL files!
It's best to delete everything in the roster folder EXCEPT! your conf.php file first, before copying over files.


Step 5

Access www.[domain].com/roster

Select the version you're upgrading from.
The script will perform all the necessary changes to upgrade from the version you selected to the newest version.


Step 6

Navigate to RosterCP, this is where you can configure all aspects of WoWRoster.

Remove the file install.php for extra security.


Re-Installing Roster

Perhaps there has been some weird problem that you cannot solve
Such as database corruption, updating errors, data errors, etc...

You can try re-installing Roster


Pre re-install

Make sure you have the install directory and install.php in your roster folder on your web server


Step 1

Delete conf.php from the roster directory


Step 2

Drop all `roster_` tables in the database you created for Roster
Note: `roster_` may be different if you changed the table prefix

You can also just drop the database you created for Roster
If you didn't create a new database for Roster, use the first method for removing the tables


Step 3

Run install.php


Un-Installing Roster

First of all, we'd like to thank you for trying our software and hope it was a good experience for you
Sometimes Roster doesn't work on all servers although we try our best to improve this aspect


Step 1

Remove/delete the roster directory from your webserver


Step 2

Drop all `roster_` tables in the database you created for Roster
Note: `roster_` may be different if you changed the table prefix

You can also just drop the database you created for Roster
If you didn't create a new database for Roster, use the first method for removing the tables

Personal tools
Namespaces
Variants
Actions
WoWRoster
Navigation
Toolbox