Creating SMB Share : Failed to set file group to 'users' for '/srv/dev-disk-by-label-.......

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Creating SMB Share : Failed to set file group to 'users' for '/srv/dev-disk-by-label-.......

      Dear all,

      I was supposed to be used to OMV... But today, I am using a
      Rockpro64 EMMC 32Gb
      PCIexpress Card for 2 HDD

      As usual, I Mount My disk,then all is ok from that point.

      When I want to share my folders :

      SMB/CIFS -> Activate -> Share -> And then, I create my shared folder...

      At this point : here my error message :

      Failed to set file group to 'users' for '/srv/dev-disk-by-label-NAS/TV Series'

      Error #0:OMV\Exception: Failed to set file group to 'users' for '/srv/dev-disk-by-label-NAS/TV Series': in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:340Stack trace:#0 [internal function]: OMVRpcServiceShareMgmt->set(Array, Array)#1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('set', Array, Array)#3 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'set', Array, Array, 1)#4 {main}


      I could let goes... I mean even if I have this message, I can just "re-create" this access, and then... I have access to my folders only in "Read-Only"

      The problem is I want to have access even for guess users.


      The other problem is when I create an access point to Plexmedia Server, I cannot access to. Of course, I cannot create any user or user group.


      Is anyone has a clue ? an Idea ?

      I use this release :


      stretch-openmediavault-rockpro64-0.8.0rc8-1116-armhf


      If there's a better one ? or something ? please help



      Thank you in advance for your help.


      PS : I am not used to pure technical linux or console commands... so please be patient... thank you all
    • KM0201 wrote:

      It may not be your issue, but you really need to use OMV 4. Unless you've upgraded, the image you posted is from Debian Stretch, which would be OMV 3. You're going to run into problems if you don't, so I'd just clean install OMV 4 on your SD card now.
      OMV 4.x is Stretch
      OMV 3.x is Jessie
      --
      Google is your friend and Bob's your uncle!

      OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380
    • loganxwolverine wrote:

      But there are so much problem with ethernet transit.
      Did you update it? I don't have these problems on mine.
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • I have a clue... hope you will be able to help me ?

      I plugged an usb flash drive, and shared it ... all is ok for that !!! Good News...

      But, I am using a ROCKPro64 PCI-e to Dual SATA-II Interface Card
      for my HDD's

      And that's where the problem is ...



      Failed to set file group to 'users' for '/srv/dev-disk-by-label-NAS/1080p

      Erreur #0:OMV\Exception: Failed to set file group to 'users' for '/srv/dev-disk-by-label-NAS/1080p': in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:340Stack trace:

      #0 [internal function]: OMVRpcServiceShareMgmt->set(Array, Array)

      #1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

      #2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('set', Array, Array)

      #3 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'set', Array, Array, 1)

      #4 {main}



      Is there any reason why it not working with Pci-e card ?
    • loganxwolverine wrote:

      Is there any reason why it not working with Pci-e card ?
      What filesystem are the hard drives?
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • loganxwolverine wrote:

      It can't, I always used NTFS partition without any issue... Does it matter ?
      You have used NTFS on the rockpro before? And yes it matters. ntfs is not a native linux filesystem. So, it doesn't support everything that Linux filesystems do.
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Yes Indeed I have a Nas working to my father's house with :
      NTFS External HDD connected on USB3
      Rock64 (Not Rockpro64)
      It's working fine with SMB Share and Plexmedia Server installed.... all is fine !

      I wanted something better, And I was seduced by its Nas CASE for Rockpro64.

      I am csetting a EXT4 HDD and testing... I'll be back in a few minutes...


      A few minutes Later...

      It works. !!!

      So, Maybe a solution for people having some trouble like me.

      NTFS partition isn't the reason why we cannot create user and just Read files on shared folders.

      I'll transfert all my datas, and convert my second HDD to confirm this theory, but I think we are on the way...

      The post was edited 1 time, last by loganxwolverine ().

    • gderf wrote:

      KM0201 wrote:

      It may not be your issue, but you really need to use OMV 4. Unless you've upgraded, the image you posted is from Debian Stretch, which would be OMV 3. You're going to run into problems if you don't, so I'd just clean install OMV 4 on your SD card now.
      OMV 4.x is StretchOMV 3.x is Jessie
      Good lord I'm an idiot. I must have been out of my mind when I posted that..lol.

      Sorry OP, you're on OMV 4.
      Air Conditioners are a lot like PC's... They work great until you open Windows.