Posts by mcgyver83

    Hi,
    I'm running omv 5 on an old taspberry pi 2B but I think this deosn't matter for my question.
    I have a remote mount SMB/CIFS that mount router samba share on my OMV.

    I was out when power got lost due maintenance and when it was back OMV started up fine with also all my docker containers.
    What was not working was the remout mount: the "local" folder was empty. I executed 'sudo mount -a' and all was back to normal: my local folder contained files present in the router share.

    How can I delay OMV remote mount until the remote SMB is available?

    Hi!
    I'm using old OMV 5 instance on a raspberry pi2B (replament process in progress :) )
    I added a usb device to my system and for some reason ext4 partition was labelled "Routerdrive" (last in the picture).

    I checked in /etc/fastab and it's mounted via uuid not label.
    How can I rename the partition?

    You're right.
    I'm thinking about buying new SBC like Rpi4 or recycle and old laptop, screen always off to save energy but way powerful than a rpi2 :(


    Would be interesting to understand why if I upgrade OS and Docker, it doesn't start.

    I know but I spent an afternoon using omv7 on my old raspberry pi2 B and it's really slow.
    In fact I use docker, ftp server and job scheduling so I'm fine with omv5

    Maybe someone else will have same issue.
    To fix I run:

    Code
    sudo apt install --reinstall libraspberrypi0 libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc raspberrypi-bootloader raspberrypi-kernel

    This resets kernel, firmware, libs and tool coming from official distribution.

    Hi, I tried the whole afternoon to install OMV7 on a rpi 2B but as expected, it's too slow.

    I used OMV Backup with full disk dd settings and I restored last backup via `dd`.
    Now I'm back with OMV 5 on my raspberry pi2 B but docker is not starting anymore.
    I have:


    Any help?

    I suspect I broke something due to raspi-config update, something related to kernel
    Linux raspberrypi 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux

    Hi all, I'm using OMV Backup feature with `dd full disk` settings on a Raspberry Pi2 B.
    I see that in the destination folder, many files are created:



    The first one is the one that I can `dd` to the microSD to fully rebuild my setup, right?


    What about the others?

    Hi!
    I'm running omv 5.7 (I know, quite old but I'm running it on a rpi 2B) and I execute an handmade rsync script via scheduled job:

    /home/pi/router_drive/rsync is a Remote Mount to a usb device connected to the router.


    My issue is that each run I have a log like

    2024/06/13 01:45:19 [23073] .d.....g... Software/MyStuff/


    From what I understand is that rsync transfer this folder every time because "group" information is not aligned from source to target.

    Many others folders got transferred with same log (not all folders in source are transferred) and I cannot understand why "group" info cannot be "synchronized".

    Any hints?

    Hi, I went back to this topic after long time :(

    I configured a scheduled job in OMV gui:


    When I run it I have this message in the modal windows:

    source: not found


    If I cat autogemerated job file

    cat /var/lib/openmediavault/cron.d/userdefined-fe8457ff-1a95-4f9f-a331-e74b25603a0a

    #!/bin/sh -l

    # This file is auto-generated by openmediavault (https://www.openmediavault.org)

    # WARNING: Do not edit this file, your changes will get lost.

    /home/pi/raspberry-mcg/script/backup/gphotos-sync/gphotos-sync.sh


    and if I cat my sh file

    cat /home/pi/raspberry-mcg/script/backup/gphotos-sync/gphotos-sync.sh

    #!/usr/bin/env bash

    cd /home/pi/gphotos-sync;

    #--new-token

    /home/pi/.local/bin/pipenv run ./gphotos-sync --flush-index --do-delete --album-date-by-first-photo --logfile /var/log/gphotos-sync.log --use-flat-path --secret /home/pi/gphotos-sync/client_secret.json /home/pi/local_drive/Foto_Video/Foto/GooglePhotos


    Why I have "source: not found" message in the modal from OMV gui?

    Hi all,

    I'm looking for a way to keep my running OMV5 instance and add a usb wifi dongle used together with NordVPN software to have a dedicated WIFI SSID alsway connected to VPN.

    Actually my raspberry is connect to my router via ethernet.

    I'm afraid of destroying OMV network "configuration" and break everything.

    Any suggestion?
    I alreeady have some instruction about how to configure WiFi connetction to use NordVPN, I'm looking for suggestion about how to keep LAN OMV working and add a wifi AP :)

    BTW: OMV5 is End of Life. You should consider to upgrade to OMV6.


    I know but for my setup (raspberry pi2B) there is no "upgrade process" so I have to fully rebuild the system and I'm waiting to have a free time slot for that :)

    I'm running OMV 5 on a raspberry pi 2B.
    I have auth.log that becomes ~2MB each day because is full of lines like


    Code
    Sep  7 20:46:02 raspberrypi CRON[6306]: pam_unix(cron:session): session closed for user root
    Sep  7 20:47:01 raspberrypi CRON[6884]: pam_unix(cron:session): session opened for user root by (uid=0)
    Sep  7 20:47:01 raspberrypi CRON[6884]: pam_unix(cron:session): session closed for user root
    Sep  7 20:48:01 raspberrypi CRON[7362]: pam_unix(cron:session): session opened for user root by (uid=0)
    Sep  7 20:48:01 raspberrypi CRON[7362]: pam_unix(cron:session): session closed for user root
    Sep  7 20:49:01 raspberrypi CRON[7780]: pam_unix(cron:session): session opened for user root by (uid=0)
    Sep  7 20:49:01 raspberrypi CRON[7780]: pam_unix(cron:session): session closed for user root

    If I got it right there is this cron configured by default


    Code
    ./make_nas_processes_faster:* * * * * root /usr/sbin/omv-ionice >/dev/null 2>&1

    That is executed exactly each minute.
    What ionice does? is it possible to avoid so many log entries?

    also see the comment from votdev in post #3

    I'm going to read suggested links.
    About votdev comment, he refers to "my shell" but is the default shell configured by OMV image, or not?

    I tried via ssh and the shell has "source" command.

    After a lot of time I'm coming back to this topic. I have a script that executes a tool to download Google Photos images.


    Code
    cat /home/pi/gphotos-sync/gphotos-sync.sh
    
    #!/usr/bin/env bash
    
    cd /home/pi/gphotos-sync;
    /home/pi/.local/bin/pipenv run ./gphotos-sync --logfile /var/log/gphotos-sync.log --secret /home/pi/gphotos-sync/client_secret.json /home/pi/local_drive/Foto/GooglePhotos


    If I run it from terminal works fine and no strange message.

    I configured the execution in "Scheduled Jobs" setting Command with

    Code
    ./home/pi/raspberry-mcg/script/gphotos-sync/gphotos-sync.sh


    When I run it from Scheduled Jobs play button in the modal windows this message appears:


    Code
    /var/lib/openmediavault/cron.d/userdefined-fe8457ff-1a95-4f9f-a331-e74b25603a0a: 31: /var/lib/openmediavault/cron.d/userdefined-fe8457ff-1a95-4f9f-a331-e74b25603a0a: source: not found

    but the script runs fine. Since I enabled "send email" when it ends I receive a mail with:


    Code
    /var/lib/openmediavault/cron.d/userdefined-fe8457ff-1a95-4f9f-a331-e74b25603a0a: 31: /var/lib/openmediavault/cron.d/userdefined-fe8457ff-1a95-4f9f-a331-e74b25603a0a: source: not found
    /var/lib/openmediavault/cron.d/userdefined-fe8457ff-1a95-4f9f-a331-e74b25603a0a: 4: /var/lib/openmediavault/cron.d/userdefined-fe8457ff-1a95-4f9f-a331-e74b25603a0a: ./home/pi/raspberry-mcg/script/gphotos-sync/gphotos-sync.sh: not found


    What is this "source" command?