Uploaded deck not syncing → How to batch remove AnkiHub IDs?

UPDATE 3/12/2024:
The current problem is that I need to bulk remove the AnkiHub IDs from all the cards in the deck. How can I do this?

The original problem was that I never suggeseted changes to cards on my first computer (I didn’t know I had to to make the changes upload). I had made so many updates that going back to suggest them all would be impractical, so I deleted the deck from AnkiHub, and then reuploaded it again from scratch. However, the system won’t upload or accept suggestions for most of the cards because the system says that they were previously deleted. So, I’m guessing that, to solve this latest problem, I have to batch remove the AnkiHub IDs from all the cards so that the system will see all the cards as new uploads. How can I do this?

Original post:

I uploaded a private deck in order to have it upload my changes from one computer and download them to another computer. Both computers are logged into my AnkiHub account. However, the second computer does not receive the updates. Is there any way to fix this?

Another possible cause of the issue is that after I uploaded this deck to AnkiHub, I put it into a subdeck because that’s how I like to use Anki. I tried taking it out of its subdeck and putting it back as its own parent deck and resynced, but that didn’t fix it.

Hello,

Did you suggest all these cards to AnkiHub (if you added new ones?)

Also, on the new device, did you click upload to ankiweb when prompted?

If you have done all these things, on your device, do the following:

Please try resetting your local changes. To do this:

Go to browse in your Anki → at the top click on ankihub addon tab → press reset all local changes

This will restore everything to what AnkiHub has unless you have specifically protected those fields

I did not know that I had to suggest changes to get them to upload. I have deleted, added, and edited many cards on my primary computer (computer 1) without suggesting them to AnkiHub.

Can I correctly update the whole deck if I select all cards in the deck and select “Bulk suggest notes” in the browser? Will that delete the removed notes, add the new ones, and sync the edits to the modified notes?

EDIT 2: After realizing how much of a mess it would be to try to go back and suggest updates for all the cards, and figure out what all the deleted cards were to suggest those deletions somehow, I decided to just start over. I deleted the deck from AnkiHub, and reuploaded it from my computer 1. Now when I try to download it to my computer 2, it eventually downloaded a small fraction of the deck. When I try to suggest new cards I make, Anki crashes. When I try to suggest existing cards that I’ve modified, I got an error message saying that that was already deleted from AnkiHub, so it can’t be modified:

EDIT 1: I tried to suggest thousands of cards in bulk. I got this error message:

Then I tried about 100 cards contained in 2 notes. I got the same error message. However, I then got a dialog box saying that the new notes had been uploaded.

Then I tried it with another subdeck, also containing roughly 100 cards in 2-3 notes. I got this error saying that one of the notes was not suggested successfully.

Below is the copied debugging info from the first attempt, when I tried to do thousands of cards at a time. Below that is the debugging info for the 2nd attempt, in which I tried to suggest ~100 cards in 2 notes. Below that is the debugging from the time I got the error saying one of the notes wasn’t suggested.

I restarted Anki and tried it again with a smaller number of cards (about 100 cards in 2 notes). I got the same error message.

that disappeared with this debugging info:

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22621

File “threading”, line 937, in _bootstrap
File “threading”, line 980, in _bootstrap_inner
File “threading”, line 917, in run
File “concurrent.futures.thread”, line 83, in _worker
File “concurrent.futures.thread”, line 58, in run
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py”, line 206, in
task=lambda: suggest_notes_in_bulk(
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py”, line 166, in suggest_notes_in_bulk
_rename_and_upload_media_for_suggestions(
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py”, line 463, in _rename_and_upload_media_for_suggestions
media_upload_cb(media_names=set(media_name_map.values()), ankihub_did=ankihub_did)
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py”, line 78, in start_media_upload
AddonQueryOp(
File “aqt.operations”, line 262, in run_in_background
File “aqt.operations”, line 282, in _run
File “aqt.taskman”, line 72, in run_in_background
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AnkiHub [‘1322529746’, 2024-02-29T18:56, ‘None’, ‘’]
Edit Field During Review Cloze [‘385888438’, 2024-01-03T12:49, ‘6.18’, mod]
FSRS4Anki Helper [‘759844606’, 2024-03-02T16:36, ‘None’, mod]
Google Translate [‘1536291224’, 2024-02-21T20:04, ‘None’, ‘’]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T12:45, ‘None’, ‘’]
uworld_qid_to_anki_search [‘607963104’, 2023-09-21T20:48, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1322529746 1374772155 1536291224 385888438 607963104 759844606

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

Debugging info 2:

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22621

File “threading”, line 937, in _bootstrap
File “threading”, line 980, in _bootstrap_inner
File “threading”, line 917, in run
File “concurrent.futures.thread”, line 83, in _worker
File “concurrent.futures.thread”, line 58, in run
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py”, line 206, in
task=lambda: suggest_notes_in_bulk(
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py”, line 166, in suggest_notes_in_bulk
_rename_and_upload_media_for_suggestions(
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py”, line 463, in _rename_and_upload_media_for_suggestions
media_upload_cb(media_names=set(media_name_map.values()), ankihub_did=ankihub_did)
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py”, line 78, in start_media_upload
AddonQueryOp(
File “aqt.operations”, line 262, in run_in_background
File “aqt.operations”, line 282, in _run
File “aqt.taskman”, line 72, in run_in_background
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AnkiHub [‘1322529746’, 2024-02-29T18:56, ‘None’, ‘’]
Edit Field During Review Cloze [‘385888438’, 2024-01-03T12:49, ‘6.18’, mod]
FSRS4Anki Helper [‘759844606’, 2024-03-02T16:36, ‘None’, mod]
Google Translate [‘1536291224’, 2024-02-21T20:04, ‘None’, ‘’]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T12:45, ‘None’, ‘’]
uworld_qid_to_anki_search [‘607963104’, 2023-09-21T20:48, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1322529746 1374772155 1536291224 385888438 607963104 759844606

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

Third attempt, one note not suggested successfully:

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22621

File “threading”, line 937, in _bootstrap
File “threading”, line 980, in _bootstrap_inner
File “threading”, line 917, in run
File “concurrent.futures.thread”, line 83, in _worker
File “concurrent.futures.thread”, line 58, in run
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py”, line 206, in
task=lambda: suggest_notes_in_bulk(
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py”, line 174, in suggest_notes_in_bulk
_rename_and_upload_media_for_suggestions(
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py”, line 463, in _rename_and_upload_media_for_suggestions
media_upload_cb(media_names=set(media_name_map.values()), ankihub_did=ankihub_did)
File “C:\Users\owens\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py”, line 78, in start_media_upload
AddonQueryOp(
File “aqt.operations”, line 262, in run_in_background
File “aqt.operations”, line 282, in _run
File “aqt.taskman”, line 72, in run_in_background
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AnkiHub [‘1322529746’, 2024-02-29T18:56, ‘None’, ‘’]
Edit Field During Review Cloze [‘385888438’, 2024-01-03T12:49, ‘6.18’, mod]
FSRS4Anki Helper [‘759844606’, 2024-03-02T16:36, ‘None’, mod]
Google Translate [‘1536291224’, 2024-02-21T20:04, ‘None’, ‘’]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T12:45, ‘None’, ‘’]
uworld_qid_to_anki_search [‘607963104’, 2023-09-21T20:48, ‘None’, ‘’]

===IDs of active AnkiWeb add-ons===
1322529746 1374772155 1536291224 385888438 607963104 759844606

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

I don’t always get the error but I just got it again so I thought I’d share the debug info

Debug info

Anki 23.12.1 (1a1d4d54) (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.22621

File “threading”, line 937, in _bootstrap
File “threading”, line 980, in _bootstrap_inner
File “threading”, line 917, in run
File “concurrent.futures.thread”, line 83, in _worker
File “concurrent.futures.thread”, line 58, in run
File “C:\Users\shmue\AppData\Roaming\Anki2\addons21\1322529746\gui\suggestion_dialog.py”, line 206, in
task=lambda: suggest_notes_in_bulk(
File “C:\Users\shmue\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py”, line 174, in suggest_notes_in_bulk
_rename_and_upload_media_for_suggestions(
File “C:\Users\shmue\AppData\Roaming\Anki2\addons21\1322529746\main\suggestions.py”, line 463, in _rename_and_upload_media_for_suggestions
media_upload_cb(media_names=set(media_name_map.values()), ankihub_did=ankihub_did)
File “C:\Users\shmue\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py”, line 78, in start_media_upload
AddonQueryOp(
File “aqt.operations”, line 262, in run_in_background
File “aqt.operations”, line 282, in _run
File “aqt.taskman”, line 72, in run_in_background
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AMBOSS add-on [‘0amboss_addon’, 2023-11-13T12:01, ‘None’, mod]
Add Hyperlink [‘318752047’, 2023-06-18T07:39, ‘None’, ‘’]
Additional Card Fields Fork for 21 [‘744725736’, 2022-10-23T06:10, ‘None’, mod]
Advanced Browser [‘874215009’, 2023-10-21T10:34, ‘None’, mod]
Advanced Card Styles [‘1625103157’, 2021-12-28T12:49, ‘None’, ‘’]
AnKing Note Types Easy Customization [‘952691989’, 2024-01-19T16:17, ‘None’, mod]
Anki Mastery Course Butler [‘butler’, 2022-08-17T21:23, ‘None’, mod]
Anki Simulator [‘817108664’, 2023-11-06T12:26, ‘None’, ‘’]
AnkiHub [‘1322529746’, 2024-03-11T14:09, ‘None’, mod]
AnkiRestart Quick Aniki Rebooter for Anki Customize and Develop by Shige [‘237169833’, 2024-02-06T08:21, ‘None’, mod]
Batch Editing [‘291119185’, 2023-10-25T20:38, ‘None’, ‘’]
BetterSearch [‘1052724801’, 2024-03-06T11:25, ‘None’, mod]
Browser Resizer [‘1435775540’, 2023-11-11T12:16, ‘None’, mod]
Browser TableEditor side-by-side horizontal split [‘831846358’, 2022-01-25T17:11, ‘None’, mod]
Calculate New Cards To Do [‘2014569756’, 2022-05-19T01:38, ‘None’, mod]
Card Info During Review [‘2179254157’, 2023-11-14T00:56, ‘None’, ‘’]
Clickable Tags v20 [‘1739176371’, 2022-01-30T17:58, ‘None’, ‘’]
Colorful Tags Hierarchical Tags [‘594329229’, 2022-09-15T11:06, ‘None’, ‘’]
Contanki - Controller Support for Anki beta [‘1898790263’, 2024-02-29T20:22, ‘v1.0.2’, mod]
Custom Background Image and Gear Icon [‘1210908941’, 2023-04-18T21:19, ‘None’, mod]
Customize Keyboard Shortcuts [‘24411424’, 2023-11-01T05:17, ‘None’, mod]
Delay Overdue Cards [‘43919973’, 2024-01-30T20:12, ‘None’, ‘’]
Edit Field During Review Cloze [‘385888438’, 2024-01-03T02:19, ‘6.18’, mod]
Exam Notifier [‘236593452’, 2023-01-19T12:12, ‘None’, ‘’]
Export Single Tag For Sharing [‘960563361’, 2022-04-10T17:30, ‘None’, ‘’]
Extended Tag AddEdit Dialog [‘1135507717’, 2023-11-11T11:58, ‘None’, mod]
FSRS4Anki Helper [‘759844606’, 2024-03-02T06:06, ‘None’, mod]
Fastbar- with nightmode support [‘46611790’, 2023-06-27T07:47, ‘None’, ‘’]
High Yield Tags [‘1918380616’, 2023-01-10T14:14, ‘None’, mod]
Hint Hotkeys [‘1844908621’, 2023-04-14T10:13, ‘None’, ‘’]
Image Editor [‘307397307’, 2022-09-08T00:09, ‘None’, mod]
Image Occlusion Enhanced [‘1374772155’, 2022-04-09T03:15, ‘None’, ‘’]
Image Style Editor [‘1593969147’, 2021-12-17T02:01, ‘None’, mod]
Leaderboard [‘41708974’, 2023-01-15T05:53, ‘None’, mod]
Learning Step and Review Interval Retention [‘1949865265’, 2024-01-06T12:48, ‘None’, ‘’]
Localize Media [‘1293255374’, 2023-10-18T23:14, ‘None’, ‘’]
More Decks Stats and Time Left [‘1556734708’, 2023-09-24T10:08, ‘None’, mod]
More Overview Stats 21 [‘738807903’, 2021-07-30T15:13, ‘None’, mod]
New Cards Counter [‘635082046’, 2022-04-20T16:37, ‘None’, mod]
PDF Exporter [‘1442112168’, 2022-11-16T15:23, ‘None’, ‘’]
Quick Colour Changing [‘2491935955’, 2023-10-18T23:15, ‘None’, mod]
ReColor [‘688199788’, 2024-03-02T20:45, ‘3.0’, mod]
Rebuild All Empty All for Anki 21 [‘1810938259’, 2018-07-20T00:40, ‘None’, ‘’]
Remove card history [‘2089200096’, 2023-10-18T23:15, ‘None’, ‘’]
Reset Ease [‘947935257’, 2023-11-11T20:22, ‘None’, ‘’]
Review Heatmap [‘1771074083’, 2022-06-29T21:43, ‘None’, ‘’]
Shrink Image Size In Editor [‘1633333766’, 2022-10-21T05:23, ‘None’, mod]
Smarter Study Ahead [‘1536096830’, 2022-01-13T00:31, ‘None’, ‘’]
Special Fields [‘1102281552’, 2023-11-01T12:37, ‘None’, mod]
Speed Focus Mode auto-alert auto-reveal auto-answer [‘1046608507’, 2022-12-16T06:24, ‘None’, mod]
Spell Checker with Custom Dictionaries [‘390813456’, 2023-10-20T12:00, ‘None’, mod]
Straight Reward [‘957961234’, 2023-11-01T10:11, ‘None’, ‘’]
Study Time Stats [‘1247171202’, 2024-02-24T11:59, ‘None’, ‘’]
Symbols As You Type [‘2040501954’, 2024-01-20T00:42, ‘None’, ‘’]
Symbols [‘1461102936’, 2024-02-10T11:53, ‘None’, mod]
Text Formatting and Editing in the Context Menu [‘2143302836’, 2023-09-03T08:54, ‘None’, ‘’]
The KING of Button Add-ons [‘374005964’, 2024-01-27T05:19, ‘None’, ‘’]
The KING of Study Timers [‘907028815’, 2022-04-20T14:14, ‘None’, mod]
Transfer Review History [‘1398071003’, 2024-01-03T16:36, ‘None’, ‘’]
True Retention [‘613684242’, 2017-11-19T15:43, ‘None’, ‘’]
UWorld2Anki [‘271205340’, 2024-01-02T22:06, ‘None’, mod]
UpToDate Addon [‘utd_anki_addon’, 2023-05-08T11:16, ‘None’, ‘’]
Wrapper meta-addon [‘396502676’, 2023-07-22T08:05, ‘None’, ‘’]
add-on dialog searchfilter bar [‘561945101’, 2023-10-18T12:22, ‘None’, ‘’]
extended editor for field for tables searchreplace [‘805891399’, 2023-07-31T10:12, ‘None’, mod]
fast change note-id dnr fork [‘806857685’, 2022-01-18T19:23, ‘None’, ‘’]
link Cards Notes and Preview them in extra window [‘1423933177’, 2023-10-27T18:26, ‘None’, ‘’]
nbspRemover [‘1676672391’, 2022-06-02T10:18, ‘None’, ‘’]
rebuildempty some or all filtered decks [‘104518886’, 2023-05-16T18:33, ‘None’, ‘’]
uworld_qid_to_anki_search [‘607963104’, 2023-05-04T20:30, ‘None’, mod]

===IDs of active AnkiWeb add-ons===
104518886 1046608507 1052724801 1102281552 1135507717 1210908941 1247171202 1293255374 1322529746 1374772155 1398071003 1423933177 1435775540 1442112168 1461102936 1536096830 1556734708 1593969147 1625103157 1633333766 1676672391 1739176371 1771074083 1810938259 1844908621 1898790263 1918380616 1949865265 2014569756 2040501954 2089200096 2143302836 2179254157 236593452 237169833 24411424 2491935955 271205340 291119185 307397307 318752047 374005964 385888438 390813456 396502676 41708974 43919973 46611790 561945101 594329229 607963104 613684242 635082046 688199788 738807903 744725736 759844606 805891399 806857685 817108664 831846358 874215009 907028815 947935257 952691989 957961234 960563361

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Adjust Sound Volume [‘2123044452’, 2023-12-25T09:00, ‘None’, mod]
Advanced Review Bottom Bar [‘1136455830’, 2024-02-04T13:38, ‘None’, ‘’]
AnJoy [‘anjoy’, 2019-07-31T17:02, ‘None’, mod]
Anki Killstreaks [‘579111794’, 2021-12-15T10:20, ‘None’, ‘’]
AnkiBrain AnkiChatGPT - GPT-4 GPT 35 with auto-cards and document analysis [‘1915225457’, 2024-02-19T20:41, ‘None’, ‘’]
Audiovisual Feedback [‘231569866’, 2023-07-08T23:34, ‘0.8’, mod]
Clerkship Study Scheduler - Easily unsuspend relevant AnKing cards HuskyHelper [‘1387388121’, 2022-12-21T19:01, ‘None’, ‘’]
Closet For Anki [‘272311064’, 2022-08-12T04:27, ‘None’, ‘’]
Editor ProToolBox - Web importer, quick format, & media scraper [‘editor_pro_toolbox’, 2023-06-20T17:53, ‘None’, mod]
Enhance main window [‘877182321’, 2023-10-22T16:28, ‘None’, mod]
Extended Card Stats During Review [‘1008566916’, 2024-02-26T14:07, ‘None’, ‘’]
Free Weekend - or Any Other Day [‘742185195’, 2020-04-10T07:57, ‘None’, mod]
Google Translate [‘1536291224’, 2024-02-21T09:34, ‘None’, ‘’]
Highlight Search Results in the Browser [‘225180905’, 2023-10-21T15:17, ‘None’, ‘’]
Load Balanced Scheduler [‘208879074’, 2019-07-23T22:37, ‘None’, ‘’]
Mini Format Pack [‘295889520’, 2023-11-02T14:00, ‘None’, ‘’]
Opening the same window multiple time [‘354407385’, 2023-11-04T21:59, ‘None’, ‘’]
Progress Bar [‘2091361802’, 2019-03-02T21:27, ‘None’, ‘’]
Progress Bar cards done cards left secondscard time spentleft and ETA [‘1097423555’, 2023-10-02T04:05, ‘None’, mod]
Puppy Reinforcement [‘1722658993’, 2023-11-16T07:59, ‘None’, ‘’]
Remaining time for Anki 21 [‘1508357010’, 2020-12-13T09:14, ‘20.12.13i151’, mod]
Review Statistics During Review Cards done Left scard spent left ETA [‘1695607349’, 2023-06-04T23:30, ‘None’, mod]
Searching PDF Reading Note-Taking in Add Dialog [‘1781298089’, 2022-08-15T03:22, ‘None’, ‘’]
Studyio - See your most-missed tags works great with AnKing for medical school [‘720874373’, 2022-10-16T22:11, ‘None’, ‘’]
Syllabus - Anki Statistics and Export by Tag and Deck [‘668156440’, 2020-01-19T14:52, ‘None’, mod]
Transfer scheduling data from one card to another [‘94685914’, 2020-09-18T05:23, ‘None’, ‘’]
Weekends and Holidays [‘1992008104’, 2022-12-19T20:24, ‘None’, mod]

I’m getting the “Add-ons possibly involved: AnkiHub” error now, just upgraded to the newest version of Anki and started happening

@ProductTeam UPDATE 3/12/2024:
The current problem is that I need to bulk remove the AnkiHub IDs from all the cards in the deck. How can I do this?

The original problem was that I never suggeseted changes to cards on my first computer (I didn’t know I had to to make the changes upload). I had made so many updates that going back to suggest them all would be impractical, so I deleted the deck from AnkiHub, and then reuploaded it again from scratch. However, the system won’t upload or accept suggestions for most of the cards because the system says that they were previously deleted. So, I’m guessing that, to solve this latest problem, I have to batch remove the AnkiHub IDs from all the cards so that the system will see all the cards as new uploads. How can I do this?