fatal Error during ensure repo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

fatal Error during ensure repo

L0 Member

Hi everyone,

I am facing a strange issue. I was trying to change the certificate like explained in this link https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-1/cortex-xsoar-admin/installation/post-insta...

But after I did the restart, cortex XSOAR does not work anymore and I have this single error which I cannot understand

fatal Error during ensure repo (10040) (source: /builds/gopath/src/github.com/demisto/server/server.go:919)

Putting the old certificate and key in place does not change anything.

 

Does anyone have an idea how to solve this?

Thanks!

7 REPLIES 7

L0 Member

that error usually indicates issues with the permissions in /var/lib/demisto either in partitionsdata or demistoidx, can you please verify that all the files have demisto:demisto permissions? 

 

Unfortunately all files in /var/lib/demisto have demisto:demisto permission

L0 Member

have you tried deleting the cert.pem and the cert.key? XSOAR will generate a new self-sign one if there is none present under /usr/local/demisto

 

yes already tried it, but same error and no cert.pem or cert.key generated

How do we verify if all files have demisto:demisto permission? 

L0 Member

Is this issue resolved? I have the same problem and don't see any permissions issue.

L0 Member

In case anyone else runs across this issue, we have found that you can resolve this by reindexing the DB - https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-9/cortex-xsoar-admin/manage-data/reindex-the... 

  • 5020 Views
  • 7 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!