Uh oh!
There was an error while loading. Please reload this page.
Improve iterators - #516
Conversation
4952e12 to
6c2206eCompareblizzz
commented
Nov 23, 2023
Please don't forget to set the milestone when opening a PR 😃 |
tovine
commented
May 27, 2024
What's the outlook on the timeline for this one? I just had an update basically time out and break itself when I decided to look at the updater code - only to find out that it recurses through all files (including user data and old backups) before doing the filtering. |
Altahrim
commented
May 30, 2024
No timeline as I don't find time to work on this… |
doits
commented
Jun 2, 2024
Even with this flag it still hangs/iterates at "Delete old files ..." unfortunately, so it is only a partial solution. (My updates take 1+ hour, too.) |
tovine
commented
Jun 11, 2024
Understandable. |
doits
commented
Jun 11, 2024
My last update from 29.0.1 to 29.0.2 was much faster though (still with |
tovine
commented
Sep 17, 2024
Is there a way I can test this fix on my own instance? Looks like the change should work and be safe enough so I'd like to give it a try if possible |
Altahrim
commented
Feb 6, 2025
@tovine That's not an easy one to test since it should fix several issues.
|
tovine
commented
Feb 6, 2025
My install is at least large enough that each of the backup files and delete old files steps are painfully slow (we're talking hours), so I should definitely notice if this works in that regard. |
marcelstoer
commented
Feb 6, 2025
Awsome to see that this has been merged now - is there any way to download the newest updater so that it will be the one used for my next update? Is it enough to just grab the latest |
@Altahrim and others: Thanks for the progress! I just tested it on hostpoint (with the with the replaced Manually enabling the maintenance mode in the config file and pressing Afterwards I tested the update to @tovine |
come-nc
commented
Feb 11, 2025
Is that a PHP error or a JS one from the UI? |
come-nc
commented
Feb 11, 2025
I think it’s a JS error and could be fixed by #591 |
caco3
commented
Feb 11, 2025
JS |
tovine
commented
Feb 16, 2025
I just tried now (downloaded latest master version of index.php and updater.phar) and it worked like a charm - the complete update process (including waiting for me who was slow to press enter) took just over 2.5 minutes, whereas previously it would typically be stuck at the backup and delete old files steps for a few hours each. Thanks a lot for fixing this, @Altahrim and @come-nc! ❤️ PS: FYI this update was run in the command line using updater.phar
|
doits
commented
Feb 21, 2025
Big 👍 from me too, upgrade speed went from 30+ minutes to less than 30 seconds! thank you very much! |
skjnldsv
commented
Jun 5, 2025
/backport e23bd54 to stable31 |
skjnldsv
commented
Jun 5, 2025
/backport e23bd54 to stable30 |
See:
createBackup()#507deleteOldFiles()#397