Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Mounting Windows 10 share using the GUI fails with mount error(13)

Scheduled Pinned Locked Moved Unsolved Support
cifsvolumes
8 Posts 4 Posters 411 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 32463 Offline
    32463 Offline
    3246
    wrote on last edited by girish
    #1

    Steps to replicate:

    1. Navigate to #/volumes
    2. Add a CIFS share (Windows 10)
    3. Press save

    Expected result:

    • Share is mounted

    Actual result:

    • Share not mounted and fails with error (13) permission denied; log shows version mismatch (vers=1.0):

    [ 2302.388098] CIFS: Attempting to mount //192.168.2.3/test [ 2302.388117] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount. [ 2302.399555] Status code returned 0xc000006d STATUS_LOGON_FAILURE [ 2302.399564] CIFS VFS: \\192.168.2.3 Send error in SessSetup = -13 [ 2302.399599] CIFS VFS: cifs_mount failed w/return code = -13

    Visit https://www.bebravernow.com for more

    32463 1 Reply Last reply
    0
  • 32463 Offline
    32463 Offline
    3246
    replied to 3246 on last edited by
    #2

    I've tried disabling vers=1.0 in Windows 10 (https://docs.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3), rebooted, and sadly the error persists.

    Mounting the share from the command line with and without specifying the version works.

    Visit https://www.bebravernow.com for more

    girishG 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to 3246 on last edited by
    #3

    @3246 For CIFS, cloudron tries to mount with the following options:

    username=${mountOptions.username},password=${mountOptions.password},rw,iocharset=utf8,file_mode=0666,dir_mode=0777,uid=yellowtent,gid=yellowtent

    (replace with your username and password)

    Can you try mounting on the command line with the options above and narrow down to what option might be causing problems mounting?

    32463 1 Reply Last reply
    0
  • 32463 Offline
    32463 Offline
    3246
    replied to girish on last edited by
    #4

    @girish thanks. When I try the following on the command line it works, when I try it in the GUI it doesn't 😢 What am I doing wrong?

    root@my:~# mount -t cifs -o username=<username>,password="<supercoolpassword>",rw,iocharset=utf8,file_mode=0666,dir_mode=0777,uid=yellowtent,gid=yellowtent //192.168.2.3/test /mnt/test

    Visit https://www.bebravernow.com for more

    girishG 1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #5

    are all the "/" being escaped properly?

    Life of sky tech

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to 3246 on last edited by
    #6

    I don't have a Windows 10, but I would like to get this fixed. @3246 is it possible to get access to your server to debug this further? I am guessing it's some configuration line issue. If it's possible, can you please drop a note to support@cloudron.io ? Thanks!

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by girish
    #7

    mm, I see that you made some good progress already with trying the mount command line. Cloudron uses systemd mount files which internally uses mount as well. After you try mounting with Cloudron:

    • systemd-escape -p --suffix=mount /mnt/test . This will give the name of systemd mount file name.
    • journalctl -u <mountfilename> . So, this would be journalctl -u mnt-test.mount if you are testing with /mnt/test.

    That should give us more complete logs.

    1 Reply Last reply
    0
  • neurokrishN Offline
    neurokrishN Offline
    neurokrish
    wrote on last edited by
    #8

    @3246 @girish , I am not sure (didn't try myself) but things suggested in this post may help ..

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.