We have elgg 1.7.6, we used loginbyemail plugin, our users register to the site with "name" "email" and "password". The username is generated from the name, for instance: name= john smith => username=johnsmith.
My question:
Is it possible to transfer all tables from 1.7.6 to the 1.8 without losing users or their contents?
Thank you very much
Gennaro
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.
- Brett@brett.profitt
Brett - 0 likes
Smith - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- iZAP@izap
iZAP - 0 likes
- Backup your 1.7 database.
- Get latest elgg 1.8 and uncompress.
- My installation directory is "public_html" whatever yours, just copy with the name say "public_html-backup".
- And move new uncompressed folder with the name "public_html" at same location.
- You may have some specific .htaccess settings like "php_values". So do that manually in new .htaccess file.
- Now copy database information from "public_html-backup/engine/settings.php" to "public_html/engine/settings.php"
- You are done.
- Now go to browser and execute upgrade script. After few seconds, you will be done with your upgrade.
Hope this will help you to migrate things successfully. We have done this with "http://www.pluginlotto.com" and it is working perfectly. Thank you.
Smith - 0 likes
- R.Cerceau@rcerceau
R.Cerceau - 0 likes
You must log in to post replies.1.8 includes an upgrade script that lets you migrate from 1.7 to 1.8. The upgrade is one way--You can't go back to 1.7 once you upgrade, so be sure to make backups.
Thanks Brett,
But i don't understand very well.
It upgrades all system or just the database? Because i need to migrate only the database and the data folder. It is automatic process? can i copy and past tables from 1.7 database to 1.8 database manually?
Thanks again
Smith, see the documentation on upgrade for more info @ http://docs.elgg.org/wiki/Upgrading_Elgg
The upgrade script will update your database and in some version it will also update the elgg datafolder.
@Smith: Well upgrade.php is not intended to upgrade any script except database. Because you already upgraded your script from 1.7 to 1.8. That's why you are suppose to execute upgrade.php. As suggested by Brett, backup your database before execution of upgrade script. Let me give you clear steps what i usually follow with my installations.
Note: do not copy .htaccess file from "public_html-backup".
Note: At this stage you must have "public_html-backup" and "database-backup.sql". It will always make you feel secure in case of any problem with the migration.
i Z A P, thank you very much for your guide, it's perfect and it works.
I wish u a great summer!
Gennaro
Thanks this explanation. Based on it and the Wiki repository I´ve made a text to BRAZILIAN PORTUGUESE comunity learn how to make the upgrade, including migration from 1.7 to 1.8.
<!-- display the actual blog post -->