Hi! We have a XProtect 2024 R2 installed that we use as a testserver when developing an integration. It has worked fine for about a year but now our Recording storage has been marked as unavailable and no new recordings are made (and no previous recordings are available), We have tested to create a new storage (pointing out a new folder with the same permissions as the old one). We can create it but when we try to change an camera to use the new storage we get an error:
We have looked in the logs and the only thing we have seen that feels related to the problem is this in the MediaDb log:2025-08-28 10:12:13.806+02:00 [ 42] INFO - AddBank(), Directory: C:\MediaDatabase\baf67762-d04d-4ce8-9fd6-6751c7676e41; Storage id: baf67762-d04d-4ce8-9fd6-6751c7676e41; Alternate id: 991b82f0-0ed1-4ec0-83d1-4f0e2ccba447
2025-08-28 10:12:13.822+02:00 [ 44] INFO - AddBank(), Directory: C:\New Media database\ede875c9-4406-456a-b0ad-244df77acaf4; Storage id: ede875c9-4406-456a-b0ad-244df77acaf4; Alternate id: 1be03027-5365-43f3-acb2-00c327553f35
2025-08-28 10:12:13.868+02:00 [ 42] INFO - AddBank() ... Exception: VideoOS.Database.DatabaseException: Error adding bank 'C:\MediaDatabase\baf67762-d04d-4ce8-9fd6-6751c7676e41' to database!, Error adding bank 'C:\MediaDatabase\baf67762-d04d-4ce8-9fd6-6751c7676e41' to database!, Error adding bank to database!, Unable to find bank config file ---> VideoOS.Database.ConnectionException: NmDatabase::CmClientConnection::AddBank (line C:\actions-runner\_work\XPCO\XPCO\CoreComponents\Database\prod\lib\src\Client\ClientConnection.cpp, 653): Error adding bank 'C:\MediaDatabase\baf67762-d04d-4ce8-9fd6-6751c7676e41' to database! ---> VideoOS.Database.ConnectionException: NmDatabase::CmServerClient::AddBank (line C:\actions-runner\_work\XPCO\XPCO\CoreComponents\Database\prod\lib\src\Server\ServerClient.cpp, 651): Error adding bank 'C:\MediaDatabase\baf67762-d04d-4ce8-9fd6-6751c7676e41' to database! ---> VideoOS.Database.DatabaseException: NmDatabase::BankLoader::AddBankInternal (line C:\actions-runner\_work\XPCO\XPCO\CoreComponents\Database\prod\lib\src\Core\BankLoader.cpp, 273): Error adding bank to database! ---> VideoOS.Database.DatabaseException: C:\actions-runner\_work\XPCO\XPCO\CoreComponents\Database\prod\lib\src\Core\Bank.cpp(line 187): Unable to find bank config file
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at VideoOS.Database.Connection.AddBank(String directory, String alternateId, String masterPassword)
at VideoOS.Recorder.MediaDb.AddDatabase(StorageConfigurationBanks config, Guid storageId, Guid bankId, String storagePath, String folderName, RawDbChannel channel)
The “[C:\New](file:C:/New) Media database\” path is new new storage we created and “[C:\MediaDatabase\](file:C:/MediaDatabase/)” is the old one that no longer is “available”.
How can I trouble shoot this? Could this somehow be related to that we running XProtect on a virtual machine? and “something” has changed. I had a discussion with ChatGPT about the problem and it mentioned something about guids that was created based on MAC addresses but maybe it did not know what is
Kind regards Hans
