Posts by AndrewZ

    Thanks again for help.

    I have successfully brought my shared folders back to life. I manually replaced UUIDs in config.xml to match new mergerfs volume UUID.

    Then with Samba/CIFS I had to disable-save-enable all the shares in order to make them accessible, that restored my normal shares, but something is still wrong with the personal user shares - they are not accessible yet :(

    I'll need to check if something has changed with this between v4 and v5.

    Edit: fixed by changing user's home folders with usermod, again to match new mergerfs volume path.

    Thanks a lot for this, now I have my UnionFS volume created without errors,

    Now I see that all of my Shared Folders have Device "n/a". What will be the best way to fix that? Should I manually change the UUID of mergerfs to the old value [that will match existing Shared Folders config] or I will need to change the UUIDs in the Shared Folders configuration (in the config file)?

    Upgraded from 4 to 5 and cannot re-create my UnionFS volume.

    I see the disks, can select them, assign the name, save, but clicking Apply gives the following error messages. Sorry for formatting - this is the copy/paste from the GUI.

    Please advise how to solve this.

    Did you trying clearing your browser cache before deleting the config?

    Yes, tried different browsers, private/incognito mode.

    in my understanding, the problem is related to the fact that the disks have changed UUIDs

    One more problem left - I 'lost' my UnionFS. I'll probably need to start another thread on this.

    Upgraded from 4 to 5 and cannot see my File Systems in the GUI: Storage - File Systems page is in endless "Loading..." state. At the same time I still see my disks in /etc/fstab.

    How can I recover them?

    I've upgraded from 4 to 5 using this great script.

    At the very end (I guess so) I've got an error related to grub - for whatever reason the old non-existent drive was still referenced somewhere in the configuration. Do I need to (re-)run some scripts after reboot in order to finalize the upgrade process?

    Upgraded from 4 to 5 and cannot login in web admin anymore. Different browsers, private/incognito mode as well.

    `omv-firstaid` does not help. What can I try?

    from /var/log/auth.log :

    Jul 6 16:23:41 vault openmediavault-webgui[2691]: Unauthorized login attempt from [username=admin, user-agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0]

    What are you trying to match?

    My understanding was that the backup script name [in /var/lib/openmediavault/usbbackup.d/] is based on the drive UUID, this is what I see in your script:

    # your drive
    # run backup script
    /usr/sbin/omv-run -e -s 'USB Backup (device=${drive})' -a 'From: USB Backup <root>' /var/lib/openmediavault/usbbackup.d/sync-${drive}"

    I thought that 854fe912-9f08-423d-9bc8-26a404cae6d0 in this example is the UUID of the USB drive, this id is used as a part of the backup script name. With this wrong assumption I was trying to find a match between my disk UUID and my backup script name.

    After some digging I found that it is not a disk UUID but a job uuid found in ${OMV_CONFIG_FILE}. Now I can either mimic some code from usbbackup script or just hardcode this id it in my own script.

    I'm going to use USB Backup plugin to regularly backup data to 4TB WD HDD installed in Ugreen USB3 enclosure. Here is some information about it:

    ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge

    I have a few questions around that.

    1. My enclosure has a pre-set to spin-down a disk after some inactivity period (few minutes). Should I leave it as it is or try to change this behavior?

    2. I want the sync happen not only on the disk plug-in, but also on a schedule if the drive remains plugged in.

    For #2 I found the old example from ryecoaaron : USB Backup Settings - Just Stopped Working

    Will give it a try but need to clarify something first. This script is using some id to refer to the external disk partition. I'm not sure which particular id I should use.

    I'm checking on my system and see some id as a part of the script name:

    # ll /var/lib/openmediavault/usbbackup.d
    total 8
    -rwxr-xr-x 1 root root 1636 May 22 10:53 openmediavault-usbbackup-9be5d73708b375775c28a72exxxxxxxx
    -rwxr-xr-x 1 root root 1061 May 22 10:53 rsync-54dfab8e-e9d1-4b36-a9d7-d3afxxxxxxxx

    However, I was not able to correlate this id with any other id on my system, like UUID, etc. How this id is generated?

    What am I doing wrong?

    It looks like you're ignoring the warning that is supposed to be there:

    $ cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)

    You should configure your network setting in the Web GUI.
    If you want to do this manually you can try to edit /etc/network/interfaces, here is an example:

    # enp1s0 network interface
    auto enp1s0
    allow-hotplug enp1s0
    iface enp1s0 inet static