Cannot take gateway backup - FileNotFound Exception

Using 7.9.9. Tried to make a gateway backup multiple times from the gateway.

I saw in the logs an error come through -
BackupServlet Error creating gateway backup file.

The stack trace data\opc\opcua-module.keystore (Access is denied)
at Method)
at Source)
at Source)
at com.inductiveautomation.ignition.gateway.servlets.BackupServlet.addFile(
at com.inductiveautomation.ignition.gateway.servlets.BackupServlet.addFolder(
at com.inductiveautomation.ignition.gateway.servlets.BackupServlet.generateBackup(
at com.inductiveautomation.ignition.gateway.servlets.BackupServlet.doBackup(
at com.inductiveautomation.ignition.gateway.servlets.BackupServlet.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at com.inductiveautomation.ignition.gateway.bootstrap.MapServlet.service(
at org.eclipse.jetty.servlet.ServletHolder.handle(
at org.eclipse.jetty.servlet.ServletHandler.doHandle(
at org.eclipse.jetty.server.handler.ScopedHandler.handle(
at org.eclipse.jetty.server.session.SessionHandler.doHandle(
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
at org.eclipse.jetty.servlet.ServletHandler.doScope(
at org.eclipse.jetty.server.session.SessionHandler.doScope(
at org.eclipse.jetty.server.handler.ContextHandler.doScope(
at org.eclipse.jetty.server.handler.ScopedHandler.handle(
at org.eclipse.jetty.server.handler.HandlerList.handle(
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
at org.eclipse.jetty.server.Server.handle(
at org.eclipse.jetty.server.HttpChannel.handle(
at org.eclipse.jetty.server.HttpConnection.onFillable(
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
at org.eclipse.jetty.util.thread.QueuedThreadPool$
at Source)

Any ideas what is going on? I had not had issues with this prior, but recently (2 or 3 weeks ago) we had to to change what user Ignition logged in as to enable SQL Server login via Active Directory. Seems like a file permission issue - but what folder?

It'll be in the home directory Ignition is installed in, so probably Program Files/Inductive Automation/Ignition/data/opc/opcua-module.keystore.

1 Like

The service account does have Full Control/Modify/Read & Execute/List folder contents/Read/Write permission on C:\Program Files\Inductive Automation I see and those permissions I see are inherited on the specific folder you gave me (with greyed out check marks), however, oddly enough that file within the folder did NOT have permissison for the service account. Strange I would have though the inherited permissions would have carried through to all inner files but maybe that's not how it works exactly.

Either way granting permissions on that specific file did resolve the issue. Thanks!