-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
have netbox-restore script restart necessary services or set necessary permissions #287
Comments
It might not be an issue with SECRET_KEY or SUPERUSER_API_TOKEN at all, it might be something to do with table permissions after the restore. |
The issue actually seems to be with the SUPERUSER_API_TOKEN logstash is using for the connection:
Both containers do have the right environment variables. But somehow restarting netbox as we restore the database it's not getting picked up. |
A little more issue contaxt: Before restore:
after restore:
|
For my tracking purposes, going to ask in the netbox slack forum with this:
|
Verbose output:
|
I'm wondering if it has to do with the |
Turns out that is the problem. I had to do this: Yes, that is the issue. I had to do this:
I'll have to work something like that into my restore process. The |
…rrectly after netbox-restore
Malcolm v23.10.0 development
The documentation says that:
From what I can tell this isn't actually true: the data itself isn't encrypted, just some of the session handle information or cookies or whatever. A GitHub thread (also this one) I found seems to indicate this as well.
However, it does appear that some services need to be restarted for this to take effect, either Logstash or NetBox or both, to make sure that logstash logs back in successfully, otherwise it appears you end up with a 403 error from Logstash.
So this bug is to:
Here's the netbox reference
The text was updated successfully, but these errors were encountered: