I had to do a database recovery from a failing disk. I followed the instructions from the various text files to recover/regenerate my databases, and I managed to recover most of the data. I'm still seeing some problems I'm unsure how to debug, though. I'm getting a DBException on start that I can ignore for the most part, but the same exception shows up sometimes when I do a search which stops the client from completing it. If I restrict the search it'll sometimes go away, but if I make it more generic it'll also sometimes go away (e.g. A and B will cause the exception, but neither A nor A, B, and C will cause it).
I'm not sure if it's related, but the numbers in the PTR service are off, too. It'll say that the "client is caught up to service and can upload content," but it shows the definitions, mappings, tag parents, and tag siblings as being only ~98% complete (4820/4888 on definitions at the time of writing) even though when I click "process now" nothing happens. I'm still getting stuff from the PTR as when the day rolls over it'll download the new update and process it as normal.
v492, linux, frozen
DBException
DataMissing: Did not find all entries for those hash ids!
Traceback (most recent call last):
File "hydrus/core/HydrusThreading.py", line 401, in run
callable( *args, **kwargs )
File "hydrus/client/gui/pages/ClientGUIManagement.py", line 5344, in THREADDoQuery
more_media_results = controller.Read( 'media_results_from_ids', sub_query_hash_ids )
File "hydrus/core/HydrusController.py", line 684, in Read
return self._Read( action, *args, **kwargs )
File "hydrus/core/HydrusController.py", line 200, in _Read
result = self.db.Read( action, *args, **kwargs )
File "hydrus/core/HydrusDB.py", line 927, in Read
return job.GetResult()
File "hydrus/core/HydrusData.py", line 2057, in GetResult
raise e
hydrus.core.HydrusExceptions.DBException: DataMissing: Did not find all entries for those hash ids!
Database Traceback (most recent call last):
File "hydrus/core/HydrusDB.py", line 610, in _ProcessJob
result = self._Read( action, *args, **kwargs )
File "hydrus/client/db/ClientDB.py", line 7873, in _Read
elif action == 'media_results_from_ids': result = self._GetMediaResults( *args, **kwargs )
File "hydrus/client/db/ClientDB.py", line 4994, in _GetMediaResults
missing_hash_ids_to_hashes = self.modules_hashes_local_cache.GetHashIdsToHashes( hash_ids = missing_hash_ids )
File "hydrus/client/db/ClientDBDefinitionsCache.py", line 178, in GetHashIdsToHashes
self._PopulateHashIdsToHashesCache( hash_ids )
File "hydrus/client/db/ClientDBDefinitionsCache.py", line 80, in _PopulateHashIdsToHashesCache
hash_ids_to_hashes = self.modules_hashes.GetHashIdsToHashes( hash_ids = uncached_hash_ids )
File "hydrus/client/db/ClientDBMaster.py", line 274, in GetHashIdsToHashes
self._PopulateHashIdsToHashesCache( hash_ids, exception_on_error = True )
File "hydrus/client/db/ClientDBMaster.py", line 94, in _PopulateHashIdsToHashesCache
raise HydrusExceptions.DataMissing( 'Did not find all entries for those hash ids!' )
hydrus.core.HydrusExceptions.DataMissing: Did not find all entries for those hash ids!
Database Traceback (most recent call last):
File "hydrus/core/HydrusDB.py", line 610, in _ProcessJob
result = self._Read( action, *args, **kwargs )
File "hydrus/client/db/ClientDB.py", line 7873, in _Read
elif action == 'media_results_from_ids': result = self._GetMediaResults( *args, **kwargs )
File "hydrus/client/db/ClientDB.py", line 4994, in _GetMediaResults
missing_hash_ids_to_hashes = self.modules_hashes_local_cache.GetHashIdsToHashes( hash_ids = missing_hash_ids )
File "hydrus/client/db/ClientDBDefinitionsCache.py", line 178, in GetHashIdsToHashes
self._PopulateHashIdsToHashesCache( hash_ids )
File "hydrus/client/db/ClientDBDefinitionsCache.py", line 80, in _PopulateHashIdsToHashesCache[Expand Post]
hash_ids_to_hashes = self.modules_hashes.GetHashIdsToHashes( hash_ids = uncached_hash_ids )
File "hydrus/client/db/ClientDBMaster.py", line 274, in GetHashIdsToHashes
self._PopulateHashIdsToHashesCache( hash_ids, exception_on_error = True )
File "hydrus/client/db/ClientDBMaster.py", line 94, in _PopulateHashIdsToHashesCache
raise HydrusExceptions.DataMissing( 'Did not find all entries for those hash ids!' )
hydrus.core.HydrusExceptions.DataMissing: Did not find all entries for those hash ids!