Posts by Jbloc

    From my Windows 10 PC with ASROCK X370 Pro4 Mainboard I have average transferrates from 50 MB/s to the server using a CAT 5e cable to Fritzbox 7590 router


    OMV Server(6.5.7-1 (Shaitan) has a ASRock J4125B ITX MB


    The connection is with CAT6 cable from OMV to Fritzbox 7590 AX Router.



    I bought a TP-Link TL-SG105 Gigabit switch and connected the Server(CAT 6), Windows Host PC(CAT 5e) and Router(CAT 6). But the speed is the same.


    I thought a switch can handle the connection better than the router and improve speed. There must be a bottleneck.


    Ok. I thought it still says something about errors referring to the last lines about dkpg error processing package.


    I don't really understand the logs but I see when it says something about errors. Anyway not a big issue. Just trying to understand.


    Thanks for your help.

    I would remove (not purge, this keeps the database) the mergerfs plugin temporarily.

    sudo dpkg -r openmediavault-mergerfs

    then try to fix

    sudo apt-get -f install

    I removed it then tried to fix it. Still the same. Rebooting.


    Tried again dpkg -r openmediavault-mergerfs

    Code
    dpkg: warning: ignoring request to remove openmediavault-mergerfs, only the config
     files of which are on the system; use --purge to remove them too

    then this again

    Code
    apt-get -f install
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      libarchive-zip-perl mergerfs
    Use 'apt autoremove' to remove them.

    and apt autoremove

    and

    Thanks. I tried. But leads to same result


    Code
    dpkg: error processing package openmediavault-mergerfs (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     openmediavault
     openmediavault-mergerfs
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    When trying to install updates today I got the following error(Line 130)


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" dist-upgrade 2>&1' with exit code '100': Reading package lists...
    
    
    
    dpkg: dependency problems prevent configuration of openmediavault-mergerfs:
     openmediavault-mergerfs depends on openmediavault (>= 6); however:
      Package openmediavault is not configured yet.
    
    dpkg: error processing package openmediavault-mergerfs (--configure):
     dependency problems - leaving unconfigured

    root.


    How can I see the output in cli?


    Code
    root@nasomv:/# cd /scripts
    root@nasomv:/scripts# ls
    script-config.sh  snapraid-aio-script.sh  snapraid_diff_n_sync.sh
    root@nasomv:/scripts# script-config.sh
    root@nasomv:/scripts#

    Thats the other issue. There are no logs. When I run the script in CLI nothing happens. Same in the GUI.


    I don't want to waste your time. I just take another script. And see if it's running. For some reason this script is not working.


    Thank you anyway.

    Code
    Apr 13 21:14:39 nasomv postfix/smtp[257595]: connect to smtp.gmail.com[2a00:1450:4025:402::6c]:587: Network is unreachable
    Apr 13 21:14:39 nasomv postfix/smtp[257595]: 1ACD3101: replace: header Subject: Monitoring alert -- Resource limit matched filesyst: Subject: [NASOMV.local] Monitoring alert -- Resource limit matched filesystem_srv_dev-disk-by-uuid-3e26929a-83f9-473d-a449-90e0df45aac2
    Apr 13 21:14:40 nasomv postfix/pipe[257593]: 28A0F102: to=<openmediavault-notification@localhost.localdomain>, relay=omvnotificationfilter, delay=1.1, delays=0.05/1/0/0.06, dsn=2.0.0, status=sent (delivered via omvnotificationfilter service)
    Apr 13 21:14:40 nasomv postfix/smtp[257595]: 1ACD3101: to=<xxx@gmail.com>, relay=smtp.gmail.com[142.250.102.109]:587, delay=1.3, delays=0.07/0.06/0.61/0.57, dsn=2.0.0, status=sent (250 2.0.0 OK  1681413280 hs4-20020a1709073e8400b0094ed3abc937sm229997ejc.82 - gsmtp)
    Apr 13 21:14:40 nasomv postfix/qmgr[256660]: 1ACD3101: removed
    Apr 13 21:14:41 nasomv postfix/smtp[257595]: connect to smtp.gmail.com[2a00:1450:4025:402::6d]:587: Network is unreachable
    Apr 13 21:14:41 nasomv postfix/smtp[257595]: 28A0F102: replace: header Subject: Monitoring alert -- Resource limit matched filesyst: Subject: [NASOMV.local] Monitoring alert -- Resource limit matched filesystem_srv_dev-disk-by-uuid-0459f27c-cf0e-47b5-8f21-abdc0ed395f4
    Apr 13 21:14:42 nasomv postfix/smtp[257595]: 28A0F102: to=<xxx@gmail.com>, relay=smtp.gmail.com[142.250.102.108]:587, delay=3.1, delays=0.05/2.2/0.38/0.5, dsn=2.0.0, status=sent (250 2.0.0 OK  1681413282 j25-20020a170906095900b0094a70a89bffsm1338302ejd.205 - gsmtp)
    Apr 13 21:14:42 nasomv postfix/qmgr[256660]: 28A0F102: removed

    Network unreachable. But I get test messages and the notification about the filesystem.

    The Snapraid AIO Script does not use the OMV Notification system or its settings to send mail.


    What is the output of this command:


    which mailx

    Code
    /usr/bin/mailx

    Line 197 of the config file refers to that location.

    I assume that you run that script from CLI. OMV doesn't see anything that is configured outside of the GUI. OMV controls the mail service with Postfix.

    No. I have a scheduled task but it is not enabled. I run it manually.

    I setup the mail notification service properly. It's enabled and I receive test email. I get emails from the original snapraid diff script. But I don't get a notification when I use Snapraid AIO Script.


    In the notification setting of the config file I wrote the mail address. But it's not working. So far no other changes only email. The author of the script could not help me.


    I also realize there are no log files created in /tmp and /var/log


    It s mail notification. I turned it off. Looking at the messages I see it is old messages. i had something wrong in scheduled tasks like every minute running a script. Turned it off too. Deleted the logs

    While updating I saw the message in the log


    dpkg: cannot write to log file '/var/log/dpkg.log': No space left on device


    Via ssh with df i can see there is enough space left. I don't understand


    But In /var/log i found that there 3 files each with more than 1 GB. And 3 with 500MB.


    omv-log.jpg