Shared folders is empty

  • On my DIY NAS computer I have 6 harddisks all NTFS formated so that they also are accesable from Windows 7 computers
    But after installing OMV 5.5.4-1 I cannot see the files within the shared folders on my Windows 7 computer
    I can only see the shares, but not the files inside...

    Maybe important to mention is that I (in OMV) don't have a "main" shared folder on the harddisks
    Instead I shared the entire harddisk like this:



    What I did so far:

    - read all earlier topics about this problem on the internet
    - resset the ACL rights on the shared folders
    - created a new user, and give it again permissions on the shared folders

    even installed SMB1 on Windows 7 client (I know not safe..)

    Can anybody help me?

  • The populating of the directories in /sharedfolders was deprecated in OMV 5. If you want the behavior to revert to prior, then do the following:


    Add OMV_SHAREDFOLDERS_DIR_ENABLED="YES" setting to /etc/default/openmediavault and then run:

    omv-salt stage run prepare

    omv-salt deploy run systemd

    reboot

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Thank you Gderf for this important info, I think a lot of other OMV users are not aware of this...
    So besides you solution, I could also install OMV 4 to solve the problem?

  • Thank you Gderf for this important info, I think a lot of other OMV users are not aware of this...
    So besides you solution, I could also install OMV 4 to solve the problem?

    The question comes up from time to time and the change in behavior was reported in the changelog (which very few read).


    I do not recommend installing OMV 4 to solve this, use OMV 5 and fix it as shown. The underlying Debian 9 used by OMV 4 is nearing end of life, so for this reason it is not a good choice.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Rebooted first OMV, and then Windows 7 client...sorry didn't worked


    I didn't added the OMV_SHAREDFOLDERS_DIR_ENABLED="YES" line,
    because it was already there like this: OMV_SHAREDFOLDERS_DIR_ENABLED="NO"

    I changed NO to YES, and saved it

  • The change may only apply to newly created shares, I am not sure. Try deleting a share (but not the data within it) and create it again.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 6.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • I changed NO to YES, and saved it

    That isn´t enough. After the change you have to execute the commands of post #2. Do you have done this?

    OMV 3.0.100 (Gray style)

    ASRock Rack C2550D4I C0-stepping - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1) - Fractal Design Node 304 -

    3x WD80EMAZ Snapraid / MergerFS-pool via eSATA - 4-Bay ICYCube MB561U3S-4S with fan-mod

  • Are you sure it is related to the /sharedfolders/ feature?

    No (If your question is related to me). audiodandy wrote that he has changed the environment variable setting. But not if he has executed the necessary commands.

    OMV 3.0.100 (Gray style)

    ASRock Rack C2550D4I C0-stepping - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1) - Fractal Design Node 304 -

    3x WD80EMAZ Snapraid / MergerFS-pool via eSATA - 4-Bay ICYCube MB561U3S-4S with fan-mod

  • It works now! ;)

    What I noticed that on each 6 harddisks folders like "Disk1" , "Disk2" was created by OMV,

    So if the rules are changed, I deciced to follow the rules for one time,

    I placed all sub folders inside each "Disk1 t/m Disk6" folders

    after this I reinstalled OMV, created the users, mounted the harddisks, and activated the SMB service, and then added the harddisks to the SMB shares

    Now it's working again how I wanted it, thanks everybody for your help!:)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!