When I upgraded my site from 2.3.12 to 3.3.25 (in one go), I ran the upgrades in the Admin section. All seemed to have gone fine except that the conversion of friends ACL (according to release notes it came with Elgg 3.0.0). It seems to convert 2/3 of the collection but then hang. When I refreshed the browser and checked the completed upgrades, I saw that 77 items are still awaiting to be upgraded:
Create friends access collections
4 days ago25 August 2024 @ 11:08pm26 August 2024 @ 1:13am 77 items to upgrade
Migrates the friends access collection to an actual access collection
Since this upgrade is listed under the Completed Upgrades, it is not possible to run it again (which I did anyway by reloading from VM snapshot but got the same result).
Has anyone had this situation? If so how did you resolve it? Have you run friends acl upgrade (6a401bc9) as a separate standalone program?
Is it something I can ignore and continue with other upgrades?
cheers.
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.
- Jerome Bakker@jeabakker
Jerome Bakker - 2 likes
- Selen@Nesuhiselen
Selen - 0 likes
You must log in to post replies.In the admin section of the completed upgrades you can reset an upgrade (under the 3 dots). That way you can re-run it and it'll complete the remaining 77 items (if al goes well).
A tip if you have access to a command prompt on the server. Run the upgrades through the CLI command `elgg-cli upgrade` and `elgg-cli upgrade async`. Running the upgrades through the webserver works but for larger databases it's more stable to use the CLI command.
https://learn.elgg.org/en/stable/intro/elgg-cli.html#available-commands
Thank you very much Jerome Bakker !
I had seen the Reset option but I thought it would start from scratch. It was a pleasant surprise that it continues from the remaining work. After a few iterations, it seems to have converted all remaining stuff.
Before the Reset, I tried to do it with elgg-cli but got the error "Stash\Driver\Apc is not available" at $app->start . I see some composer references in the comments of the script. It might be some composer dependency which I do not use (tried using Composer for installation of Elgg 2.x it long time ago but could not get it work but I have plans to use it from Elgg 5 further).
Anyways my problem is resolved. THANK YOU!
cheers.