I've been running 1.5 for a while and know I will need to upgrade before long. I'm envisioning a process something like this:
1. Clone my existing server config, database, code, data files, etc.
2. Upgrade the cloned system.
3. Troubleshoot plugin problems, etc.
4. Once the system is stable:
a. Refresh the database and data files
b. Repoint my domain to the cloned/upgraded system
Two questions:
A. Is this a logical approach?
B. I'm worried about step 4a. Will I encounter problems with changes in database structure, etc. Is this as simple as it sounds? (DB backup and restore, copy data files)
Thanks,
Russ
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Lovegin John - 0 likes
- Cash@costelloc
Cash - 0 likes
- Russ McGuire@rmcguire
Russ McGuire - 0 likes
- Cash@costelloc
Cash - 0 likes
- Brett@brett.profitt
Brett - 0 likes
- Test on my localhost with a backup of the community's db and data.
- Copy the live MySQL files to a safe place as a backup.
- Copy the live code to a safe place as a backup.
- rsync -azvn elgg-1.7.1/ community.elgg.org/ to make sure nothing weird is going to happen.
- rsync -azv elgg-1.7.1/ community.elgg.org/
- upgrade.php
- Russ McGuire@rmcguire
Russ McGuire - 0 likes
You must log in to post replies.Russ,
for 4a, the new versions of elgg are coming with an upgrade file. You need to execute it.
------
Regards,
Lovegin John
Russ - I agree on 1-3. My guide for this is here: http://community.elgg.org/mod/groups/topicposts.php?topic=408195&group_guid=212067
I wouldn't do #4. Once you have 1-3 done and everything is working on the test site, I would upgrade the production site (doing a backup just before doing that).
Thanks guys.
To clarify, "upgrade the production site" I think means:
- Copy all my php files from the test site to the production site (to handle the changes needed to make plugins work with 1.7.1 or whatever)
- Running the upgrade file
Cash, I think that's what the section "Trying Out the Upgrade Process" in your Part 3 says, although it's talking about doing it on the test server.
Let me know if this doesn't sound right.
Thanks!
Russ
Yes, upgrading the site means copying the code and running the upgrade script. Brett upgraded this site today. From the outside it looked like a smooth upgrade.
The upgrade here ran without a problem. My procedure is:
Excellent. Thanks.