New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gvfs 1.38.0 - No mounting strategy found #722

Closed
purejava opened this Issue Sep 22, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@purejava
Copy link

purejava commented Sep 22, 2018

As I am on Arch linux, I get the latest package updates.
Updating gvfs (1.36.2-3 -> 1.38.0+3+g7da3b0ba-1) leads to the following exception:

08:07:22.769 [pool-3-thread-1] INFO  o.c.f.w.s.WebDavServletController - WebDavServlet started: /123123123123/Dokumente
08:07:22.848 [pool-3-thread-1] INFO  o.c.f.w.s.WebDavServletController - Mounting http://localhost:42427/123123123123/Dokumente using org.cryptomator.frontend.webdav.mount.FallbackMounter
08:07:22.848 [pool-3-thread-1] WARN  o.c.f.webdav.mount.FallbackMounter - No applicable strategy has been found for your system. Please use a WebDAV client of your choice to mount: http://localhost:42427/123123123123/Dokumente
08:07:22.929 [JavaFX Application Thread] ERROR o.c.u.controllers.UnlockedController - Mount failed.
org.cryptomator.frontend.webdav.mount.Mounter$CommandFailedException: No mounting strategy found.
  at org.cryptomator.frontend.webdav.mount.FallbackMounter.mount(FallbackMounter.java:15)
  at org.cryptomator.frontend.webdav.servlet.WebDavServletController.mount(WebDavServletController.java:102)
  at org.cryptomator.ui.model.Vault.mount(Vault.java:140)
  at org.cryptomator.ui.controllers.UnlockedController.lambda$mountVault$1(UnlockedController.java:164)
  at org.cryptomator.ui.util.AsyncTaskService.lambda$asyncTaskOf$0(AsyncTaskService.java:43)
  at org.cryptomator.ui.util.AsyncTaskService$AsyncTaskImpl.lambda$null$6(AsyncTaskService.java:106)
  at org.cryptomator.ui.util.AsyncTaskService.logExceptions(AsyncTaskService.java:135)
  at org.cryptomator.ui.util.AsyncTaskService.access$100(AsyncTaskService.java:24)
  at org.cryptomator.ui.util.AsyncTaskService$AsyncTaskImpl.lambda$run$7(AsyncTaskService.java:104)
  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  at java.base/java.lang.Thread.run(Thread.java:844)

On downgrading gvfs to 1.36.2-3, Cryptomator starts as usual.

08:13:44.987 [pool-3-thread-1] INFO  o.c.f.w.s.WebDavServletController - WebDavServlet started: /123123123123/Dokumente
08:13:45.073 [pool-3-thread-1] INFO  o.c.f.w.s.WebDavServletController - Mounting http://localhost:42427/123123123123/Dokumente using org.cryptomator.frontend.webdav.mount.LinuxGvfsMounter

I am runnnig Cryptomator 1.3.5 on java 10.0.2.

@tobihagemann

This comment has been minimized.

Copy link
Member

tobihagemann commented Sep 22, 2018

The check happens here: webdav-nio-adapter/LinuxGvfsMounter.java#L26

It expects an exit value of 0 when executing the command which gvfs-mount xdg-open. Can you try that command after updating to gvfs 1.38.0 and let us know what the result is?

@purejava

This comment has been minimized.

Copy link

purejava commented Sep 22, 2018

Name                     : gvfs
Version                  : 1.36.2-3

[ralph@six pkg]$ which gvfs-mount xdg-open
/usr/bin/gvfs-mount
/usr/bin/xdg-open
[ralph@six pkg]$ 

Name                     : gvfs
Version                  : 1.38.0+3+g7da3b0ba-1

[ralph@six pkg]$ which gvfs-mount xdg-open
which: no gvfs-mount in (/usr/local/bin:/usr/local/sbin:/usr/bin:/home/ralph/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
/usr/bin/xdg-open
[ralph@six pkg]$ 
@tobihagemann

This comment has been minimized.

Copy link
Member

tobihagemann commented Sep 22, 2018

Thank you! Looks like gvfs-mount is missing. Can't find anything in the changelog that would suggest that this command has been renamed/deleted. Maybe it's a bug and they'll fix it sooner or later? 🤔

@purejava

This comment has been minimized.

Copy link

purejava commented Sep 22, 2018

Thank you too.
I appears that various gvfs- utils were replaced in favour of the gio cmd tool.
gvfs-mount has been removed in gvfs 1.37.2.

According to the commit messages, gio cmd tool should provide the same functionality as gvfs-mount.

purejava added a commit to purejava/webdav-nio-adapter that referenced this issue Sep 22, 2018

Fixes cryptomator/cryptomator#722
gvfs-mount has been replaced by gio mount in gvfs 1.37.2
gio mount provides the same functionality

@tobihagemann tobihagemann added this to the 1.4.0 milestone Sep 23, 2018

overheadhunter added a commit to cryptomator/webdav-nio-adapter that referenced this issue Sep 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment