Lecture Notes protected field erased?

Hi,

All the images/screenshots I seemed to have put in all my lecture notes for most cards seems to have disappeared despite the field being protected… I’m missing the info for hundreds and hundreds of cards?? What’s the deal with this? Nothing has changed with my protected fields or account or anything. Would really like to get those back as over a year of work of inserting pics/screenshots is gone and that’s a huge pain for me to manually do that all over again…

I understand you’re experiencing a concerning issue with your lecture notes where the images and screenshots have disappeared from protected fields. This is definitely frustrating, especially with so much work involved. Let me search for relevant information to help you.

Search

Found 1 result for 'tags:official protected field erased images status:public'

Search

Found 4 results for 'tags:official missing images protected field status:public'

Read topic

Reading: Why is my deck missing images?

Search

Found 5 results for 'tags:official protected fields guide status:public'

Read topic

Reading: 🔐 Protecting Fields and Tags

Read topic

Reading: Can I protect my own edits when subscribing to the AnKing Step Deck?

Hi there! I understand how frustrating it can be to lose important images in your lecture notes, especially after putting in so much work. Let’s try to figure out what happened and how to possibly recover them.

Understanding the Issue

Based on your description, you had images in your Lecture Notes field (which should be protected by default in AnkiHub) that have disappeared, despite the field being protected.

Possible Causes & Solutions

  1. Protection Status Check
    The Lecture Notes field is typically automatically protected in AnkiHub (especially for decks like AnKing Step Deck), but it’s worth verifying your protection settings:

    • Go to the AnkiHub website
    • Find your deck and click the 3 dots in the top right
    • Select “Manage protected data”
    • Confirm that “Lecture Notes” is checked (ticked)
  2. Media Sync Issues
    Sometimes media can disappear due to sync issues:

    • Check if the AnkiHub add-on is still downloading media (it may show “Idle” when complete)
    • Try forcing a full sync by going to Tools → Preferences → Network → “On next sync, force changes in one direction”
  3. Local Changes Reset
    If someone accidentally reset local changes, this could overwrite protected fields:

    • Check if anyone else has access to your account or if you might have accidentally clicked “Reset local changes” in the AnkiHub add-on
  4. Recovering Images
    If your images were stored locally:

    • Check your Anki media folder to see if the image files still exist
    • You might be able to recover from Anki backups if the issue is recent

Next Steps

  1. If you believe this is a bug with AnkiHub (especially since the field was protected), please provide additional details like:

    • Which specific deck you’re using
    • When you first noticed the images disappeared
    • Any recent changes to your Anki setup or AnkiHub subscription
  2. As a last resort, you might need to check your computer backup if you have one, or see if you still have the original images that you can re-add.

Have you made any recent changes to your Anki setup or AnkiHub subscription? And could you confirm which deck these notes belong to?

Hello,

I would be happy to help. :slight_smile:

You can always restore your collection by restoring from a backup:

Anki makes backups, periodically, and automatically, numerous times per day from which you can always draw.

Please let me know if that answers your question, and if there’s anything else I can help with. :slight_smile:

I suppose that’s a temporary fix for the issue, but why did they disappear in the first place if they’re protected?

Also perhaps relatedly… but thousands of tagged cards/notes from an optional deck are missing…
For example… there should be thousands of cards in this optional tag. there are only 5 now for whatever reason?

This is a rare bug that happens and we are trying to investigate the root cause. Can you do the following? This might help us down the line:

Please use AnkiHub > Help > Upload logs and data and let us know the filename shown.

I already reverted to a prior back up from ~May this year to get back my cards – all Lecture Notes fields and all the optional tagged cards returned obviously. Do you still want the log file now that i’ve reverted?

@abdo.nh Let us know if it would still be helpful

Yes please.

Sorry i missed out on this reply and it’s now too late to provide that info but I would like to add that this issure is still ongoing. No matter my settings in the Note Types add-on, in the CSS, how many times I adjust photo scale manually, without fail, random syncs will add back changes I have made to the lecture notes or extra fields, DESPITE both being protected. I finally moved to protecting the extra field yesterday through ankihub website / my subscription settings online, in an attempt to finally get images and line settings in the extra field to stop getting overridden with updates, but this hasn’t fixed the issue.

Extra fields I edited yesterday have reverted back to my pre-changes version and i’m so tired of trying to keep my cards as I want them, like why are the sizes of my protected field images and text I don’t like in extra field sections still getting overridden? Surely you guys can stop having changes done to the media with syncs in protected fields. what’s the point of protecting the field if changes are still made?

Like i have to do this 303020828042 times a day and I’m not really sure why. I changed the extra images to be aligned/same height. today, they’re diff. I will change them back manually… it’ll change back tomorrow.

Can you send the field contents as HTML? I want to test if it has anything to do with the contents. Use the Preformatted text button in this website’s editor to paste the text.

This is unrelated, but we’re aware of the issue.

Post-correction HTML for the above example (hasn’t reverted yet):
- my<u style="font-weight: bold;">O</u>tonic = d<u style="font-weight: bold;">O</u>minant<br>- Duch<b><u>E</u></b>nne muscular dystrophy, B<b><u>E</u></b>cker muscular dystrophy = X-linked r<b><u>E</u></b>cessive<br><br><img src="3027db5ae8f75569224ba90951b202b4.webp" width="1000px" style="width: 400.891px;">&nbsp;<img src="b9c41ed420805cfe1d800bd2c9b3a686.webp" width="1100px" style="width: 460.891px;">

Examples of other cards that have reverted:

  1. Glomerular bleeding leads to formation of RBC casts<br><br><img src="98ec5b9c67d7cf2c7f843f730a75ed5f.webp" width="381">&nbsp;<img src="3626b6ba8116064838910719ada14b08.webp" width="1400px">

After correction: Glomerular bleeding leads to formation of RBC casts<br><br><img src="98ec5b9c67d7cf2c7f843f730a75ed5f.webp" width="381" style="width: 322px;">&nbsp;<img src="3626b6ba8116064838910719ada14b08.webp" width="1400px" style="width: 530.391px;">

  1. Other causes include <b>intubation</b> and <b>vascular ring</b> (e.g., <b>aberrant right subclavian artery</b> - <u>4th aortic arch defect</u>)<br><br><img src="bb3b0919ae2ccd14b2062fb4f8778ec1.webp" width="1000" style="width: 531px;">&nbsp;<img src="L7317.png">&nbsp;<img src="L20111.jpg">

After correction: Other causes include <b>intubation</b> and <b>vascular ring</b> (e.g., <b>aberrant right subclavian artery</b> - <u>4th aortic arch defect</u>)<br><br><img src="bb3b0919ae2ccd14b2062fb4f8778ec1.webp" width="1000" style="width: 530.391px;">&nbsp;<img src="L7317.png" style="width: 321.391px;">&nbsp;<img src="L20111.jpg" style="width: 476.391px;">

  1. Extra: e.g., pruritus, jaundice, dark urine, light stool, hepatosplenomegaly<br><br><img src="62e4d4794615a4b2d7fbcb4ddea83aeb.webp" width="850px">&nbsp;<img src="b96dfb0f4d597cc124d9ac6203c8e644.webp" width="800px">

Lecture notes: <img src="paste-2e02675d5bf2cbac86bc30b502b4a2606981a6ca.jpg">&nbsp;<img src="paste-d37b6864c59cf1fab73a6cb754d9287b524c00c5.jpg">

>

After correction - Extra: e.g., pruritus, jaundice, dark urine, light stool, hepatosplenomegaly<br><br><img src="62e4d4794615a4b2d7fbcb4ddea83aeb.webp" width="850px" style="width: 448.891px;">&nbsp;<img src="b96dfb0f4d597cc124d9ac6203c8e644.webp" width="800px" style="width: 417.891px;">

After correction - Lecture notes: <img src="paste-2e02675d5bf2cbac86bc30b502b4a2606981a6ca.jpg" style="width: 495.547px;">&nbsp;<img src="paste-d37b6864c59cf1fab73a6cb754d9287b524c00c5.jpg" style="width: 613.547px;">

  1. During <b><i>periods of accelerated growth</i></b><br><br><img src="21c4c1f877a573a161a689499a2448ff.webp" width="420" style="width: 481px;">&nbsp;<img src="71301d61fe3fc14426c3b09efe2f1bf3.webp" width="1200px" style="width: 665px;">

After correction: During <b><i>periods of accelerated growth</i></b><br><br><img src="21c4c1f877a573a161a689499a2448ff.webp" width="420" style="width: 383px;">&nbsp;<img src="71301d61fe3fc14426c3b09efe2f1bf3.webp" width="1200px" style="width: 530.391px;">

1 Like

Pleas let me know when you notice it happening again and upload logs.

ankihub_addon_debug_info_eren.sakarcan_1764713575.zip

Which note was overwritten?

I didn’t make note of specific notes yesterday, i just noticed several were altered then submitted the log, but today here are the NIDs for those i noticed during my reviews today (unsure when overwriting happened…sometime between last time i reviewed them and today, obviously). There are def more but these are just today’s

1585502300974
1578963423618
1695247830716
1485227020903
1532690742866
1669737153829
1463442752880 (have resized the extra field pic and removed the citation link numerous times, reappeared today)
1557067939517
1547916108265
1556716381176
1548806619005
1469212054829
1517004949397
1519746806307

Thanks!

Can you try this?

  1. Select some notes you modified in the browser
  2. Right click and click Reset local changes.

Does that overwrite your changes? (Undo if so).

Yes it does – have accidentally clicked this before and it always reverts notes