ForgeRock Identity Platform
ForgeRock Identity Cloud

config.json not readable error in IG (All versions)

Last updated Feb 23, 2023

The purpose of this article is to provide assistance if you encounter a "/root/.openig/config/config.json" not readable error in IG.


Accessing a standard page using the hard-coded credentials in the 01-static.json file fails (for example, if you are trying the installation per Downloading and Starting the Sample Application). The 01-static.json file is located in the $HOME/.openig/config/routes/ directory.

The following error is shown in the stdout:

2016-11-23 09:27:19.195:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=3253ms [main] [34mINFO [0;39m [1;37mo.f.o.http.GatewayHttpApplication[0;39m - OpenIG base directory : /root/.openig [34m[0;39m[main] [34mINFO [0;39m [1;37mo.f.o.http.GatewayHttpApplication[0;39m - /root/.openig/config/config.json not readable, using OpenIG default configuration

Recent Changes

Installed or configured IG as user Root.


You are running IG's web application container as a user other than Root, meaning you cannot access the configuration since IG's configuration is in a directory owned by Root.


This issue can be resolved by moving the IG configuration into a directory owned by the user who actually runs the web application container. For example, if the Jetty user runs the web application container, the 01-static.json file should be located in the Jetty user's directory instead:


See Also

FAQ: Installing and configuring IG

Installing and configuring IG

Getting started

Related Training


Related Issue Tracker IDs


Copyright and Trademarks Copyright © 2023 ForgeRock, all rights reserved.