Full Storage Leads to Blank File

Steps to reproduce

  1. Storage almost full (I had about 500mb remaining)
  2. Open .md file or files.

Expected result

File contents stay the same but are read-only or save does not save but file contents not deleted.

Actual result

.md files that were opened while storage was full are not blank with no contents when viewed in Obsidian or a text editor.

Environment

  • Operating system: Macos 11.1
  • Debug info: SYSTEM INFO:
    Obsidian version: v0.13.23
    Installer version: v0.12.19
    Operating system: Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 20.2.0
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: off
    Plugins installed: 7
    Plugins enabled: 7
    1: Excalidraw
    2: Outliner
    3: Sliding Panes (Andy’s Mode)
    4: Advanced Tables
    5: Mind Map
    6: Ozan’s Image in Editor Plugin
    7: Kanban
1 Like

You should have seen some popup telling you that the files could not be saved. You can also use File Recovery plugin to restore old version of the files.

I had exactly the same on iPhone

The file went blank as the popup appeared saying that the file could not be saved because storage was full so there was no warning about the risk of data loss before the contents of the file were deleted.

1 Like