webtrees ReadMe File
Note: This information is also available at the webtrees WIKI
- SYSTEM REQUIREMENTS
- GEDCOM (family tree) FILES
- CONVERTING from PHPGEDVIEW
* webtrees: Web based Family History software
* Copyright (C) 2013 webtrees development team.
* Derived from PhpGedView - Copyright (C) 2002 to 2010 PGV Development Team.
* All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See the file GPL.txt included with this software for more detailed licensing information.
webtrees is the web's leading online collaborative genealogy application.
webtrees allows you to view and edit your genealogy on your website. It has full editing capabilities, full privacy functions, and supports multimedia like photos and document images. As an on line program, it fosters extended family participation and good ancestral recording habits, as it simplifies the process of collaborating with others working on your family lines. Your latest information is always on your web site and available for others to see, defined by viewing rules you set. For more information and to see working demos, visit http://webtrees.net/ .
- It works from standard GEDCOM files, and is therefore compatible with every major desktop application.
- It aims to to be efficient and effective by using the right combination of third-party tools, design techniques and open standards.
webtrees is Open Source software that has been produced by people from many countries freely donating their time and talents to the project. All service, support, and future development is dependent on the time developers are willing to donate to the project, often at the expense of work, recreation, and family. Beyond the few donations received from users, developers receive no compensation for the time they spend working on the project. There is also no outside source of revenue to support the project. Please consider these circumstances when making support requests and consider volunteering your own time and skills to make the project even stronger and better.
To install webtrees, you need:
- A webserver. Apache and IIS are the most common types. There are no requirements to use a specific type or version.
- Approximately 65MB of disk space for the application files, plus whatever is needed for your multi-media files, GEDCOM files and database.
- PHP 5.3.2 or later. Note that many web hosts offer *both* PHP4 and PHP5, typically with PHP4 as the default. If this is the case, you will be able to switch between the two using a control panel or a configuration file. Refer to your web host's support documentation for details.
- PHP should be configured with the PHP/PDO library for MySQL. This is a server configuration option. It is enabled by default on most hosts. See http://php.net/pdo
- PHP should be configured to allow sufficient server resources (memory and execution time) for the size of your system. Typical requirements are:
- Small systems (500 individuals): 16-32MB, 10-20 seconds
- Medium systems (5000 individuals): 32-64MB, 20-40 seconds
- Large systems (50000 individuals): 64-128MB, 40-80 seconds
- MySQL 5.0.13 or later. Note that webtrees can share a single database with other applications, by choosing a unique table prefix during configuration. If the number of databases is not restricted, you can set up a database purely for use by webtrees and create a separate user and password for only your genealogy.
- Internet browser compatability. webtrees supports the use of most current versions of open-source browsers such as Firefox, Chrome, and Safari. We will do our best to support others such as Opera and Internet Explorer, though not their earlier versions. Currently many things do not work well in IE7, and some not in IE8 either. We strongly recommend anyone using these obsolete browsers upgrade as soon as possible. We are also aware that IE and Opera browsers provide poor RTL language support generally, so cannot recommend those for sites requiring RTL languages.
- To view sites that contain both left-to-right and right-to-left text (e.g. English data on Hebrew pages), you will need to use a browser that provides support for the HTML5 dir="auto" attribute. At present, only browsers based on the WebKit engine (Chrome and Safari) have this. The Gecko (Firefox) and Presto (Opera) engines promise to provide this soon.
Installing webtrees is really easy. All you need is a webserver with PHP and MySQL. Almost every web hosting service provides these, but be sure to confirm that those supplied meet or exceed the minimum system requirements.
- Download webtrees-1.3.2.zip from http://launchpad.net/webtrees
- Unzip the files and upload them to an empty directory on your web server.
- Open your web browser and type the URL for your webtrees site (for example, http://www.yourserver.com/webtrees) into the address bar.
- The webtrees setup wizard will start automatically. Simply follow the steps, answering each question as you proceed. (See '''Step Six''' procedure below.)
However, before you can use webtrees, you need one (or possibly more) GEDCOM (family tree) files. If you have been doing your research using a desktop program such as Family Tree Maker, you can use it's "save as GEDCOM" function to create a GEDCOM file. If you are starting from scratch, then webtrees can create a GEDCOM file for you. Alternatively, you can import data directly from PhpGedView.
So, after installation, you'll be directed to the GEDCOM (family tree) administration page, where you'll need to select one of the following options:
There are lots of configuration options. You'll probably want to review the privacy settings first. Don't worry too much about all the other options - the defaults are good for most people. If you get stuck, there's lots of built-in help and you can get friendly advice from the help forum.
- On successful completion of all steps you will be taken to the GEDCOM (family tree) administration page where you can:
- UPLOAD a GEDCOM file from your local machine
- ADD a GEDCOM file from your server, (if your GEDCOM file is too large to upload, you can copy it to the webtrees/data folder, and load it from there)
- CREATE a new, empty GEDCOM file
- TRANSFER your existing PGV data straight into webtrees, using the PGV-to-webtrees wizard described in section 9 below: CONVERTING from PHPGEDVIEW
Upgrading webtrees is quick and easy. It is strongly recommended that you upgrade your installation whenever a new version is made available. Even minor webtrees version updates usually contain a significant number of bug fixes as well as interface improvements and program enhancements. The Administration page of your webtrees installation will display a notification whenever a new version is available.
- Now would be a good time to make a backup.
- Download the latest version of webtrees available from http://launchpad.net/webtrees
- While you are in the middle of uploading the new files, a visitor to your site would encounter a mixture of new and old files. This could cause unpredictable behaviour or errors. To prevent this, create the file data/offline.txt. While this file exists, visitors will see a "site unavailable - come back later" message.
- Unzip the .ZIP file, and upload the files to your web server, overwriting the existing files.
- Delete the file data/offline.txt
NOTE for Macintosh users. Step 4 assumes you are using a copy tool that merges directories rather than replaces them. (Merge is standard behaviour on Windows and Linux.) If you use the Macintosh Finder or other similar tool to perform step 3, it will replace your configuration, media and other directories with the empty/default ones from the installation. This would be very bad (but you did take a backup in step 1, didn't you!). Further details and recommendations for suitable tools can be found by searching google.com
NOTE for anyone using custom code (modules, themes, etc.). It is very likely that your custom code will not work when you upgrade webtrees. We recommend that you disable all custom code before you apply the upgrade. Disable custom modules, switch over to a standard theme, and remove any code "hacks". Once the upgrade is complete and you are satisfied your site is fully operational contact the source of those modules or themes for a new version.
GENERAL NOTE: Depending on the changes in the new files, your browser configuration and possibly other factors, it is always wise to clear both the webtrees cache and your browser cache immediately after the upgrade is completed. The webtrees cache can be cleared simply by going to Administration -> Cleanup data directory and deleting the cache.
If you have any problems or questions, help is available on the webtrees forum.
When you ADD, IMPORT or UPLOAD a family tree (GEDCOM) file in webtrees the data from the file is all transferred to the database tables. The file itself is no longer used or required by webtrees
- If you use ADD or IMPORT, your file remains in the webtrees/data folder you first copied it to, and will not be changed by any subsequent editing of the webtrees data.
- If you use UPLOAD, the file is left in its original location, and again remains untouched.
When or if you change your genealogy data outside of webtrees, it is not necessary to delete your GEDCOM file or database from webtrees and start over. Follow these steps to update a GEDCOM that has already been imported:
- Decide if you want to IMPORT or UPLOAD your new GEDCOM file.
- Use UPLOAD if your family tree file is smaller than your server's PHP file upload limit (often 2MB).The new file can have any name you choose.
- Use IMPORT for larger files. In this case you need to use FTP to first copy your file to the webtrees/data folder. Either copy over the existing file, or use a different name.
- From the Administration page, go to your webtrees Family trees (GEDCOM) configuration page. On the line relating to this particular family tree (GEDCOM) file (or a new one) click either IMPORT or UPLOAD.
- Take careful note of the media items option ("If you have created media objects in webtrees, and have edited your gedcom off-line using a program that deletes media objects, then tick this box to merge the current media objects with the new GEDCOM.") In most cases you should leave this box UNCHECKED.
- Click "SAVE". webtrees will validate the GEDCOM again before importing. During this process, webtrees copies your entire family tree (GEDCOM file) to a 'chunk' table within your database. Depending on the coding of your file, its file size and the capabilities of your server and the supporting software, this may take some time. No progress bar will show while the data is being copied and should you navigate away from this page, the process is suspended. It will start again when you return to the Family Tree management page.
Every Family History program has its own method of creating GEDCOM files, and differing output format options to select from. webtrees' import routines can read many different formats, but not necessarily all. If your software has a "UTF8" option you should always use that. However, webtrees has been tested with these alternative formats:
Remember that most web hosting services do NOT backup your data, and this is your responsibility.
- The files in the webtrees/data directory.
- The files in the webtrees/media directory.
- The tables in the database. Freely available tools such as phpMyAdmin allow you to do this in one click.
If you are moving to webtrees from an existing PhpGedView ("PGV") setup, and your PGV install meets certain requirements, webtrees has provided a "wizard" to help make the transfer of the majority of your data a relatively quick and painless operation. See exceptions noted below. Please note that we have designed this wizard so as to not disturb your existing PGV installation, leaving all those settings, data and your website intact and fully functional.
The requirements are:
- The PGV database and index directory must be on the same server as webtrees.
- Your webtrees MySQL database username and password must either be the same as your PGV username and password, or if you created a new user for webtrees, that new user must also have full privileges to access your PGV database.
- PGV must be at least versions 4.2.3 or 4.2.4 (this corresponds to an internal "PGV_SCHEMA_VERSION" of between 10 and 14). Newer versions, including the current version 4.3 SVN work (as of JAN 2013) also currently, and later versions, should they be released, will probably work, provided the data structures do not change;
- All changes in PGV must be accepted (as pending edits will not be transfered).
- All existing PGV users must have an email address, and it must be unique to that user (PGV allows users to delete their email address, or have the same email address as other users; webtrees requires that all users have their own unique email address).
- The wizard transfer process overwrites the username and password you may have entered in setting up the initial admin account. The main administration user name and password in webtrees will be identical to the admin user name and password from PGV after running the wizard. Once done, you can change it back if desired.
Warning: Please read the webtrees FAQ section on importing from PhpGedView before doing a transfer as important pre-processing steps and known issues may be outlined there.
Important Note: This transfer wizard is not able to assist with moving media items. You will need to set up and move or copy your media configuration and objects separately after the transfer wizard is finished. If you use the media firewall in PGV with a directory outside the PGV root, then duplicating the media configuration in webtrees to use the same firewall directory should make your media available in webtrees.
After the transfer is complete, you should check your family tree configuration and privacy settings. Due to differences in internal data formats, the following settings are not yet transfered: custom privacy restrictions, block configuration, FAQs, and HTML blocks. We hope to add these to the wizard in a future release.
Custom privacy restrictions, block configuration, FAQs and HTML blocks
We hope to add these to the wizard in a future release. Otherwise, read the FAQ section on importing from PhpGedView before reporting a problem in the forum.
The transfer wizard is accessed in webtrees from the bottom of the "Manage family trees" page to which you will be automatically directed once you have completed the initial webtrees installation steps (section 4 above: INSTALLATION).This option is only available on a new, empty webtrees installation; once you have created a GEDCOM (family tree) or added user accounts, it will no longer be available.