bepaald / signalbackup-tools

Tool to work with Signal Backup files.
GNU General Public License v3.0
755 stars 36 forks source link

unsupported database version (85) #196

Closed alphapapaactual closed 5 months ago

alphapapaactual commented 5 months ago

Trying to export old backup without success...

Can't make use of --migratedb

Error log:

Attempting to migrate database from version 85 to version 170... [Error]: During sqlite3_prepare_v2(): table mms has no column named server_guid -> Query: "INSERT INTO mms (date, date_received, date_server, thread_id, address, address_device_id, msg_box, body, read, ct_l, exp, m_type, m_size, st, tr_id, subscription_id, receipt_timestamp, delivery_receipt_count, read_receipt_count, viewed_receipt_count, mismatched_identities, network_failures, expires_in, expire_started, notified, quote_id, quote_author, quote_body, quote_missing, quote_mentions, quote_type, shared_contacts, unidentified, link_previews, view_once, reactions_unread, reactions_last_seen, remote_deleted, mentions_self, notified_timestamp, server_guid, message_ranges, story_type, parent_story_id, export_state, exported) SELECT date_sent, date, date_server, thread_id, address, address_device_id, type, body, read, null, 0, 0, 0, status, null, subscription_id, receipt_timestamp, delivery_receipt_count, read_receipt_count, 0, mismatched_identities, null, expires_in, expire_started, notified, 0, 0, null, 0, null, 0, null, unidentified, null, 0, reactions_unread, reactions_last_seen, remote_deleted, 0, notified_timestamp, server_guid, null, 0, 0, export_state, exported FROM sms WHERE _id IS ? RETURNING _id" [Error]: copying sms._id: 3 [Error]: Failed to migrate currently unsupported database version (85). Please upgrade your database

Plz help

bepaald commented 5 months ago

I quickly had a go at this. Let me know if it works now. If there are still problems, I'll look at it tomorrow (off to bed now).

Thanks!

bepaald commented 5 months ago

I'm fairly certain this was fixed by my commit (807b03b) two weeks ago. Closing now due to lack of any feedback, but if you are still around and still encounter problems, please let me know.

Thanks!