[Solved] Cannot import/export files to mounted directory via SSHFS

0 votes
asked Jul 30, 2015 in Solved by dalben (180 points)

I have a mounted directory in my home folder which points to my test server. It was mounted via sshfs. The problem is that Skipper cant open this directory to perform export/import operations, which would really simplify my deployment tasks.

Is there any workaround? Thanks in advance.

1 Answer

0 votes
answered Jul 30, 2015 by ludek.vodicka Skipper developer (140,450 points)

Which OS?
How does mounted path look like?
Are you able to access mounted path via common OS tools?

Skipper is using Qt library which is connected to OS resources. In case it's a default path accessible with OS, this path should be accessible also via Skipper.

commented Jul 30, 2015 by dalben (180 points)

Hello, thanks for your answer.

I'm running Skipper and the sshfs client on Slackware GNU/Linux. The files are in a remote machine, an ArchLinux, in /home/me/app/. They are mounted in a similar path on Slack, /home/me/mount/. I can browse these files normally via terminal and Thunar on Slack.

commented Jul 30, 2015 by ludek.vodicka Skipper developer (140,450 points)

And what exactly Skipper returns as error? Or what does it mean "Skipper can't open".

Is this directory visible in open dialog?

commented Jul 31, 2015 by dalben (180 points)

I managed to find it once on the directory browser on Skipper when trying to import a project, and when I clicked it, a dialog box was popped. I tried to reproduce this box to take a screenshot but now the directory browser doesn't even list the folder where I mounted it.

Any ideas on what might be causing it?

commented Jul 31, 2015 by ludek.vodicka Skipper developer (140,450 points)

Unfortunately not. It seems to some OS problems rather than problems in Skipper.

Skipper is using a common c++ file system methods to access files/directories so it should work with any mounted directory as long as it's accessible via common methods on OS

commented Jul 31, 2015 by dalben (180 points)

I believe people rely on using remote directories to make fast ORM schema files deployment to their servers for testing. SSHFS is definitely not working for me, because Skipper simply won't list the directory where I have my remote directory mounted.

Is there any alternative to SSHFS for mounting remote directories that in fact work with Skipper?

commented Jul 31, 2015 by dalben (180 points)
edited Jul 31, 2015 by dalben

It seems that NFS works perfectly with Skipper. Problem solved. (-: Thank you Ludek.

Edit: Actually, I can browse my mounted directory to export my ORM files, but when I click to confim the export, Skipper crashes. This is really bothering me :/

Does anybody else have this kind of problem with remote mounted filesystems?

...