PMS Suddenly stop adding new media in library. Synology NAS

Database is corrupted.

Jan 07, 2020 13:54:40.327 [0x7f41fb159700] DEBUG - Destroying metadata item 5098 ()
Jan 07, 2020 13:54:40.328 [0x7f41fb159700] ERROR - SQLITE3:(nil), 11, database corruption at line 64757 of [bf8c1b2b7a]
Jan 07, 2020 13:54:40.329 [0x7f41fb159700] ERROR - SQLITE3:(nil), 11, database corruption at line 64798 of [bf8c1b2b7a]
Jan 07, 2020 13:54:40.329 [0x7f41fb159700] ERROR - SQLITE3:(nil), 11, statement aborts at 53: [delete from metadata_items where id=?] database disk image is malformed
Jan 07, 2020 13:54:40.329 [0x7f41fb159700] ERROR - Exception inside transaction (inside=1) (../Library/MetadataItem.cpp:781): sqlite3_statement_backend::loadOne: database disk image is malformed
Jan 07, 2020 13:54:40.329 [0x7f41fb159700] ERROR - Exception inside transaction (inside=1) (../Library/MediaItem.cpp:773): sqlite3_statement_backend::loadOne: database disk image is malformed
Jan 07, 2020 13:54:40.329 [0x7f41fb159700] ERROR - Exception inside transaction (inside=1) (../Library/DatabaseFixups.cpp:185): sqlite3_statement_backend::loadOne: database disk image is malformed
Jan 07, 2020 13:54:40.330 [0x7f41fb159700] ERROR - Fixup 42DatabaseFixupsGarbageCollectTransientItems threw an exception: sqlite3_statement_backend::loadOne: database disk image is malformed
Jan 07, 2020 13:54:40.330 [0x7f4244de2700] WARN - Took too long (0.140000 seconds) to start a transaction on ../Plugins/PluginDatabaseState.cpp:189
Jan 07, 2020 13:54:40.330 [0x7f4244de2700] WARN - Transaction that was running was started on thread 0x7f41fb159700 at ../Library/MetadataItemCluster.cpp:156
Jan 07, 2020 13:54:40.330 [0x7f4244de2700] DEBUG - Starting scheduled updates, every 7200 seconds