I don't have any libraries except bridge by arduino that allows for communication between linux and board, and a single library on laptop in the library manager.
I also had to manually install library_index file for my arduino IDE to even launch, because it was previously stuck on loading screen without it.
When i launch IDE, an error appears, saying:Could not install Arduino_BuiltIn library: Error: Could not find library
Welcome to the forum
The first time that you run IDE 2.x it connects to the Internet to download the latest versions of the built in libraries.
Is your PC connected to the Internet ?
Yes, it is. Is it possible to trigger this download again, or does it happen automatically once a while ? Maybe it just couldn't download libraries on first start ?
Generally the built in libraries do not change between versions of the IDE and even then very rarely
I suggest that you uninstall the IDE and install it again
Arduino IDE will automatically attempt to install the library every time you start it until it is successful. If you aren't seeing it attempt to install the library when you start Arduino IDE now, that means it was already successful.
So you don't need to do anything.
I tried reinstalling it, deleted files from documents, Appdata/Roaming and Arduino15, but now the Arduino15 folder is missing library_index.json again. Is it possible to download Arduino15 manually, maybe it'll help ?
I'm going to ask you to provide some additional information that might help us to identify the problem.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Close all Arduino IDE windows if the IDE is already running.
- Start Windows "File Explorer".
- Open the Arduino IDE installation folder.
ⓘ The default installation location is at one of the following paths:-
C:\Program Files\Arduino IDE -
(whereC:\Users\<username>\AppData\Local\Programs\Arduino IDE<username>is your Windows username)
If looking for it with your file manager or command line, note that the AppDatafolder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
-
- In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
- From the context menu, click "Open PowerShell window here".
Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder. - Type the following command:
& ".\Arduino IDE" - Press the Enter key.
Debug output should now be printed to the PowerShell window as Arduino IDE starts. - Wait until you are sure the IDE startup has gone into the hang state
(as indicated by no additional output being printed to the terminal). - Switch back to the PowerShell window if the Arduino IDE window took the focus.
- Press the Ctrl+Shift+A keyboard shortcut.
This will select all the text in the PowerShell window. - Press the Ctrl+C keyboard shortcut.
This will copy the contents of the PowerShell window to the clipboard. - Open a forum reply here by clicking the "Reply" button.
- Click the
<CODE/>icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.

- Press the Ctrl+V keyboard shortcut.
This will paste the output into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the "Reply" button to post the output.
Please let me know if you have any questions or problems while following those instructions.
PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE>
Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: C:\Program Files\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Program Files\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.2" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.35.3" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-02-20T10:04:35.814Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.2","cliVersion":"0.35.3","buildDate":"2024-02-20T10:04:35.814Z"}
Starting backend process. PID: 14048
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/user/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-06-04T12:57:16.904Z root INFO Backend Object.initialize: 6.2 ms [Finished 0.677 s after backend start]
2024-06-04T12:57:16.906Z root INFO Backend Object.configure: 5.4 ms [Finished 0.677 s after backend start]
2024-06-04T12:57:16.906Z root INFO Backend s.onStart: 3.8 ms [Finished 0.678 s after backend start]
2024-06-04T12:57:16.907Z root INFO Backend s.configure: 0.5 ms [Finished 0.704 s after backend start]
2024-06-04T12:57:16.908Z root INFO Backend d.onStart: 0.2 ms [Finished 0.704 s after backend start]
2024-06-04T12:57:16.909Z root INFO Backend d.configure: 0.1 ms [Finished 0.704 s after backend start]
2024-06-04T12:57:16.912Z root INFO Backend d.initialize: 26.1 ms [Finished 0.704 s after backend start]
2024-06-04T12:57:16.912Z root INFO Backend c.onStart: 0.3 ms [Finished 0.704 s after backend start]
2024-06-04T12:57:16.913Z root INFO Backend a.configure: 2.7 ms [Finished 0.707 s after backend start]
2024-06-04T12:57:16.915Z config INFO >>> Initializing CLI configuration...
2024-06-04T12:57:16.915Z root INFO Backend c.initialize: 0.6 ms [Finished 0.707 s after backend start]
2024-06-04T12:57:16.915Z root INFO Backend R.onStart: 1.2 ms [Finished 0.708 s after backend start]
2024-06-04T12:57:16.916Z config INFO Loading CLI configuration from c:\Users\user\.arduinoIDE\arduino-cli.yaml...
2024-06-04T12:57:16.917Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-06-04T12:57:16.917Z root INFO Backend a.initialize: 0.5 ms [Finished 0.709 s after backend start]
2024-06-04T12:57:16.917Z root INFO Backend w.onStart: 3.1 ms [Finished 0.712 s after backend start]
2024-06-04T12:57:16.918Z root INFO Backend r.configure: 4.0 ms [Finished 0.712 s after backend start]
2024-06-04T12:57:16.918Z discovery-log INFO start
2024-06-04T12:57:16.918Z discovery-log INFO start new deferred
2024-06-04T12:57:16.918Z root INFO Backend d.initialize: 1.1 ms [Finished 0.713 s after backend start]
2024-06-04T12:57:16.918Z root INFO Backend y.onStart: 2.5 ms [Finished 0.715 s after backend start]
2024-06-04T12:57:16.918Z root INFO Backend r.configure: 1.8 ms [Finished 0.715 s after backend start]
2024-06-04T12:57:16.918Z root INFO Backend a.onStart: 1.0 ms [Finished 0.717 s after backend start]
2024-06-04T12:57:16.918Z root INFO Backend h.configure: 1.4 ms [Finished 0.718 s after backend start]
2024-06-04T12:57:16.918Z root INFO Backend s.configure: 0.3 ms [Finished 0.719 s after backend start]
2024-06-04T12:57:16.918Z root INFO Backend l.configure: 0.1 ms [Finished 0.719 s after backend start]
2024-06-04T12:57:16.921Z root INFO Theia app listening on http://127.0.0.1:59261.
2024-06-04T12:57:16.921Z root INFO Finished starting backend application: 3.0 ms [Finished 0.721 s after backend start]
2024-06-04T12:57:16.922Z root WARN The local plugin referenced by local-dir:/c%3A/Users/user/.arduinoIDE/plugins does not exist.
2024-06-04T12:57:16.922Z root WARN The local plugin referenced by local-dir:/c%3A/Users/user/.arduinoIDE/extensions does not exist.
2024-06-04T12:57:16.922Z root WARN The local plugin referenced by local-dir:C:\Users\user\.arduinoIDE\plugins does not exist.
2024-06-04T12:57:16.949Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\user\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\user\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\user\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-06-04T12:57:16.949Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-06-04T12:57:16.949Z config INFO Loaded the CLI configuration.
2024-06-04T12:57:17.498Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/user/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/user/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-06-04T12:57:17.498Z config INFO Validating the CLI configuration...
2024-06-04T12:57:17.499Z config INFO The CLI config is valid.
2024-06-04T12:57:17.499Z config INFO <<< Initialized the CLI configuration.
2024-06-04T12:57:17.536Z root INFO Resolve plugins list: 619.7 ms [Finished 1.335 s after backend start]
2024-06-04T12:57:17.969Z daemon INFO time="2024-06-04T18:57:17+06:00" level=info msg="Using config file: c:\\Users\\user\\.arduinoIDE\\arduino-cli.yaml"
time="2024-06-04T18:57:17+06:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-06-04T18:57:17+06:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:59265
{"IP":"127.0.0.1","Port":"59265"}
2024-06-04T12:57:17.969Z daemon INFO Daemon is running.
2024-06-04T12:57:18.088Z daemon INFO time="2024-06-04T18:57:18+06:00" level=info msg="Updating libraries index"
time="2024-06-04T18:57:18+06:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-06-04T12:57:19.290Z root INFO Deploy plugins list: 619.7 ms [Finished 3.090 s after backend start]
2024-06-04T12:57:19.367Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 218.2 ms [Finished 2.320 s after frontend start]
2024-06-04T12:57:19.367Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-06-04T12:57:22.630Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: openpgp: signature expired
2024-06-04T12:57:22.647Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Checking signature" index="C:\\Users\\user\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\user\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-06-04T12:57:22.649Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Loading hardware from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages"
2024-06-04T12:57:22.651Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Loading package builtin from: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-06-04T12:57:22.651Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-06-04T18:57:22+06:00" level=info msg="Loading tools from dir: C:\\Users\\user\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-06-04T12:57:22.652Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-06-04T12:57:22.652Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-06-04T12:57:22.652Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-06-04T12:57:22.653Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
2024-06-04T12:57:22.654Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-06-04T12:57:22.655Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Loading libraries index file" index="C:\\Users\\user\\AppData\\Local\\Arduino15\\library_index.json"
2024-06-04T12:57:22.655Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-06-04T18:57:22+06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\user\\Documents\\Arduino\\libraries" location=user
2024-06-04T12:57:22.656Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open C:\Users\user\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-06-04T12:57:22.662Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\user\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-06-04T12:57:22.663Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Updating libraries index"
2024-06-04T12:57:22.665Z daemon INFO time="2024-06-04T18:57:22+06:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-06-04T12:57:22.667Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2
2
This "Error verifying signature: openpgp: signature expired" error occurs when your system time is incorrect. You should be able to fix it by syncing the system time. I'll provide instructions you can follow to do that:
- Right click the Windows Start icon (⊞) on the taskbar.
A context menu will open. - Select "Settings" from the context menu.
Windows "Settings" will open. - Select "Time & language" from the navigation panel on the left side of the window.
- Select "Date & time" from the list on the right side of the Settings window.
The Date & time settings section will expand. - Click the "Sync now" button that is under the "Additional settings" section of the page.
- Wait for the syncing process to finish.
- Close any Arduino IDE windows that are open.
- Start Arduino IDE again.
Hopefully this time Arduino IDE will start up fully and work as expected.
Yeah, it did work, thank you!
You are welcome. I'm glad it is working now.
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.