How to solve missing logs and queued messages from log_crash folder
Problems
Pre-v10.1.113, IguanaX creates a
log_crash_<datetime>folderIt creates a fresh
logtfolderQueued messages and logs will disappear upon restart of the IguanaX Service since they have moved into the
log_crash_<datetime>folder
Causes & Explanation
Queued messages and logs are stored in the
logtfolder.When pre-v10.1.113 IguanaX starts up, if it crashes during startup, it will rename
logttolog_crash_<datetime>and create a new, emptylogtfolder.If your log directory was in a custom location, it will also move the
log_crash_<datetime>into the working directory.
As a result, pre-crash logs and queued messages are moved to
log_crash_<datetime>and IguanaX won’t display/process them
Solution
Considerations
We run it in safe mode when flushing out the pre-crash queue to prevent components from auto-starting, so you can have more control over which queues you process.
If you don’t want to bother with flushing out the pre-crash queue, you can skip the “STEP 1: Flush out and process the pre-crash queued messages” and jump to “STEP 2: Merge pre-crash logs with new logs”. Once the IguanaX Service is up and running you would have to manually resubmit messages from before the crash to process them.
If a component was deleted after the crash but still has queued messages from before the crash, you can process those messages by temporarily restoring the component (works for v 10.1.112):
Before starting IguanaX in safe mode (during STEP 1):
Copy the deleted component’s folder from inside archive > comps
Paste it into Working Directory > config > comps
Start IguanaX in safe mode and flush the queue as described in STEP 1.
Before the final restart in STEP 2:
Remove the copied component folder from Working Directory > config > comps
This prevents the deleted component from reappearing when IguanaX restarts.
If this solution does not work, contact support for a more manual process to recover old logs/queued messages without stopping IguanaX.