Every time I open the IDE, it automatically wants to go to updates, but it keeps getting hung up on
Processing FastLED:3.9.7: Installed FastLED@3.9.7
Updating libraries...
Downloading index: package_jolly_index.json
It has already installed FastLED@3.9.7 a number of times, but it seems like the system is getting hung up and not completing. While all of this is going on, if I open the Library Manager, there is nothing there: I suspect it must wipe the index every time it wants to update and only restores it upon completion. I found recently, by leaving the IDE open (but not using it) it finally completed after MANY hours.
After a few years of using the Arduino IDE, I find I have 72 libraries installed (as well as the few within the IDE). Could processing all of these every time this software wants to update be the culprit?
It doesn't process them, it uses a different method. I think I saw this before, first make sure all serial monitors are closed. Make sure that is only one copy of the IDE running. What is your environment, home, office or education. Everything other than simple home can have all kinds of issues with internet access.
I can provide you with instructions for a workaround:
Start Arduino IDE.
When you see the "Updates are available for some of your libraries" notification, click the "INSTALL MANUALLY" button instead of the "UPDATE ALL" button.
Library Manager will open, with a list of the updatable libraries.
Click the "UPDATE" button on the first of the entries in Library Manager for a library you wish to update.
Wait for the update to finish, as indicated by the appearance of a "Successfully installed library ..." notification.
Repeat steps (2)-(3) until you have updated all the libraries you wish to update.
Please let me know whether the problem of the update hanging still occurs when you use that procedure.
You are welcome. I'm glad the workaround was successful.
I also experience this problem sometimes. Unfortunately it seems to only occur intermittently and under specific conditions, which makes it difficult to investigate. For example, I experience it when I use the IDE with my ridiculous 32 GB collection of 90 different boards platforms installed, but when I switch to a more realistic environment with only a dozen platforms then I can no longer reproduce the fault.
And when I enable the debug logging that would give me some idea of what is happening, I can no longer reproduce the fault.
And when I run the same commands with Arduino CLI directly (which is the tool that actually performs the library updates for Arduino IDE under the hood), I can no longer reproduce the fault.
A very difficult to pin down bug! I have made multiple attempts at investigating it, but previously I didn't take it very seriously because we had never received any reports from users who were affected. But there was another report of this only recently (IDE & Library update in the same time), so maybe something has changed that makes it more likely to occur?
I find that when I update each of the libraries separately using the procedure I described in my previous reply, instead of all in one go as occurs when you click the "UPDATE ALL" button in the notification, I never encounter the update process hang. So I think that we at least have a reliable workaround for the bug.