Absurdly long load times on iOS

Steps to reproduce

Simply open the app.

Did you follow the troubleshooting guide? [Y/N]

Yes!

Expected result

The app to open in a reasonable time.

Actual result

The Obsidian iOS app consistently has absurdly long load times (5-10+ minutes). Sometimes it is on the logo for multiple minutes, but usually “Loading components” takes the longest, with the loading bar often freezing for minutes.

Environment

SYSTEM INFO:
Operating system: ios 16.5.1 (Apple iPhone)
Obsidian version: 1.4.6 (105)
API version: v1.3.5
Login status: not logged in
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Log files seem to be inaccessible on iOS.

This has been happening for months on multiple different devices, with community plugins both on and off.

One notable thing about this is that it only seems to occur after I haven’t used the app for a while; I’m not sure the exact time, but I would guess somewhere between a couple hours and a day or two. Maybe something is being cached, or an update to the app is being fetched?

I have never experienced this issue on Mac.

Is your vault in iCloud? That sounds at least similar to behavior that is caused by iCloud unloading files (which Obsidian then needs to reload and index), tho I thought a special message appeared when that happens (there is prior discussion about this here and/or on Discord).

If not, how many files are in your vault? I’m not sure you can reach startup times like that below 100,000 files, but it’s something to check.

Consider making a fresh vault and copying your note files into it to see if the new vault behaves the same way.

1 Like

My vault is in iCloud, and there is a popup about Obsidian waiting for it to sync configuration files but nothing about it syncing the vault itself.

Is there anything I could do to prevent iCloud from unloading them? I think it might be possible to use an iOS automation to load the files somehow. Otherwise, do you plan to add any kind of indicator for files that are unloaded so they don’t block the app from loading?

1 Like

I think the configuration files block everything else, or that popup is also meant to mean the vault files in general, but I could be misremembering. There should be prior discussion about it in the forum (or maybe on Discord).

I think I’ve seen discussion of something like that — search the forum (or maybe Discord).

I’m not aware of any plans for this. Obsidian depends on having all the files available locally.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.