The upgrade process for Elgg depends on how your current installation was set up.
If you installed Elgg using Composer, you should follow the official Composer-based upgrade guide. In general, the steps are:
Back up your database and the entire project directory.
Update your composer.json to require the newer Elgg version.
Run composer update.
After updating, log in to your site and run the upgrade script (usually via /upgrade).
If your installation was done by downloading and extracting the archive (non-Composer method), then the process is slightly different:
Back up your database and all files (especially the data directory and elgg-config settings).
Replace the core Elgg files with the new version, but don't overwrite your data directory or configuration files.
Visit /upgrade in your browser to run the upgrade process.
Also, please note that Elgg has specific upgrade rules between versions:
You can upgrade from any minor version to a higher minor version within the same major version.
To move to the next major version, you must first be on the latest minor release of the previous major version.
Once on certain baseline versions, you may upgrade further without stepping through every minor version.
In your case, this means you should not jump directly from 5.1.0 to the latest version.
Instead, you should:
First upgrade from 5.1.0 to the latest 6.x release (for example, 6.3.7).
Then upgrade to the next major version (for example, 7.0.4 or later stable release).
Make sure to create backups before and after each upgrade step.
Also, don't forget that 3rd-party plugins must be updated as well, ensuring compatibility with each Elgg version you install.
Finally, it is worth checking previously discussed topics (1, 2, 3), as many upgrade scenarios and issues have already been covered there.
Thanks
I have been able to uptate to 6.3.7 using composer....
I had to remove many apps and reinstall, to get rid of errors...
i have also sent an email regarding some custom plugins...
Best Wishes
Arindam
whenever I am trying to update my Ubuntu's apache server to HTTPS, my Elgg server crashes....
Did anyone face this. Is there any workaround....
This sounds like a webserver issue, not an Elgg issue.
Do I need to change settings inside Elgg....
In the file 'elgg-config\settings.php' there is '$CONFIG->wwwroot' make sure this has "https://yoursite.tld/" that is all that has to be changed in Elgg.
Also I need to ask, do you have the steps to upgrade the installation of 5.3 to 6.X without deleting the data in the database...Fresh installation is not an option for me....
https://learn.elgg.org/en/stable/admin/upgrading.html
and any special notes (mostly for developers) can be found here https://learn.elgg.org/en/stable/appendix/upgrade-notes/5.x-to-6.0.html
I am getting the following error when I install thewirepro.....
The Wirepro/Bootstrap must implement Elgg\PluginBootstrapInterface
I think it has to be updated to Version 5.1....
Or can I find some workaround by just implementing the interface....or better wait for the update
I have also installed elgg hooks....
But can you guide me on how to allow youtube video in content...
for it has two sections...
Code and scripts in the header (before <body>)
Code and scripts in the footer (before </body>)
and then, this...Select HTML attributes to deny on inputs
So what should I write to deny htmlwwed
Right, all the plugins I mentioned don't work for Elgg 5. I just wanted to show that you need some custom plugin.
Elgg Hooks plugin is not for your case, but you can use it to insert iframes and media content, for example in blogs.
Although oEmbed plugin also does this for some sites.
I am also having issues with CkEditor on oEmbed app, where I see if I share a video link in comment, it does nice embedding of the youtube video...But if I do that in a Blog, or if I do the same inside the Wire, with the Wire Tools plugin also installed - the embedding does not happen....Do I need to place the apps in certain configuration for this to work...
Are you sure that code is working for you...
Its still giving me the same error...
Also it would be nice if the WireTools can do something like the oembed does, for youtube links...
Are you sure that code is working for you...
Its still giving me the same error...
No it's not working for mee in Firefox, because of the rules of w3schools
Content-Security-Policy: The page's settings have blocked the loading of a resource (frame-ancestors) on <unknown> because it conflicts with the following directive: 'frame-ancestors 'self' https://mycourses .w3schools.com'
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.