I don’t know exactly, since I’ve been using Obsidian for a while so I’m not sure 100% what triggered it. Right now all I have to do is open Obsidian, and I see a blank screen.
The last thing I tried doing was copying my notes over to a dropbox folder so it can be synced with my dropbox. Maybe that’s what triggered it.
I tried re-installing. I’m using the AppImage, so I deleted it and downloaded again from obsidian.md. I also deleted the folder located at ~/.config/obsidian. Nothing changed the above result.
@WhiteNoise Thanks for the response. It did happen again, and the error I see in the console is Uncaught (in promise) Error: ENOSPC: System limit for number of file watchers reached, watch '/home/hassan/Dropbox/notes/'.
I suppose that error message is clear enough. I was able to solve it by running:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
I hope that helps you fix the bug. If you need anything else from me, please let me know.
@WhiteNoise Thanks for the response. It did happen again, and the error I see in the console is Uncaught (in promise) Error: ENOSPC: System limit for number of file watchers reached, watch '/home/hassan/Dropbox/notes/' .
I suppose that error message is clear enough. I was able to solve it by running:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
I hope that helps you fix the bug. If you need anything else from me, please let me know.
I just had the exact same problem and your run-command also helped me. Thanks!