Hi,
We did an upgrade to a new VM, we installed Debian Buster and we installed NAV 4.9.8. After that we did a restore of the postgress db with navsyncdb, and we also restored the /var/lib/graphite directory to have the history of the graphs.
But now if i reboot the new NAV server, the graphs are resetted tot he point we did the restore. In the console log we see this error:
16/09/2019 08:02:28 :: Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext
result = inContext.theWork()
File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/carbon/writer.py", line 189, in writeForever
writeCachedDataPoints()
File "/usr/lib/python3/dist-packages/carbon/writer.py", line 98, in writeCachedDataPoints
(metric, datapoints) = cache.drain_metric()
File "/usr/lib/python3/dist-packages/carbon/cache.py", line 187, in drain_metric
metric = self.strategy.choose_item()
File "/usr/lib/python3/dist-packages/carbon/cache.py", line 116, in choose_item
return next(self.queue)
builtins.StopIteration:
Is this easy to fix?
Kind regards,
René.