During an upgrade from an older version of One Identity Manager to 9.3.1 in a restricted network environment (no Internet access), the compiler can not access the public NuGet repository.
The following errors maybe displayed in the complier:
[810086] Error compiling script (0,0): Unable to load the service index for source https://api.nuget.org/v3/index.json.
[810086] Error compiling script (0,0): Unable to find package <random package name>. No packages exist with this id in source(s): Local, nuget
How to create and use a local NuGet mirror for offline compilation for this type of upgrade?
Starting with version 9.3, One Identity Manager uses NuGet based dependency resolution for compilation.
When the environment does not allow Internet connectivity, the compiler cannot download needed NuGet packages from https://api.nuget.org/v3/index.json.
Therefore, a local mirror containing the same packages must be provided manually.
To perform a successful offline upgrade and compilation in One Identity Manager 9.3.1, follow these steps:
Please note that it is now possible to download the Identity Manager NuGet cache files from GitHub - Please see https://github.com/OneIdentity/IdentityManager.NuGet.Cache - This is currently only available for versions 9.3.1 and 10.0 LTS.
1. Prepare an online machine
2. Find the downloaded packages
3. Create the local NuGet mirror
4. Configure the offline environment
5. Test compilation
After the mirror path is configured, recompile the database.
The compiler will use the local NuGet source instead of the public feed.
If compilation fails due to a missing package, download that specific .nupkg file manually from nuget.org and add it to the mirror folder.
© 2026 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center