xref: /webtrees/README.md (revision 823e27eda4744015a8b14c62635500606ea0acfa)
16b5264c5SGreg Roach[![Latest Stable Version](https://poser.pugx.org/fisharebest/webtrees/v/stable.svg)](https://packagist.org/packages/fisharebest/webtrees)
2f80ca684SGreg Roach[![Latest Stable Version](https://poser.pugx.org/fisharebest/webtrees/v/unstable.svg)](https://packagist.org/packages/fisharebest/webtrees)
3329f5281SGreg Roach[![License](https://poser.pugx.org/fisharebest/webtrees/license)](https://packagist.org/packages/fisharebest/webtrees)
4a592e1c1SGreg Roach[![Build Status](https://travis-ci.org/fisharebest/webtrees.svg?branch=master)](https://travis-ci.org/fisharebest/webtrees)
5ad92d32aSGreg Roach[![Coverage Status](https://coveralls.io/repos/github/fisharebest/webtrees/badge.svg?branch=master)](https://coveralls.io/github/fisharebest/webtrees?branch=master)
6e00de034SGreg Roach[![Translation status](https://translate.webtrees.net/widgets/webtrees/-/svg-badge.svg)](https://translate.webtrees.net/engage/webtrees/?utm_source=widget)
7e48069ebSGreg Roach[![SensioLabsInsight](https://insight.sensiolabs.com/projects/78a5ba19-7ddf-4a58-8262-1c8a149f38de/mini.png)](https://insight.sensiolabs.com/projects/78a5ba19-7ddf-4a58-8262-1c8a149f38de)
8c9b50c59SGreg Roach[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/fisharebest/webtrees/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/fisharebest/webtrees/?branch=master)
982f63a0eSGreg Roach[![Code Climate](https://codeclimate.com/github/fisharebest/webtrees/badges/gpa.svg)](https://codeclimate.com/github/fisharebest/webtrees)
103344c7f9SGreg Roach
11fac25c68SRico Sonntag# webtrees
12fac25c68SRico Sonntag
13e00de034SGreg RoachThe project’s website is [www.webtrees.net](https://www.webtrees.net).
1487f36d93SGreg RoachFurther documentation is available at [wiki.webtrees.net](https://wiki.webtrees.net) and [webtrees.github.io](https://webtrees.github.io).
15b4ef7f82SRico Sonntag
16fac25c68SRico Sonntag## Contents
17fac25c68SRico Sonntag
18fac25c68SRico Sonntag* [License](#license)
19fac25c68SRico Sonntag* [Introduction](#introduction)
2026a22ad2SJustCarmen* [System requirements](#system-requirements)
21bd82e704SDavid Drury* [Internet browser compatibility](#internet-browser-compatibility)
22fac25c68SRico Sonntag* [Installation](#installation)
23fac25c68SRico Sonntag* [Upgrading](#upgrading)
24bd82e704SDavid Drury* [Building and developing](#building-and-developing)
2526a22ad2SJustCarmen* [Gedcom (family tree) files](#gedcom-family-tree-files)
26fac25c68SRico Sonntag* [Security](#security)
27fac25c68SRico Sonntag* [Backup](#backup)
2826a22ad2SJustCarmen* [Converting from phpgedview](#converting-from-phpgedview)
29fac25c68SRico Sonntag
30b4ef7f82SRico Sonntag
3126a22ad2SJustCarmen### License
32fac25c68SRico Sonntag
33a25f0a04SGreg Roach* **webtrees: online genealogy**
341062a142SGreg Roach* Copyright (C) 2018 webtrees development team
35fac25c68SRico Sonntag
36a25f0a04SGreg RoachThis program is free software: you can redistribute it and/or modify
37a25f0a04SGreg Roachit under the terms of the GNU General Public License as published by
38a25f0a04SGreg Roachthe Free Software Foundation, either version 3 of the License, or
39a25f0a04SGreg Roach(at your option) any later version.
40fac25c68SRico Sonntag
41a25f0a04SGreg RoachThis program is distributed in the hope that it will be useful,
42a25f0a04SGreg Roachbut WITHOUT ANY WARRANTY; without even the implied warranty of
43a25f0a04SGreg RoachMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44a25f0a04SGreg RoachGNU General Public License for more details.
45fac25c68SRico Sonntag
46a25f0a04SGreg RoachYou should have received a copy of the GNU General Public License
47a25f0a04SGreg Roachalong with this program. If not, see <http://www.gnu.org/licenses/>.
48fac25c68SRico Sonntag
49fac25c68SRico Sonntag
5026a22ad2SJustCarmen### Introduction
51fac25c68SRico Sonntag
52fac25c68SRico Sonntag**webtrees** is the web's leading online collaborative genealogy application.
53fac25c68SRico Sonntag
54fac25c68SRico Sonntag* It works from standard GEDCOM files, and is therefore compatible with every
55fac25c68SRico Sonntagmajor desktop application.
56fac25c68SRico Sonntag* It aims to to be efficient and effective by using the right combination of
57fac25c68SRico Sonntagthird-party tools, design techniques and open standards.
58fac25c68SRico Sonntag
59fac25c68SRico Sonntag**webtrees** allows you to view and edit your genealogy on your website. It has
60e667f3d4SGreg Roachfull editing capabilities, full privacy functions, and supports imedia such as
61fac25c68SRico Sonntagphotos and document images. As an online program, it fosters extended family
62fac25c68SRico Sonntagparticipation and good ancestral recording habits, as it simplifies the process
63fac25c68SRico Sonntagof collaborating with others working on your family lines. Your latest information
64fac25c68SRico Sonntagis always on your web site and available for others to see, defined by viewing
65fac25c68SRico Sonntagrules you set. For more information and to see working demos, visit
66cdc90107SGreg Roach[webtrees.net](https://webtrees.net/).
67fac25c68SRico Sonntag
68fac25c68SRico Sonntag**webtrees** is Open Source software that has been produced by people from many
69fac25c68SRico Sonntagcountries freely donating their time and talents to the project. All service,
70fac25c68SRico Sonntagsupport, and future development is dependent on the time developers are willing
71fac25c68SRico Sonntagto donate to the project, often at the expense of work, recreation, and family.
72fac25c68SRico SonntagBeyond the few donations received from users, developers receive no compensation
73fac25c68SRico Sonntagfor the time they spend working on the project. There is also no outside source
74fac25c68SRico Sonntagof revenue to support the project. Please consider these circumstances when
75fac25c68SRico Sonntagmaking support requests and consider volunteering your own time and skills to make
76fac25c68SRico Sonntagthe project even stronger and better.
77fac25c68SRico Sonntag
78fac25c68SRico Sonntag
7926a22ad2SJustCarmen### System requirements
80fac25c68SRico Sonntag
81fac25c68SRico SonntagTo install **webtrees**, you need:
82fac25c68SRico Sonntag
833606202eSDavid Drury* A webserver. Apache, NGINX and IIS are the most common types. There are no
843606202eSDavid Drury requirements to use a specific type or version.
85fac25c68SRico Sonntag* Approximately 65MB of disk space for the application files, plus whatever is
86e667f3d4SGreg Roach  needed for your media files, GEDCOM files and database.
873606202eSDavid Drury* PHP 7.0 or later.  Servers with PHP 5.3 - 5.6 should use **webtrees** 1.7.
883606202eSDavid Drury  Servers with PHP 5.2 should use **webtrees** 1.4.
893606202eSDavid Drury   * PHP should be configured with the following libraries:
90f0195b90SDavid Drury     * PDO and pdo_mysql to enable access to MySQL. These are enabled by default
91f0195b90SDavid Drury     on most hosts. See [http://php.net/pdo](http://php.net/pdo),
92f0195b90SDavid Drury     * php\_gd(2) for images
93f0195b90SDavid Drury     * PHP_XML for reports.
94fac25c68SRico Sonntag   * PHP should be configured to allow sufficient server resources (memory and
95fac25c68SRico Sonntag     execution time) for the size of your system. Typical requirements are:
96e667f3d4SGreg Roach      * Small systems (500 individuals): 16–32 MB, 10–20 seconds
97e667f3d4SGreg Roach      * Medium systems (5,000 individuals): 32–64 MB, 20–40 seconds
98e667f3d4SGreg Roach      * Large systems (50,000 individuals): 64–128 MB, 40–80 seconds
99f0195b90SDavid Drury* MySQL or MariaDB. Note that **webtrees** can share a single database
1003606202eSDavid Drury  with other applications, by choosing a unique table prefix during setup.
101fac25c68SRico Sonntag  If the number of databases is not restricted, you can set up a database purely
102fac25c68SRico Sonntag  for use by **webtrees** and create a separate user and password for only
103fac25c68SRico Sonntag  your genealogy.
1043606202eSDavid Drury
1053606202eSDavid Drury
106bd82e704SDavid Drury  ### Internet browser compatibility
1073606202eSDavid Drury
1083606202eSDavid Drury  **webtrees** supports the use of most current browsers such as Edge, Firefox,
1093606202eSDavid Drury  Chrome, and Safari. We will do our best to support the current versions of others
110f0195b90SDavid Drury  such as Opera and Internet Explorer, however note that versions of Internet Explorer
111f0195b90SDavid Drury  prior to IE11 do not work with **webtrees**. We strongly recommend anyone using an
1123606202eSDavid Drury  obsolete browser to upgrade as soon as possible. We are also aware that Internet
1133606202eSDavid Drury  Explorer provides poor RTL language support generally, so cannot recommend it for
114da644f9cSMatthew Noorenberghe  sites requiring RTL languages.
115fac25c68SRico Sonntag* To view sites that contain both left-to-right and right-to-left text (e.g.
116fac25c68SRico Sonntag  English data on Hebrew pages), you will need to use a browser that provides
1173606202eSDavid Drury  support for the HTML5 **dir="auto"** attribute. At present, neither Edge
118*823e27edSEric Wolf  nor Internet Explorer support this.
119f0195b90SDavid Drury* HTML Frames. Note that **webtrees** uses cookies to track login sessions.
120f0195b90SDavid Drury  Internet Explorer users should review
121f0195b90SDavid Drury  ``Settings`` / ``Internet Options`` / ``Privacy`` / ``Advanced`` for more details.
122fac25c68SRico Sonntag
123fac25c68SRico Sonntag
12426a22ad2SJustCarmen### Installation
125fac25c68SRico Sonntag
1263606202eSDavid DruryOnce the system requirements are met, perform the following steps
127fac25c68SRico Sonntag
1283606202eSDavid Drury1. Download the latest stable version from [webtrees.net](https://webtrees.net/)
1293606202eSDavid Drury2. Unzip the files and upload them to an empty folder on your web server.
130fac25c68SRico Sonntag3. Open your web browser and type the URL for your **webtrees** site (for example,
131f0195b90SDavid Drury   ``http://www.yourserver.com/webtrees`` into the address bar.
132fac25c68SRico Sonntag4. The **webtrees** setup wizard will start automatically. Simply follow the steps,
133f0195b90SDavid Drury   answering each question as you proceed.
134fac25c68SRico Sonntag
135fac25c68SRico SonntagThat's it!
136fac25c68SRico Sonntag
1373606202eSDavid DruryHowever, before you can use **webtrees**, you need at least one GEDCOM
1383606202eSDavid Drury(family tree) file. If you have been doing your research using a desktop program
139243bf6b4SGreg Roachsuch as Family Tree Maker, you can use it's “save as GEDCOM” function to create
140fac25c68SRico Sonntaga GEDCOM file. If you are starting from scratch, then **webtrees** can create a
141fac25c68SRico SonntagGEDCOM file for you. Alternatively, you can import data directly from PhpGedView.
142fac25c68SRico Sonntag
143f0195b90SDavid DruryOn successful installation you will be taken to the
1443606202eSDavid Drury ``Control panel`` -> ``Manage family trees``  page where you can:
145fac25c68SRico Sonntag * UPLOAD a GEDCOM file from your local machine
146fac25c68SRico Sonntag * ADD a GEDCOM file from your server, (if your GEDCOM file is too large to upload,
147fac25c68SRico Sonntag   you can copy it to the webtrees/data folder, and load it from there)
148fac25c68SRico Sonntag * CREATE a new, empty GEDCOM file
149316142c6SGreg Roach * TRANSFER your existing PhpGedView data straight into **webtrees**, using the
150f0195b90SDavid Drury   PhpGedView-to-**webtrees** wizard described below:
1511ad46916SMatthew Noorenberghe   [Converting from phpgedview](#converting-from-phpgedview)
152fac25c68SRico Sonntag
153fac25c68SRico SonntagThere are *lots* of configuration options. You'll probably want to review the
154fac25c68SRico Sonntagprivacy settings first. Don't worry too much about all the other options - the
155fac25c68SRico Sonntagdefaults are good for most people. If you get stuck, there's lots of built-in
156cdc90107SGreg Roachhelp and you can get friendly advice from the [help](https://webtrees.net/forums)
157fac25c68SRico Sonntagforum.
158fac25c68SRico Sonntag
159fac25c68SRico Sonntag
16026a22ad2SJustCarmen### Upgrading
161b4ef7f82SRico Sonntag
162fac25c68SRico SonntagUpgrading **webtrees** is quick and easy. It is strongly recommended that you
163fac25c68SRico Sonntagupgrade your installation whenever a new version is made available. Even minor
164fac25c68SRico Sonntag**webtrees** version updates usually contain a significant number of bug fixes
1653606202eSDavid Druryas well as interface improvements and program enhancements.
166fac25c68SRico Sonntag
167f0195b90SDavid Drury* **Automatic upgrade**
168f0195b90SDavid Drury
1693606202eSDavid Drury  **webtrees** has an automatic upgrade facility. An administrator upon logging in
1703606202eSDavid Drurywill receive notification when a new version is available and an option to start
1713606202eSDavid Drurythe automatic upgrade. If for some reason the automatic upgrade should fail
1723606202eSDavid Drurythen a manual upgrade should be performed.
1733606202eSDavid Drury
174f0195b90SDavid Drury* **Manual upgrade**
175f0195b90SDavid Drury
176fac25c68SRico Sonntag  1. Now would be a good time to make a [backup](#backup).
177fac25c68SRico Sonntag  2. Download the latest version of **webtrees** available from
178cdc90107SGreg Roach   [webtrees.net](https://webtrees.net/)
179243bf6b4SGreg Roach  3. While you are in the middle of uploading the new files,
180fac25c68SRico Sonntag   a visitor to your site would encounter a mixture of new and old files.  This
181fac25c68SRico Sonntag   could cause unpredictable behaviour or errors.  To prevent this, create the
182fac25c68SRico Sonntag   file **data/offline.txt**.  While this file exists, visitors will see a
183243bf6b4SGreg Roach   “site unavailable - come back later” message.
184fac25c68SRico Sonntag  4. Unzip the .ZIP file, and upload the files to your web server, overwriting the existing files.
185fac25c68SRico Sonntag  5. Delete the file **data/offline.txt**
186fac25c68SRico Sonntag
1873606202eSDavid Drury
188fac25c68SRico Sonntag#### Note for Macintosh users
189b4ef7f82SRico Sonntag
190fac25c68SRico SonntagStep 4 assumes you are using a copy tool that **merges** directories rather than
191fac25c68SRico Sonntagreplaces them. (**Merge** is standard behaviour on Windows and Linux.) If you use
192fac25c68SRico Sonntagthe Macintosh Finder or other similar tool to perform step 3, it will **replace**
193fac25c68SRico Sonntagyour configuration, media and other directories with the empty/default ones from
194fac25c68SRico Sonntagthe installation. This would be very bad (but you did take a backup in step 1,
195fac25c68SRico Sonntagdidn't you!). Further details and recommendations for suitable tools can be found
196fac25c68SRico Sonntagby searching [google.com](http://google.com).
197fac25c68SRico Sonntag
198fac25c68SRico Sonntag
199fac25c68SRico Sonntag#### Note for anyone using custom code (modules, themes, etc.).
200b4ef7f82SRico Sonntag
201fac25c68SRico SonntagIt is **very likely** that your custom code will not work when you upgrade
202fac25c68SRico Sonntag**webtrees**.
203fac25c68SRico Sonntag
204fac25c68SRico Sonntag**We recommend that you disable all custom code before you apply the upgrade.**
205fac25c68SRico Sonntag
2063606202eSDavid DruryDisable custom modules, switch over to a standard theme, and remove any code “hacks”.
2073606202eSDavid DruryOnce the upgrade is complete and you are satisfied that your site is fully operational contact
2083606202eSDavid Drurythe source of those modules or themes for a new version.
209fac25c68SRico Sonntag
210fac25c68SRico Sonntag
211fac25c68SRico Sonntag#### General note
212b4ef7f82SRico Sonntag
213fac25c68SRico SonntagDepending on the changes in the new files, your browser configuration
214fac25c68SRico Sonntagand possibly other factors, it is always wise to clear both the **webtrees** cache
215fac25c68SRico Sonntagand your browser cache immediately after the upgrade is completed. The **webtrees**
2163606202eSDavid Drurycache can be cleared simply by going to ``Control Panel`` -> ``Family Trees`` ->
2173606202eSDavid Drury``Clean-up data folder`` and deleting the cache.
218fac25c68SRico Sonntag
219fac25c68SRico SonntagIf you have any problems or questions, help is available on the
2204e53541cSKirill Uksusov[webtrees forum](https://www.webtrees.net/index.php/en/forum).
221fac25c68SRico Sonntag
222bd82e704SDavid Drury### Building and developing
223bd82e704SDavid Drury
224bd82e704SDavid DruryIf you want to build webtrees from source, or modify the code, you'll need to install
225bd82e704SDavid Drurya couple of tools first.
226bd82e704SDavid Drury
227bd82e704SDavid DruryYou will need [composer](https://getcomposer.org/) to install the PHP dependencies.
228bd82e704SDavid DruryThen run this command::
229bd82e704SDavid Drury
230bd82e704SDavid Drury* php composer.phar install
231bd82e704SDavid Drury
232bd82e704SDavid DruryYou will need [npm](https://www.npmjs.com/get-npm) to install the Javascript dependencies.
233bd82e704SDavid DruryThen run the commands:
234bd82e704SDavid Drury
235bd82e704SDavid Drury* npm install
2369845ccc6SRico Sonntag* npm run production
237bd82e704SDavid Drury
238bd82e704SDavid DruryYou will need to re-run the second of these any time you modify the file `webtrees.js`.
239fac25c68SRico Sonntag
24026a22ad2SJustCarmen### Gedcom (family tree) files
241fac25c68SRico Sonntag
2423606202eSDavid DruryWhen you ADD or IMPORT a family tree (GEDCOM) file in **webtrees** the
2433606202eSDavid Drurydata from the file is transferred to the database tables. The file itself
244f0195b90SDavid Druryremains in the **webtrees/data** folder and is no longer used or required
245f0195b90SDavid Druryby **webtrees**. Any subsequent editing of the **webtrees** data
2463606202eSDavid Drurywill not change this file
247fac25c68SRico Sonntag
248fac25c68SRico SonntagWhen or if you change your genealogy data outside of **webtrees**, it is not
249fac25c68SRico Sonntagnecessary to delete your GEDCOM file or database from **webtrees** and start
250fac25c68SRico Sonntagover. Follow these steps to update a GEDCOM that has already been imported:
251fac25c68SRico Sonntag
2523606202eSDavid Drury* Go to ``Control panel`` -> ``Manage family trees`` On the line relating to this particular family tree (GEDCOM)
2533606202eSDavid Drury  file (or a new one) select IMPORT.
254243bf6b4SGreg Roach* Take careful note of the media items option (_“If you have created media objects
255ed1bbedbSGreg Roach  in **webtrees**, and have edited your data off-line using software that
256fac25c68SRico Sonntag  deletes media objects, then tick this box to merge the current media objects
257243bf6b4SGreg Roach  with the new GEDCOM.”_) In most cases you should leave this box **UNCHECKED**.
258243bf6b4SGreg Roach* Click “SAVE”. **webtrees** will validate the GEDCOM again before importing.
259fac25c68SRico Sonntag  During this process, **webtrees** copies your entire family tree (GEDCOM file)
260fac25c68SRico Sonntag  to a 'chunk' table within your database. Depending on the coding of your file,
261fac25c68SRico Sonntag  its file size and the capabilities of your server and the supporting software,
262fac25c68SRico Sonntag  this may take some time. **No progress bar will show while the data is being
263fac25c68SRico Sonntag  copied** and should you navigate away from this page, the process is suspended.
264fac25c68SRico Sonntag  It will start again when you return to the Family Tree management page.
265fac25c68SRico Sonntag
266fac25c68SRico Sonntag
267bd82e704SDavid Drury#### Gedcom file Formats
268fac25c68SRico Sonntag
269fac25c68SRico SonntagEvery Family History program has its own method of creating GEDCOM files, and
270fac25c68SRico Sonntagdiffering output format options to select from. **webtrees'** import routines
271fac25c68SRico Sonntagcan read many different formats, but not necessarily all. If your software has
272243bf6b4SGreg Roacha “UTF8” option you should always use that. However, **webtrees** has been
273fac25c68SRico Sonntagtested with these alternative formats:
274fac25c68SRico Sonntag
275fac25c68SRico Sonntag* ANSI
276fac25c68SRico Sonntag   * imports OK, but is slow due to the translation into UTF8 as part
277fac25c68SRico Sonntag     of the import process.
278fac25c68SRico Sonntag* MAC
279fac25c68SRico Sonntag   * imports OK, but is slow due to the translation into UTF8 as part
280fac25c68SRico Sonntag     of the import process.
281fac25c68SRico Sonntag* DOS
282fac25c68SRico Sonntag   * imports OK, but is slow due to the translation into UTF8 as part
283fac25c68SRico Sonntag     of the import process.
284fac25c68SRico Sonntag* ANSEL
285243bf6b4SGreg Roach   * currently will not import. Gives warning *Error: cannot convert
286243bf6b4SGreg Roach     GEDCOM file from ANSEL encoding to UTF-8 encoding*. Later releases
2873606202eSDavid Drury     of **webtrees** may include the facility to translate from ANSEL to UTF8,
2883606202eSDavid Drury     but for now a standalone utility [is available here](https://dev.webtrees.net/ansel/)
2893606202eSDavid Drury     and should be used to convert the format to UTF-8 prior to importing.
290fac25c68SRico Sonntag
291fac25c68SRico Sonntag
29226a22ad2SJustCarmen### Security
293fac25c68SRico Sonntag
294fac25c68SRico Sonntag**Security** in _webtrees_ means ensuring your site is safe from unwanted
295fac25c68SRico Sonntagintrusions, hacking, or access to data and configuration files. The developers
296fac25c68SRico Sonntagof _webtrees_ regard security as an extremely important part of its development
297fac25c68SRico Sonntagand have made every attempt to ensure your data is safe.
298fac25c68SRico Sonntag
2993606202eSDavid DruryThe area most at risk of intrusion would be the **/data** folder that contains your
300fac25c68SRico Sonntagconfig.ini.php file, and various temporary files. If you are concerned there
301bd82e704SDavid Drurymay be a risk there is a very simple test you can do: try to fetch the file
302bd82e704SDavid Druryconfig.ini.php by typing **``url_to_your_server/data/config.ini.php``** in your web
303fac25c68SRico Sonntagbrowser.
304fac25c68SRico Sonntag
305243bf6b4SGreg RoachThe most likely result is an “access denied” message like this:
306fac25c68SRico Sonntag
307fac25c68SRico Sonntag    Forbidden
308fac25c68SRico Sonntag
309f0195b90SDavid Drury    You don't have permission to access /data/config.ini.php on this server.
310fac25c68SRico Sonntag
311fac25c68SRico SonntagThis indicates that the protection built into **webtrees** is working, and no
312fac25c68SRico Sonntagfurther action is required.
313fac25c68SRico Sonntag
314fac25c68SRico SonntagIn the unlikely event you do fetch the file (you will just see a semicolon),
315fac25c68SRico Sonntagthen that protection is not working on your site and you should take some further
316fac25c68SRico Sonntagaction.
317fac25c68SRico Sonntag
3183606202eSDavid DruryIf your server runs PHP in CGI mode, then change the permission of the **/data**
3193606202eSDavid Druryfolder to 700 instead of 777. This will block access to the httpd process,
320fac25c68SRico Sonntagwhile still allowing access to PHP scripts.
321fac25c68SRico Sonntag
322fac25c68SRico SonntagThis will work for perhaps 99% of all users. Only the remaining 1% should consider
3233606202eSDavid Drurythe most complex solution, moving the **/data** folder out of accessible web
324fac25c68SRico Sonntagspace. (**_Note:_** In many shared hosting environments this is not an option anyway.)
325fac25c68SRico Sonntag
326fac25c68SRico SonntagIf you do find it necessary, following is an example of the process required:
327fac25c68SRico Sonntag
3283606202eSDavid DruryIf your home folder is something like **/home/username**,
3293606202eSDavid Druryand the root folder for your web site is **/home/username/public_html**,
3303606202eSDavid Druryand you have installed **webtrees** in the **public_html/webtrees** folder,
3313606202eSDavid Drurythen you would create a new **data** folder in your home folder at the same
3323606202eSDavid Drurylevel as your public_html folder, such as **/home/username/private/data**,
333fac25c68SRico Sonntagand place your GEDCOM (family tree) file there.
334fac25c68SRico Sonntag
3353606202eSDavid DruryThen change the **Data folder** setting on the ``Control panel`` ->
3363606202eSDavid Drury``Website`` -> ``Website preferences`` page from the default **data/** to the new
337fac25c68SRico Sonntaglocation **/home/username/private/data**
338fac25c68SRico Sonntag
339fac25c68SRico SonntagYou will have **two** data directories:
340fac25c68SRico Sonntag
341fac25c68SRico Sonntag* [path to webtrees]/data - just needs to contain config.ini.php
342fac25c68SRico Sonntag* /home/username/private/data - contains everything else
343fac25c68SRico Sonntag
344fac25c68SRico Sonntag
345fac25c68SRico Sonntag#### Hypertext Transfer Protocol Secure (HTTPS)
346fac25c68SRico Sonntag
347fac25c68SRico Sonntag**webtrees** supports https access. If your website is configured with mandatory
348fac25c68SRico Sonntagor optional https support **webtrees** will operate correctly in either mode.
349fac25c68SRico Sonntag
350fac25c68SRico SonntagIf your website is configured with optional https support, **webtrees** can be
3513606202eSDavid Druryconfigured to switch to https at login. To enable https at login, set the Sign-in
3523606202eSDavid DruryURL setting on the ``Control panel`` -> ``Website`` ->
3533606202eSDavid Drury``Sign-in and registration`` to your https login URL, which is often in the form
354bd82e704SDavid Drury**``url_to_your_server/data/admin.php``**
355fac25c68SRico Sonntag
356fac25c68SRico Sonntag**Warning:** Misconfiguration can disable your login links. If this occurs,
357fac25c68SRico Sonntagaccess the login by typing the correct URL directly into your browser's address input.
358fac25c68SRico Sonntag
359fac25c68SRico Sonntag
36026a22ad2SJustCarmen### Backup
361fac25c68SRico Sonntag
362fac25c68SRico SonntagBackups are good. Whatever problem you have, it can always be fixed from a good
363fac25c68SRico Sonntagbackup.
364fac25c68SRico Sonntag
3653606202eSDavid DruryTo make a backup of **webtrees**, you need to make a copy of the following
366fac25c68SRico Sonntag
3673606202eSDavid Drury1. The files in the *webtrees/data* folder.
3683606202eSDavid Drury2. The files in the *webtrees/media* folder.
369fac25c68SRico Sonntag3. The tables in the database. Freely available tools such as
370fac25c68SRico Sonntag   [phpMyAdmin](http://www.phpmyadmin.net) allow you to do this in one click.
371fac25c68SRico Sonntag
372fac25c68SRico SonntagRemember that most web hosting services do NOT backup your data, and this is
373fac25c68SRico Sonntagyour responsibility.
374fac25c68SRico Sonntag
375fac25c68SRico Sonntag
37626a22ad2SJustCarmen### Converting from phpgedview
377fac25c68SRico Sonntag
378316142c6SGreg RoachIf you are moving to **webtrees** from an existing PhpGedView setup, and
379316142c6SGreg Roachyour PhpGedView install meets certain requirements, **webtrees** has provided a “wizard”
380fac25c68SRico Sonntagto help make the transfer of the majority of your data a relatively quick and
381fac25c68SRico Sonntagpainless operation. See exceptions noted below. Please note that we have designed
382316142c6SGreg Roachthis wizard so as to not disturb your existing PhpGedView installation, leaving all those
383fac25c68SRico Sonntagsettings, data and your website intact and fully functional.
384fac25c68SRico Sonntag
385fac25c68SRico SonntagThe requirements are:
386fac25c68SRico Sonntag
3873606202eSDavid Drury* The PhpGedView database and index folder must be on the same server as **webtrees**.
388fac25c68SRico Sonntag* Your **webtrees** MySQL database username and password must either be the same
389316142c6SGreg Roach  as your PhpGedView username and password, or if you created a new user for **webtrees**,
390316142c6SGreg Roach  that new user must also have full privileges to access your PhpGedView database.
391316142c6SGreg Roach* PhpGedView must be at least versions 4.2.3 or 4.2.4 (this corresponds to an internal
392243bf6b4SGreg Roach  “PGV_SCHEMA_VERSION” of between 10 and 14).  Newer versions, including the current
393fac25c68SRico Sonntag  version 4.3 SVN work (as of JAN 2013) also currently, and later versions, should
394fac25c68SRico Sonntag  they be released, will probably work, provided the data structures do not change;
395316142c6SGreg Roach* All changes in PhpGedView must be accepted (as pending edits will not be transfered).
396316142c6SGreg Roach* All existing PhpGedView users must have an email address, and it must be unique to that
397316142c6SGreg Roach  user (PhpGedView allows users to delete their email address, or have the same email
398fac25c68SRico Sonntag  address as other users;  **webtrees** requires that all users have their own
399fac25c68SRico Sonntag  unique email address).
400fac25c68SRico Sonntag* The wizard transfer process overwrites the username and password you may have
401fac25c68SRico Sonntag  entered in setting up the initial admin account. The main administration user
402fac25c68SRico Sonntag  name and password in **webtrees** will be identical to the admin username and
403316142c6SGreg Roach  password from PhpGedView after running the wizard. Once done, you can change it back
404fac25c68SRico Sonntag  if desired.
405fac25c68SRico Sonntag
406b4ef7f82SRico Sonntag
407fac25c68SRico Sonntag#### Warning
408b4ef7f82SRico Sonntag
409e00de034SGreg RoachPlease read the [https://wiki.webtrees.net/en/Converting_from_PhpGedView](https://wiki.webtrees.net/en/Converting_from_PhpGedView)
410fac25c68SRico Sonntagbefore doing a transfer as important pre-processing steps and known issues may
411fac25c68SRico Sonntagbe outlined there.
412fac25c68SRico Sonntag
413b4ef7f82SRico Sonntag
414fac25c68SRico Sonntag#### Important Note
415b4ef7f82SRico Sonntag
416fac25c68SRico SonntagThis transfer wizard is not able to assist with moving media items.  You will need
417fac25c68SRico Sonntagto set up and move or copy your media configuration and objects separately after
418316142c6SGreg Roachthe transfer wizard is finished. If you use the media firewall in PhpGedView with a
4193606202eSDavid Druryfolder outside the PhpGedView root, then duplicating the media configuration in
4203606202eSDavid Drury**webtrees** to use the same firewall folder should make your media available
421fac25c68SRico Sonntagin **webtrees**.
422fac25c68SRico Sonntag
423fac25c68SRico SonntagAfter the transfer is complete, you should check your family tree configuration
424fac25c68SRico Sonntagand privacy settings. Due to differences in internal data formats, the following
425fac25c68SRico Sonntagsettings are not yet transfered: custom privacy restrictions, block configuration,
426fac25c68SRico SonntagFAQs, and HTML blocks.  We hope to add these to the wizard in a future release.
427fac25c68SRico Sonntag
428fac25c68SRico Sonntag
429fac25c68SRico Sonntag#### Custom privacy restrictions, block configuration, FAQs and HTML blocks
430fac25c68SRico Sonntag
431fac25c68SRico SonntagWe hope to add these to the wizard in a future release. Otherwise, read the
432e00de034SGreg Roach[https://wiki.webtrees.net/en/Converting_from_PhpGedView](https://wiki.webtrees.net/en/Converting_from_PhpGedView)
433b654676fSRico Sonntagbefore reporting a problem in the forum.
434fac25c68SRico Sonntag
4353606202eSDavid DruryThe transfer wizard is accessed in **webtrees** from ``Control panel`` ->
4363606202eSDavid Drury``Manage family trees`` to which you will be automatically directed once you
437fac25c68SRico Sonntaghave completed the initial **webtrees** installation steps (section 4 above:
438fac25c68SRico Sonntag[installation](#installation)). This option is only available on a new,
439fac25c68SRico Sonntagempty **webtrees** installation; once you have created a GEDCOM (family tree)
440fac25c68SRico Sonntagor added user accounts, it will no longer be available.
441