Error when creating shared folders - remain read-only

  • Hello All,


    I just installed OMV on a RPI 3B. It seems to work fine, except that the shares remain read only.

    I think it has something to do with an error I get when adding a shared folder. The folder is created, but I get the following message:


    Failed to set file group to 'users' for '/srv/dev-disk-by-uuid-66B8-2B7C/': Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`


    OMV\Exception: Failed to set file group to 'users' for '/srv/dev-disk-by-uuid-66B8-2B7C/': Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:361

    Stack trace:

    #0 [internal function]: Engined\Rpc\ShareMgmt->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(537): OMV\Rpc\Rpc::call('ShareMgmt', 'set', Array, Array, 1)

    #4 {main}


    I tried several times, with different devices (USB pendrive, SSD), all with same result. I can create a Samba share, and it can be read by any computer in my network (being W10 or linux). I can read the files, but it will not allow me to write to it. Also created an FTP share, same result.
    I tried to set all the privileges I can find to read/write, but no success.


    I run OMV 6.0.1-1 (shaitan) on Raspian Bullseye (Linux 5.10.63-V7+)

    Maybe the Raspian version can be the reason? This version is rather new.


    Any thoughts or similar experiences?


    Regards


    Peter.

    • Offizieller Beitrag

    I can not reproduce this, maybe you could explain how to do that.


    But I think you hit a bug in PHP itself.


    Assumption:

    According to the error message the function chgrp must have a bug. The PHP interpreter is missing parentheses somewhere in the internal implementation of this function.


    Can you please post the output of:

    Code
    # dpkg -l | grep php

    Debian is delivering PHP 7.4.25-1+deb11u1 right at the moment, an that is the reference for OMV. I know that Raspian is doing wired things regarding package management. They break the Debian philosophy by using backports in their stable version.

  • The way I did is was by following the steps I found in the instructions on line.

    - Plugging in a USB pen drive (or SSD). Result: OK, visible in dashboard

    - Creating a file system. Result: OK

    - Creating a shared folder, set all the permissions to Read/Write: Result: the above error message, but the folder is nevertheless created

    - Creating a SMB share, write protect is off, guests allowed: Result: OK. The SMB share is accessible from external computer, but read-only


    This is the output of dpkg -l | grep php


    php-bcmath 2:7.4+76 all Bcmath module for PHP [default]

    php-cgi 2:7.4+76 all server-side, HTML-embedded scripting language (CGI binary) (default)

    php-common 2:76 all Common files for PHP packages

    php-fpm 2:7.4+76 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)

    php-mbstring 2:7.4+76 all MBSTRING module for PHP [default]

    php-pam 2.2.3-1+deb11u1 armhf pam module for PHP 7.4

    php-xml 2:7.4+76 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]

    php-yaml 2.2.1+2.1.0+2.0.4+1.3.2-2 armhf YAML-1.1 parser and emitter for PHP

    php7.4-bcmath 7.4.25-1+deb11u1 armhf Bcmath module for PHP

    php7.4-cgi 7.4.25-1+deb11u1 armhf server-side, HTML-embedded scripting language (CGI binary)

    php7.4-cli 7.4.25-1+deb11u1 armhf command-line interpreter for the PHP scripting language

    php7.4-common 7.4.25-1+deb11u1 armhf documentation, examples and common module for PHP

    php7.4-fpm 7.4.25-1+deb11u1 armhf server-side, HTML-embedded scripting language (FPM-CGI binary)

    php7.4-json 7.4.25-1+deb11u1 armhf JSON module for PHP

    php7.4-mbstring 7.4.25-1+deb11u1 armhf MBSTRING module for PHP

    php7.4-opcache 7.4.25-1+deb11u1 armhf Zend OpCache module for PHP

    php7.4-readline 7.4.25-1+deb11u1 armhf readline module for PHP

    php7.4-xml 7.4.25-1+deb11u1 armhf DOM, SimpleXML, XML, and XSL module for PHP


    Hope this is helpful?

  • Result from above:

    2021/11/16 21:14:31 [error] 837#837: *352 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.178.106, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock", host: "192.168.178.70", referrer: "http://192.168.178.70/"

    2021/11/16 21:14:32 [error] 837#837: *507 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.178.106, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock", host: "192.168.178.70", referrer: "http://192.168.178.70/"

    2021/11/16 21:14:33 [error] 837#837: *663 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.178.103, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock", host: "192.168.178.70", referrer: "http://192.168.178.70/"

    2021/11/16 21:14:37 [error] 838#838: *109 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.178.106, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock", host: "192.168.178.70", referrer: "http://192.168.178.70/"

    2021/11/16 21:19:26 [error] 837#837: *983 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.178.103, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock", host: "192.168.178.70", referrer: "http://192.168.178.70/"

    2021/11/16 21:20:31 [error] 837#837: *946 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.178.103, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock", host: "192.168.178.70", referrer: "http://192.168.178.70/"

    2021/11/16 21:23:48 [error] 837#837: *983 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.178.103, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock", host: "192.168.178.70", referrer: "http://192.168.178.70/"

    2021/11/16 21:38:04 [error] 837#837: *1985 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.178.103, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock", host: "192.168.178.70", referrer: "http://192.168.178.70/"

    2021/11/16 21:38:04 [error] 837#837: *1683 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.178.103, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock", host: "192.168.178.70", referrer: "http://192.168.178.70/"

    2021/11/16 21:41:30 [error] 837#837: *2101 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.178.103, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock:", host: "192.168.178.70", referrer: "http://192.168.178.70/"


    I kept the command running, and added a shared folder. I got the error message, but no line was added in the log.

  • I've been testing with raspiOS bullseye 64bit and haven't experienced that, yet.


    Will keep this in check.

    • Offizieller Beitrag

    Can you please check your plugins, too?

    After looking, I'm not using any shorthand notation in any of the released omv6 plugins.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I am seeing the same issue with Raspberry Pi 4 32 bit. Installed OMV6 and it worked fine up until I updated the Pi OS two days ago. Shared folders are read only regardless of the settings in web admin.


    Output of

    Code
    dpkg -l | grep php

    php-bcmath 2:7.4+76 all Bcmath module for PHP [default]

    ii php-cgi 2:7.4+76 all server-side, HTML-embedded scripting language (CGI binary) (default)

    ii php-common 2:76 all Common files for PHP packages

    ii php-fpm 2:7.4+76 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)

    ii php-mbstring 2:7.4+76 all MBSTRING module for PHP [default]

    ii php-pam 2.2.3-1+deb11u1 armhf pam module for PHP 7.4

    ii php-xml 2:7.4+76 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]

    ii php-yaml 2.2.1+2.1.0+2.0.4+1.3.2-2 armhf YAML-1.1 parser and emitter for PHP

    ii php7.4-bcmath 7.4.25-1+deb11u1 armhf Bcmath module for PHP

    ii php7.4-cgi 7.4.25-1+deb11u1 armhf server-side, HTML-embedded scripting language (CGI binary)

    ii php7.4-cli 7.4.25-1+deb11u1 armhf command-line interpreter for the PHP scripting language

    ii php7.4-common 7.4.25-1+deb11u1 armhf documentation, examples and common module for PHP

    ii php7.4-fpm 7.4.25-1+deb11u1 armhf server-side, HTML-embedded scripting language (FPM-CGI binary)

    ii php7.4-json 7.4.25-1+deb11u1 armhf JSON module for PHP

    ii php7.4-mbstring 7.4.25-1+deb11u1 armhf MBSTRING module for PHP

    ii php7.4-opcache 7.4.25-1+deb11u1 armhf Zend OpCache module for PHP

    ii php7.4-readline 7.4.25-1+deb11u1 armhf readline module for PHP

    ii php7.4-xml 7.4.25-1+deb11u1 armhf DOM, SimpleXML, XML, and XSL module for PHP

    • Offizieller Beitrag

    Could you have a look into /var/log/apt/history.log and find out which packages have been updated?

  • Could you have a look into /var/log/apt/history.log and find out which packages have been updated?

    Start-Date: 2021-11-14 15:34:20

    Commandline: apt full-upgrade

    Requested-By: pi (1000)

    Install: liblivemedia77:armhf (2020.01.19-1, automatic), libusageenvironment3:armhf (2020.01.19-1, automatic), libgroupsock8:armhf (2020.01.19>

    Upgrade: vlc-plugin-qt:armhf (3.0.16-1+rpi1+rpt1, 3.0.16-1+rpi1+rpt2), libvlc5:armhf (3.0.16-1+rpi1+rpt1, 3.0.16-1+rpi1+rpt2), vlc-data:armhf >

    End-Date: 2021-11-14 15:35:58


    Start-Date: 2021-11-14 15:38:12

    Commandline: apt install fail2ban

    Requested-By: pi (1000)

    Install: fail2ban:armhf (0.11.2-2), whois:armhf (5.5.10, automatic), python3-systemd:armhf (234-3+b2, automatic)

    End-Date: 2021-11-14 15:38:30


    Start-Date: 2021-11-14 15:43:36

    Commandline: apt-get install xrdp

    Requested-By: pi (1000)

    Install: xfonts-75dpi:armhf (1:1.0.4+nmu1.1, automatic), x11-utils:armhf (7.7+5, automatic), libxxf86dga1:armhf (2:1.1.4-1+b1, automatic), xbi>

    End-Date: 2021-11-14 15:44:08


    Start-Date: 2021-11-14 15:48:14

    Commandline: apt-get --yes --no-install-recommends --reinstall install lsb-release

    Requested-By: cake (1001)

    Reinstall: lsb-release:armhf (11.1.0+rpi1)

    End-Date: 2021-11-14 15:48:20


    Start-Date: 2021-11-14 15:48:31

    Commandline: apt-get --yes --no-install-recommends install -t bullseye monit

    Requested-By: cake (1001)

    Install: monit:armhf (1:5.27.2-1)

    End-Date: 2021-11-14 15:48:34


    Start-Date: 2021-11-14 15:48:51

    Commandline: apt-get --yes --no-install-recommends install postfix

    Requested-By: cake (1001)

    Install: postfix:armhf (3.5.6-1)

    End-Date: 2021-11-14 15:49:14


    Start-Date: 2021-11-14 15:49:25

    Commandline: apt-get --yes install openmediavault-keyring

    Requested-By: cake (1001)

    Install: openmediavault-keyring:armhf (1.0)

    End-Date: 2021-11-14 15:49:32


    Start-Date: 2021-11-14 15:50:17

    Commandline: apt-get --yes --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends install openm>

    Requested-By: cake (1001)

    Install: libnetfilter-conntrack3:armhf (1.0.8-3, automatic), libnginx-mod-http-image-filter:armhf (1.18.0-6.1, automatic), dmeventd:armhf (2:1>

    Remove: systemd-timesyncd:armhf (247.3-6+rpi1)

    End-Date: 2021-11-14 15:58:29


    Start-Date: 2021-11-16 21:26:25

    Commandline: apt install apt-transport-https

    Requested-By: cake (1001)

    Install: apt-transport-https:armhf (2.2.4)

    End-Date: 2021-11-16 21:26:27


    Start-Date: 2021-11-16 21:32:14

    Commandline: apt install plexmediaserver

    Requested-By: cake (1001)

  • OK, just for Information:


    This didn't happened (to me, at least) with RaspiOS Bullseye aarch64.


    Scenario:

    USB Stick with:

    Raspberry Pi4 4Gb v1.1 running RaspiOS Bullseye aarch64 (Official Release) and OMV6 6.0.3-1 fully updated.

    Rootfs is on a BTRFS with SNAPPER configured for snapshots.


    Out-of-the-Box Western Digital RED 4Tb NAS HDD hooked on a Docking Station ewent EW7102 (UAS capable).

    The drive was never initialized (checked it on Windows and didn't do anything on it), so NO partition table.


    Plugged the drive to USB3:

    On OMV gui:

    Storage-> Disks, the drive show instantly

    Storage-> File Systems -> + -> create, and select the drive and BTRFS and clicked "SAVE".


    No errors, whatsoever (only a warning about the partition table. Normal since there was NONE):

    It created the partition table, the partition and the FS without errors.


    After, still on the OMV gui:

    Storage-> Shared Folders-> + -> create, made a folder named RaspberryPi4 selecting "Everybody Read/Write".


    Services-> SMB/CIFS-> Shares-> + -> create, pointed to folder RaspberryPi4 and set the following parameters:

    Guests Only, Browseable, Inherit ACLs, Inherit permissions and Hide DOT files.


    Activated the Samba Service with the default selections.


    No errors, no issues.



    Opened Explorer on Windows Laptop, and the folder "RaspberryPi4" is visible.

    Copied a folder ("test" from the Lap to the shared, and no errors.

    Edited a txt file on the "test" folder, no errors.

    Deleted the previous copied "test" folder (NOT the "RaspberryPi4") and no errors.


    So, either there's something different on the RaspiOS armhf version of Bullseye or Oudeheer and Heretk are doing something different.

  • I created a RPI image using the raspberry PI imager. I used the default lite version, which is 32bit, not 64.

    After that I used the following command to run the install script from github:

    Code
    wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash

    As I am a newbie on Openmediavault, I followed the steps in the instruction video on this forum, as close as possible (the latest version looks a little different, but the procedure is basically the same).

  • Could you have a look into /var/log/apt/history.log and find out which packages have been updated?

    Start-Date: 2021-11-14 15:07:27

    Commandline: apt-get upgrade -y

    Requested-By: pi (1000)

    Upgrade: firmware-brcm80211:armhf (1:20210315-3+rpt2, 1:20210315-3+rpt3), raspi-config:armhf (20211019, 20211111), firmware-atheros:armhf (1:20210315-3+rpt2, 1:20210315-3+rpt3), libwbclient0:armhf (2:4.13.5+dfsg-2, 2:4.13.13+dfsg-1~deb11u2), libasound2:armhf (1.2.4-1.1+rpt1, 1.2.4-1.1+rpt2), firmware-realtek:armhf (1:20210315-3+rpt2, 1:20210315-3+rpt3), firmware-libertas:armhf (1:20210315-3+rpt2, 1:20210315-3+rpt3), libatopology2:armhf (1.2.4-1.1+rpt1, 1.2.4-1.1+rpt2), firmware-misc-nonfree:armhf (1:20210315-3+rpt2, 1:20210315-3+rpt3), libasound2-data:armhf (1.2.4-1.1+rpt1, 1.2.4-1.1+rpt2), raspberrypi-net-mods:armhf (1.3.0, 1.3.2)

    End-Date: 2021-11-14 15:07:59


    Start-Date: 2021-11-14 15:08:13

    Commandline: apt-get --yes --no-install-recommends --reinstall install lsb-release

    Requested-By: pi (1000)

    Reinstall: lsb-release:armhf (11.1.0+rpi1)

    End-Date: 2021-11-14 15:08:15


    Start-Date: 2021-11-14 15:08:34

    Commandline: apt-get --yes --no-install-recommends install -t bullseye monit

    Requested-By: pi (1000)

    Install: monit:armhf (1:5.27.2-1)

    End-Date: 2021-11-14 15:08:39


    Start-Date: 2021-11-14 15:09:03

    Commandline: apt-get --yes --no-install-recommends install postfix

    Requested-By: pi (1000)

    Install: ssl-cert:armhf (1.1.0+nmu1, automatic), postfix:armhf (3.5.6-1)

    End-Date: 2021-11-14 15:09:38


    Start-Date: 2021-11-14 15:09:53

    Commandline: apt-get --yes install openmediavault-keyring

    Requested-By: pi (1000)

    Install: openmediavault-keyring:armhf (1.0)

    End-Date: 2021-11-14 15:09:54


    Start-Date: 2021-11-14 15:11:34

    Commandline: apt-get --yes --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends install openmediavault

    Requested-By: pi (1000)

    Install: fontconfig:armhf (2.13.1-4.2, automatic), libnetfilter-conntrack3:armhf (1.0.8-3, automatic), libnginx-mod-http-image-filter:armhf (1.18.0-6.1, automatic), libcups2:armhf (2.3.3op2-3+deb11u1, automatic), dmeventd:armhf (2:1.02.175-2.1, automatic), php7.4-mbstring:armhf (7.4.25-1+deb11u1, automatic), sshpass:armhf (1.09-1, automatic), collectd:armhf (5.12.0-7.1, automatic), python3-colorama:armhf (0.4.4-1, automatic), hdparm:armhf (9.60+ds-1, automatic), iptables:armhf (1.8.7-1, automatic), python3-samba:armhf (2:4.13.13+dfsg-1~deb11u2, automatic), libonig5:armhf (6.9.6-1.1, automatic), rrdtool:armhf (1.7.2-3+b2, automatic), collectd-core:armhf (5.12.0-7.1, automatic), libdatrie1:armhf (0.2.13-1+b1, automatic), libthai0:armhf (0.1.28-3, automatic), python3-dnspython:armhf (2.0.0-1, automatic), acl:armhf (2.2.53-10, automatic), python3-dateutil:armhf (2.8.1-6, automatic), salt-minion:armhf (3003+ds-1, automatic), libxrender1:armhf (1:0.9.10-1, automatic), libnss-myhostname:armhf (247.3-6+rpi1, automatic), php7.4-readline:armhf (7.4.25-1+deb11u1, automatic), dialog:armhf (1.3-20201126-1, automatic), libhiredis0.14:armhf (0.14.1-1, automatic), uuid:armhf (1.6.2-1.5+b7, automatic), rrdcached:armhf (1.7.2-3+b2, automatic), python3-cached-property:armhf (1.5.2-1, automatic), libldb2:armhf (2:2.2.3-2~deb11u1, automatic), libmagic-mgc:armhf (1:5.39-3, automatic), libpango-1.0-0:armhf (1.46.2-3, automatic), libaio1:armhf (0.3.112-9+rpi1, automatic), chrony:armhf (4.0-8, automatic), samba-vfs-modules:armhf (2:4.13.13+dfsg-1~deb11u2, automatic), proftpd-mod-crypto:armhf (1.3.7a+dfsg-12+deb11u2, automatic), liblzo2-2:armhf (2.10-2, automatic), dctrl-tools:armhf (2.24-3, automatic), libpgm-5.3-0:armhf (5.3.128~dfsg-2, automatic), php7.4-bcmath:armhf (7.4.25-1+deb11u1, automatic), libsasl2-modules:armhf (2.1.27+dfsg-2.1, automatic), proftpd-mod-vroot:armhf (0.9.8-4, automatic), libcairo2:armhf (1.16.0-5+rpt1, automatic), nginx:armhf (1.18.0-6.1, automatic), php7.4-opcache:armhf (7.4.25-1+deb11u1, automatic), nginx-common:armhf (1.18.0-6.1, automatic), libmemcachedutil2:armhf (1.0.18-4.2, automatic), libnginx-mod-stream-geoip:armhf (1.18.0-6.1, automatic), libossp-uuid16:armhf (1.6.2-1.5+b7, automatic), libnorm1:armhf (1.5.9+dfsg-2, automatic), libmagic1:armhf (1:5.39-3, automatic), php-common:armhf (2:76, automatic), liblvm2cmd2.03:armhf (2.03.11-2.1, automatic), libpixman-1-0:armhf (0.40.0-1, automatic), php-yaml:armhf (2.2.1+2.1.0+2.0.4+1.3.2-2, automatic), samba:armhf (2:4.13.13+dfsg-1~deb11u2, automatic), librrd8:armhf (1.7.2-3+b2, automatic), liblockfile-bin:armhf (1.17-1, automatic), libnginx-mod-http-geoip:armhf (1.18.0-6.1, automatic), xfsprogs:armhf (5.10.0-4, automatic), php7.4-cgi:armhf (7.4.25-1+deb11u1, automatic), php7.4-cli:armhf (7.4.25-1+deb11u1, automatic), proftpd-core:armhf (1.3.7a+dfsg-12+deb11u2, automatic), xmlstarlet:armhf (1.6.1-2.1, automatic), php7.4-fpm:armhf (7.4.25-1+deb11u1, automatic), nginx-core:armhf (1.18.0-6.1, automatic), proftpd-basic:armhf (1.3.7a+dfsg-12+deb11u2, automatic), libgraphite2-3:armhf (1.3.14-1, automatic), php7.4-json:armhf (7.4.25-1+deb11u1, automatic), libnginx-mod-http-xslt-filter:armhf (1.18.0-6.1, automatic), proftpd-mod-wrap:armhf (1.3.7a+dfsg-12+deb11u2, automatic), openmediavault:armhf (6.0-34), nfs-kernel-server:armhf (1:1.3.4-6, automatic), samba-common-bin:armhf (2:4.13.13+dfsg-1~deb11u2, automatic), gdisk:armhf (1.0.6-1.1, automatic), php7.4-xml:armhf (7.4.25-1+deb11u1, automatic), python3-talloc:armhf (2.3.1-2+b1, automatic), lsof:armhf (4.93.2+dfsg-1.1, automatic), libsodium23:armhf (1.0.18-1, automatic), wsdd:armhf (0.6.4+git6d5922e2-1, automatic), python3-lxml:armhf (4.6.3+dfsg-0.1, automatic), lvm2:armhf (2.03.11-2.1, automatic), libpangocairo-1.0-0:armhf (1.46.2-3, automatic), libcpufreq0:armhf (008-2, automatic), python3-polib:armhf (1.1.0-7, automatic), libxcb-render0:armhf (1.14-3, automatic), python3-psutil:armhf (5.8.0-1, automatic), tdb-tools:armhf (1.4.3-1+b1, automatic), php-mbstring:armhf (2:7.4+76, automatic), python3-click:armhf (7.1.2-1, automatic), mailcap:armhf (3.69, automatic), php-cgi:armhf (2:7.4+76, automatic), beep:armhf (1.4.9-1, automatic), php-fpm:armhf (2:7.4+76, automatic), sdparm:armhf (1.10-1, automatic), libgeoip1:armhf (1.6.12-7+b1, automatic), libnfnetlink0:armhf (1.0.1-3+b1, automatic), liburing1:armhf (0.7-3, automatic), python3-jinja2:armhf (2.11.3-1, automatic), libpangoft2-1.0-0:armhf (1.46.2-3, automatic), libtdb1:armhf (1.4.3-1+b1, automatic), mdadm:armhf (4.1-11, automatic), python3-natsort:armhf (7.1.0-1, automatic), php-pam:armhf (2.2.3-1+deb11u1, automatic), python3-netifaces:armhf (0.10.9-0.2+b1, automatic), libnginx-mod-mail:armhf (1.18.0-6.1, automatic), python3-pyudev:armhf (0.22.0-2, automatic), salt-common:armhf (3003+ds-1, automatic), python3-markupsafe:armhf (1.1.1-1+b1, automatic), libxslt1.1:armhf (1.1.34-4, automatic), watchdog:armhf (5.16-1, automatic), libdevmapper-event1.02.1:armhf (2:1.02.175-2.1, automatic), python3-pycryptodome:armhf (3.9.7+dfsg1-1+b1, automatic), libthai-data:armhf (0.1.28-3, automatic), python3-ldb:armhf (2:2.2.3-2~deb11u1, automatic), libip6tc2:armhf (1.8.7-1, automatic), libdbi1:armhf (0.9.0-6, automatic), php-xml:armhf (2:7.4+76, automatic), php7.4-common:armhf (7.4.25-1+deb11u1, automatic), smartmontools:armhf (7.2-1, automatic), python3-tdb:armhf (1.4.3-1+b1, automatic), python3-yaml:armhf (5.3.1-5, automatic), btrfs-progs:armhf (5.10.1-2, automatic), python3-zmq:armhf (20.0.0-1, automatic), anacron:armhf (2.3-30, automatic), ncal:armhf (12.1.7+nmu3, automatic), libmemcached11:armhf (1.0.18-4.2, automatic), libzmq5:armhf (4.3.4-1, automatic), mime-support:armhf (3.66, automatic), samba-libs:armhf (2:4.13.13+dfsg-1~deb11u2, automatic), netplan.io:armhf (0.101-4, automatic), php-bcmath:armhf (2:7.4+76, automatic), jfsutils:armhf (1.1.15-5, automatic), bsd-mailx:armhf (8.1.2-0.20180807cvs-2, automatic), libjs-jquery:armhf (3.5.1+dfsg+~3.5.5-7, automatic), jq:armhf (1.6-2.1, automatic), libharfbuzz0b:armhf (2.7.4-1, automatic), samba-common:armhf (2:4.13.13+dfsg-1~deb11u2, automatic), python3-msgpack:armhf (1.0.0-6, automatic), libxcb-shm0:armhf (1.14-3, automatic), libnginx-mod-stream:armhf (1.18.0-6.1, automatic), libinih1:armhf (53-1, automatic), libjs-sphinxdoc:armhf (3.4.3-2, automatic), f2fs-tools:armhf (1.14.0-2, automatic), libjq1:armhf (1.6-2.1, automatic), liblockfile1:armhf (1.17-1, automatic), python3-dbus:armhf (1.2.16-5, automatic), quota:armhf (4.06-1, automatic), libnetplan0:armhf (0.101-4, automatic), libjs-underscore:armhf (1.9.1~dfsg-3, automatic), libavahi-client3:armhf (0.8-5, automatic), python3-dialog:armhf (3.5.1-1, automatic), cron-apt:armhf (0.13.0+nmu1, automatic), bsdmainutils:armhf (12.1.7+nmu3, automatic), python3-systemd:armhf (234-3+b2, automatic), quotatool:armhf (1:1.6.2-5, automatic), cpufrequtils:armhf (008-2, automatic)

    Remove: systemd-timesyncd:armhf (247.3-6+rpi1)

    End-Date: 2021-11-14 15:21:55


    Start-Date: 2021-11-14 15:24:36

    Commandline: apt-get --yes --fix-missing --no-install-recommends install folder2ram

    Requested-By: pi (1000)

    Install: libsigsegv2:armhf (2.13-1, automatic), gawk:armhf (1:5.1.0-1, automatic), folder2ram:armhf (0.3.3)

    End-Date: 2021-11-14 15:24:42


    Start-Date: 2021-11-14 15:25:03

    Commandline: apt-get --yes install openmediavault-flashmemory

    Requested-By: pi (1000)

    Install: openmediavault-flashmemory:armhf (6.0.1)


    Start-Date: 2021-11-14 15:28:35

    Commandline: apt-get -y --autoremove purge network-manager dhcpcd5

    Requested-By: pi (1000)

    Purge: raspberrypi-net-mods:armhf (1.3.2), dhcpcd5:armhf (1:8.1.2-1+rpt2)

    End-Date: 2021-11-14 15:28:52


    Start-Date: 2021-11-16 21:27:14

    Commandline: apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::=--force-confold upgrade

    Upgrade: rpi-eeprom:armhf (12.13-1, 12.15-1), wget:armhf (1.21-1, 1.21-1rpi1), openmediavault:armhf (6.0-34, 6.0.1-1)

    End-Date: 2021-11-16 21:29:56

  • As I am a newbie on Openmediavault

    We all started as newbies, ;)

    I followed the steps in the instruction video on this forum,

    The only guide to follow is the SBC Guide.

    installing_omv5_raspberry_pi [omv-extras.org]


    The only video that refers RPi, from TechnoDadLife is dated June 11 2018 and it concerns OMV4 so, a bit outdated.

    This doesn't mean that you did it wrong.


    What I meant with my previous post is, something wrong on the creation of the folder.


    Can you try to make a folder with the same parameters I used above?

    It will be a fully open SAMBA shared folder but it has to work on those conditions.

    If it doesn't, then something might be wrong with your installation/fs.


    Code
    After, still on the OMV gui:
    "Storage" -> "Shared Folders" -> "+" -> "create"
    Make a folder named "RaspberryPi4" selecting "Everybody Read/Write" (pointing to the external drive)
    
    "Services" -> "SMB/CIFS" -> "Shares" -> "+" -> "create"
    Point to folder RaspberryPi4 and set the following parameters:
    Guests Only, Browseable, Inherit ACLs, Inherit permissions and Hide DOT files.
    
    Activated the Samba Service with the default selections.
  • Thank you, I'll attempt to be a newbie all my life ;)


    I tried that (done that several times actually) but no improvement. I think I will just try the installation again, see if this changes anything (and watch for unexpected errors in the process)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!