Essentially, we just need to copy the new files to the server, overwriting any that are already there.
However, it can take several minutes to copy all the files. During this time, visitors to your site would get error messages due to the mix of new and old files. So we must take the site offline temporarily.
Before the upgrade
This is a good time to make a backup! You can make a copy of the
data/ folder and of your database.
If you have installed any third-party modules, you should check that these are compatible with your new version of webtrees. They may also have upgrades available.
- Download webtrees-2.0.7.zip or webtrees-1.7.17.zip as appropriate.
- Unpack this file on your computer. You should have a folder called
- Create a file
data/offline.txton the server. If it contains a message, it will be shown to your users. If it is empty, a default message will be shown. The file must have this exact name and location - even if you have chosen a different data folder in the control panel.
- Upload the contents of the
webtreesfolder to the corresponding folder on your web server.
- Delete the file
After the upgrade
If any database upgrades are required, these will happen automatically when you next visit the site. For this reason, the first page may take longer than usual to be displayed.