iOS and iclould: Stuck on loading workspace / Unresponsive after start

The current stable build is the same as the insider.

Does this problem happen if you run obsidian with no third party plugins after deleting workspace-mobile.json

I was having this problem and it was driving me nuts. I tried removing the vault from my phone and doing a restore. Instead I ended up deleting my ENTIRE vault from iCloud. When I finally got my vault restored (thankfully I’ve been paying for Backblaze for years) I removed workspace.json from my Vault and now I can use the iOS app again (and the Mac app is still working fine too).

1 Like

Yes. I tried multiple times deleting workspace.json, workspace-mobile.json.

iCloud syncing all new files, I reboot app couple times and always get this screen:

When I delete app entirely it helps for may be a day, then you got the same problem.

For all the people who frequently ran into this issue, it seems that you all have in common iOS and using iCloud.

Which iOS version are you using?

Paste your debug info below, which can be accessed by Command Palette (Ctrl/Cmd-P on Desktop, Swipe down from the top on mobile) enter “Show debug info”, and click “Copy to clipboard”.

Desktop

macOS, 14.2.1 (23C71).

SYSTEM INFO:
	Obsidian version: v1.5.10
	Installer version: v1.4.16
	Operating system: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 23.2.0
	Login status: logged in
	Catalyst license: vip
	Insider build toggle: on
	Live preview: on
	Base theme: adapt to system
	Community theme: Atom v0.0.0
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 8
	Plugins enabled: 6
		1: Dataview v0.5.64
		2: Excalidraw v2.0.23
		3: Git v2.23.2
		4: Jira Issue v1.56.0
		5: Natural Language Dates v0.6.2
		6: Tasks v6.0.0

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Mobile
iOS, 17.3.1

SYSTEM INFO:
 Operating system: ios 17.3.1 (Apple iPhone16,1)
 Obsidian version: 1.5.8 (126)
 API version: v1.5.8
 Login status: not logged in
 Live preview: on
 Base theme: adapt to system
 Community theme: Atom v0.0.0
 Snippets enabled: 0
 Restricted mode: off
 Plugins installed: 8
 Plugins enabled: 6
  1: Dataview v0.5.64
  2: Excalidraw v2.0.23
  3: Git v2.23.2
  4: Jira Issue v1.56.0
  5: Natural Language Dates v0.6.2
  6: Tasks v6.0.0

RECOMMENDATIONS:
 Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
 Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

I’ve found what seems to be a consistent work around to this. I believe the issue occurs when there is no local downloaded copy of the vault on the iOS device.

  1. Open the native Files app on iOS.
  2. Long press on your Obsidian vault folder and choose “Download Now”.
  3. Wait for the Obsidian vault folder to fully download to your device.
  4. Open Obsidian again and it won’t get stuck loading.

Unfortunately it seems there is no way on iOS to make sure the folder permanently remains local on the device, so you have to repeat the above download every day or so.

1 Like

Does it freeze or does the progress bar still move?

The progress bar freezes with the “Loading workspace” step. The progress bar sometimes starts to animate again and then will freeze again a short time later.

1 Like

@samobsid90 since you are able to make obsidian start by forcing icloud to download the files.

Once it starts, run obsidian in restricted mode and let me know if you experience the problem again or not.

Also which plugins are you currently running,

Paste your debug info below, which can be accessed by Command Palette (Ctrl/Cmd-P on Desktop, Swipe down from the top on mobile) enter “Show debug info”, and click “Copy to clipboard”.

Here are my debug infos.
Desktop
macOS, 14.2.1

SYSTEM INFO:
	Obsidian version: v1.5.8
	Installer version: v1.4.16
	Operating system: Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 2023; root:xnu-10002.61.3~2/RELEASE_X86_64 23.2.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Mobile
iOS, 17.3.1

SYSTEM INFO:
	Operating system: ios 17.3.1 (Apple iPhone11,6)
	Obsidian version: 1.5.8 (126)
	API version: v1.5.8
	Login status: not logged in
	Live preview: on
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

it freezes for me.

Were using no plugins?
Are you using iCloud or obsidian sync?

I do not use any plugins beside the core ones. And yes, I am using and iCloud sync.

Lately, I get past the loading screen and it freezes a few seconds after that. Sometimes I manage to bring up a file chooser prompt, sometimes I even manage to open a file, just to have it freeze right after opening. It doesn’t matter which note I am trying to open.

SYSTEM INFO:
	Operating system: ios 16.7.5 (Apple iPhone10,4)
	Obsidian version: 1.5.8 (126)
	API version: v1.5.8
	Login status: not logged in
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Only plugin installed is “Map View”

Ok, here’s what I’ve managed to find after some testing…

Restricted on, files not pre downloaded in Files app
The app now gets through the loading screen every time and opens the last open file, however, the Obsidian interface is frozen / non-responsive and the phone gets hot.

Restricted on, files are pre downloaded in Files app
App functions normally.

Restricted off, files not pre downloaded in Files app
Previously with this setup the app would always freeze on the loading screen, but now that I have toggled restricted on/off to test the above, I can’t replicate the app freezing on the loading screen and it now always gets through to the last open file, but the whole interface is frozen / not responsive.

Restricted off, files are pre downloaded in Files app
App functions normally.

Between each setup above, I’m ‘force quitting’ the app and loading from scratch.

This is interesting because you shouldn’t need to pre download the files. When obsidian starts we do check/force the presence of the settings folder.

We’ll investigate this matter more.

1 Like

For anybody else in this thread, do samobsid90 instructions here of force downloading the vault before starting obsidian, fix the problem temporarily?

Are you in this thread skipping the Waiting for iClould to syncronize?

Force downloading doesn’t change anything on my side.

Skipping iCloud sync doesn’t help either. The only thing that seems to work is the removal of the mobile workspace config file.

1 Like

If you are using obsidian git plugin, put the .git folder outside of obsidian value (maybe to somewhere that not sync by iCloud). To make git still works on mac, you need to create a file in the original place named .git, and its content is simply gitdir: path/to/your/new/git/folder/.git. This works for me. No stuck and delay on my iPhone anymore. (background: my .git folder is kinda large, around 900 mb, and the way that git working makes there are many small files inside of .git folder. Apparently iCloud is not good at syncing such folders)

1 Like

I have the same problem. Just like for @DAn7 the only thing that helps is deleting the .workspace-mobile.json file from my Mac. But it only helps for about half a day and then the problem returns. Does anyone know of a more permanent solution, please?

1 Like

I am more than willing to help here. If you are willing, I would gladly join the dev team temporarily (I am a software engineer as well) so I can build and debug on my own device. What can I do to sort this out?

Is there an internal chat between devs or any place where I can make a difference?

1 Like