webtrees ReadMe File

Note: This information is also available at the webtrees WIKI

CONTENTS

  1. LICENSE
  2. INTRODUCTION
  3. SYSTEM REQUIREMENTS
  4. INSTALLATION
  5. UPGRADING
  6. GEDCOM (family tree) FILES
  7. SECURITY
  8. BACKUP
  9. CONVERTING from PHPGEDVIEW

LICENSE

back to top
* webtrees: Web based Family History software
* Copyright (C) 2010 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.


INTRODUCTION

back to top
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/ .

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.


SYSTEM REQUIREMENTS

back to top
To install webtrees, you need:

INSTALLATION

back to top
Once you have checked the SYSTEM REQUIREMENTS above, installing webtrees is really easy.

  1. Download the latest version of webtrees available from http://launchpad.net/webtrees
  2. Unzip the files and upload them to an empty directory on your web server.
  3. Open your web browser and type the URL for your webtrees site (for example, http://www.yourserver.com/webtrees) into the address bar.
  4. The webtrees setup wizard will start automatically. This will ask you a few questions about your server, and then generate a configuration file for you. At the end of the setup you will be asked to upload the configuration file to the webserver. This is a security check to make sure only the site owner can configure it.

That's it!

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:

  1. On successful completion of all steps you will be taken to the GEDCOM (family tree) administration page where you can:
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.

UPGRADING

back to top
Upgrading webtrees is quick and easy. You are recommened to upgrade whenever a new version is available.
  1. Now would be a good time to make a backup.
  2. Download the latest version of webtrees available from http://launchpad.net/webtrees
  3. Unzip the .ZIP file, and upload the files to your web server, overwriting the existing files.

NOTE for Macintosh users. Step 3 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!). Futher details and recommendations for suitable tools can be found by searching google.com

If you have any problems or questions, help is available on the webtrees forum.

GEDCOM (family tree) FILES

back to top
When you IMPORT or UPLOAD a GEDCOM (family tree) 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

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:
  1. Decide if you want to IMPORT or UPLOAD your new GEDCOM file.
  2. Go to your webtrees GEDCOM configuration page. On the line relating to this GEDCOM file click either IMPORT or UPLOAD.
  3. 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.
  4. Click "SAVE". webtrees will validate the GEDCOM again before importing.
  5. You can use a ZIP file to upload the GEDCOM, but only if you use the UPLOAD option. The file name can be anything you choose. NOTE: The ability to upload ZIP files does not currently work. If your GEDCOM file is too large to upload, you should use the IMPORT option.

SECURITY

back to top
Security in webtrees means ensuring your site is safe from unwanted intrusions, hacking, or access to data and configuration files. The developers of webtrees regard security as an extremely important part of its development and have made every attempt to ensure your data is safe.

The area most at risk of intrusion would be the /data folder that contains your config.ini.php file, and various temporary files. If you are concerned there may be a risk there is a very simple test you can do: try to fetch config.ini.php by typing http:// url to your site /data/config.ini.php in your web browser.

The most likely result is an "access denied" message like this:
Forbidden

You don't have permission to access /data/xxxx.ged on this server.

This indicates that the protection built into webtrees is working, and no further action is required.

In the unlikely event you do fetch the file (you will just see a semicolon), then that protection is not working on your site and you should take some further action.

If your server runs PHP in CGI mode, then change the permission of the /data directory to 700 instead of 777. This will block access to the httpd process, while still allowing access to PHP scripts.

This will work for perhaps 99% of all users. Only the remaining 1% should consider the most complex solution, moving the /data/ directory out of accessible web space. (Note: In many shared hosting environments this is not an option anyway.


If you do find it necessary, following is an example of the process required:

If your home directory is something like /home/username, and the root directory for your web site is /home/username/public_html, and you have installed webtrees in the public_html/webtrees directory, then you would create a new data folder in your home directory at the same level as your public_html directory, such as /home/username/private/data, and place your GEDCOM (family tree) file there. Then change the Data file directory setting on the Admin --> Site Administration page from the default data/ to the new location /home/username/private/data You will have two data directories:

BACKUP

back to top
Backups are good. Whatever problem you have, it can always be fixed from a good backup.

To make a backup of webtrees, you need to make a copy of the following
  1. The files in the webtrees/data directory.
  2. The files in the webtrees/media directory.
  3. The tables in the database. Freely available tools such as phpMyAdmin allow you to do this in one click.
Remember that most web hosting services do NOT backup your data, and this is your responsibility.

CONVERTING from PHPGEDVIEW

back to top
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:

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 and a directory outside of PGV, then duplicating the media configuration in webtrees media folder, and setting the media firewall directory to your PGV folder will make your media available to webtrees.

After the transfer is complete, you should check your GEDCOM 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.

The transfer wizard is accessed in webtrees from the bottom of the "Manage GEDCOM's" 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.