OMV - NextCloud -> Rpi4 / NanoPi

  • Hi,




    I’m been reading in to omv and I’m in need of some cloud storage to get my documents etc, accessible in school and home. . .Used OneDrive for this but want to stop using this.


    Because I don’t want to spend too much money, I tested omv4 and nextcloud in a container with the help of techno dad youtubes.I had a rpi 3 lying around and decided to use this before buying a new rpi4 and a new usb3 disk.With this setup I’m not expecting a fast solution, but it is not stable.The nextcloud web interface keeps giving bad gateway from time to time and syncing files with nextcloud is very slow and keeps giving errors.


    Is the use of the slower rpi3 the cause of this? And will a rpi4 B /2GB or NanoPi M4 be enough to get nextcloud working stable and faster?


    I can’t seem to find any posts of using OMV and nextcloud on a rpi / nanopi to confirm that it’s functioning.

  • Hi NoBoots,


    I think Nanopi 4 is the better solution for OMV + Docker + Nextkloud plugin.
    For Nextcloud only you can take RPi4 but separately without OMV. I have Nextcloud running on Odroid C2, as a storage medium I use micro USB pendrive, the speed is sufficient for not too large files.

    [Libreelec @ 2x RPi3, 1x RPi4] # [ NAS OMV 5.xx (Usul) @ NanoPI M4 ] # [ Nextcloud 18.0.3 @ ODROID C2 ]

  • will a rpi4 B /2GB or NanoPi M4 be enough to get nextcloud working stable and faster?

    I noticed the tag of the title above is OMV 4.x, but if you plan to upgrade to OMV 5 note that Debian 10 on the NanoPi M4 is not compatible with docker network, so that you will not be able to create a custom network in order to install Nextcloud/Letsencrypt successfully. For OMV 4 it should work great... until EOL for OMV 4.x. The M4 itself is great. I run Plex on it right now. I check periodically for a fix or work around for Nextcloud but nothing has surfaced yet. Right now I run Nextcloud on an Odroid HC2 with a second HC2 as a rsync backup.


    Also note you will need a sata hat (+$25 US) and a heat sink (+?) for the M4, if you don't want to connect your disks via USB. Buy a 4 or 5 bay HDD tray to house the disks, mount the M4 on top, and make sure to get a suitable power supply to drive ever how many disks you intend to use.

    RAID is NOT a backup and not useful for most home users. Rsync makes true backup and restoration stupid easy, and it's built right in to OMV. Use this command in a Scheduled Job: rsync -av --delete /srv/dev-disk-by-label-NAMEofSOURCEdisk/ /srv/dev-disk-by-label-NAMEofDESTINATIONdisk/

    Hardware: OMV 5 (current) - NanoPi M4: Nextcloud, Plex, & Heimdall - Acer Aspire T180: backup - Odroid XU4: Pi-Hole (DietPi) - Odroid HC2, Raspberry Pi 3B+, and HP dx2400: testing.

  • that Debian 10 on the NanoPi M4 is not compatible with docker network, so that you will not be able to create a custom network

    It is possible if you switch the nftables to iptables-legacy. https://unixblogger.com/no-net…ntainers-under-debian-10/

    omv 5.3.9 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • It is possible if you switch the nftables to iptables-legacy. unixblogger.com/no-networking-…ntainers-under-debian-10/

    Now wait a minute. You said a few weeks ago here in post #51 "I don't like the idea of omv-extras changing the iptables configuration." I'm not pointing a finger, mind you. I may have misunderstood what you meant, because it just now dawned on me that you changinging omv-extras isn't the same as ME on the command line changing the tables to legacy on MY NanoPi M4. I just figured there would be ill effects underlying it all, so I chickened out and didn't try it.

    RAID is NOT a backup and not useful for most home users. Rsync makes true backup and restoration stupid easy, and it's built right in to OMV. Use this command in a Scheduled Job: rsync -av --delete /srv/dev-disk-by-label-NAMEofSOURCEdisk/ /srv/dev-disk-by-label-NAMEofDESTINATIONdisk/

    Hardware: OMV 5 (current) - NanoPi M4: Nextcloud, Plex, & Heimdall - Acer Aspire T180: backup - Odroid XU4: Pi-Hole (DietPi) - Odroid HC2, Raspberry Pi 3B+, and HP dx2400: testing.

  • ecause it just now dawned on me that you changinging omv-extras isn't the same as ME on the command line changing the tables to legacy on MY NanoPi M4. I just figured there would be ill effects underlying it all, so I chickened out and didn't try it.

    As you thought, I just didn't want the script to change it because not everyone uses docker. The script doesn't remove network-manager either. If it doesn't work for you, change it back and reboot. I just didn't want people thinking it was impossible.

    omv 5.3.9 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Hmm,

    Af far as I've read docker will not work in omv5 on the (Nano)pi.



    Looking for a solution which will work a longtime with a minimal work for me this seems to be not the way to go.



    As docker seems to work in a x86 OMV5 I’ll try an Older assus eeebox eb1503 and see how it will perform.

  • Af far as I've read docker will not work in omv5 on the (Nano)pi.

    Incorrect. Docker works very well on the NanoPiM4. Creating a custom docker network does not work without the change but seems to work quite well with the change. Hopefully docker works with nftables in the future to eliminate the need to change to iptables.


    Looking for a solution which will work a longtime with a minimal work for me this seems to be not the way to go.

    Why?

    omv 5.3.9 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • noticed the tag of the title above is OMV 4.x, but if you plan to upgrade to OMV 5 note that Debian 10 on the NanoPi M4 is not compatible with docker network, so that you will not be able to create a custom network in order to install Nextcloud/Letsencrypt successfully.

    I've seem to misunderstood this thinking Docker / Nextcloud would not work.


    So it will work, I've just need to use the same network for Nextcloud.


    Gonna make my christmass list for the NanoPi M4 and give it a try :-)

  • I am sorry. I believe I am the cause of this confusion. My comments above in this thread were incorrect. Regarding the NanoPi M4 and OMV 5 there is nothing wrong with docker or docker compose. There is a problem with docker network that can be fixed with the following command:


    sudo update-alternatives —config iptables


    When prompted type 1 and press return. To change it back just renter the same command and type 0 and return.


    I love my NanoPi M4 w/SATA hat. It may well be the best SBC board on the market today.

    RAID is NOT a backup and not useful for most home users. Rsync makes true backup and restoration stupid easy, and it's built right in to OMV. Use this command in a Scheduled Job: rsync -av --delete /srv/dev-disk-by-label-NAMEofSOURCEdisk/ /srv/dev-disk-by-label-NAMEofDESTINATIONdisk/

    Hardware: OMV 5 (current) - NanoPi M4: Nextcloud, Plex, & Heimdall - Acer Aspire T180: backup - Odroid XU4: Pi-Hole (DietPi) - Odroid HC2, Raspberry Pi 3B+, and HP dx2400: testing.

  • Any thoughts about the configuration of the NanoPi






    Should I go for the 4 GB Reading several treads and I’m still not sure


    Do I order an emmc module (and how big) or do keep running from the sd card?

  • To change it back just renter the same command and type 0 and return.

    Just to give you a better feeling about changing this... Ubuntu 19.10 on the RPi still uses the old iptables-legacy by default.


    hould I go for the 4 GB Reading several treads and I’m still not sure

    Depends on what you are going to do with. If money isn't a problem, go with it.


    Do I order an emmc module (and how big) or do keep running from the sd card?

    I use SD cards. As long as you have the flashmemory plugin installed and make a backup of your setup occasionally, you should be good. If you follow this guide, you will get a setup that should help your SD card last a long time (should be years).

    omv 5.3.9 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • The EMMC card slot is not accessible once the SATA hat is installed. Terribly inconvenient for dd backups. Save your money and go with a SanDisk Ultra 32GB micro SD card A1 class 10.

    RAID is NOT a backup and not useful for most home users. Rsync makes true backup and restoration stupid easy, and it's built right in to OMV. Use this command in a Scheduled Job: rsync -av --delete /srv/dev-disk-by-label-NAMEofSOURCEdisk/ /srv/dev-disk-by-label-NAMEofDESTINATIONdisk/

    Hardware: OMV 5 (current) - NanoPi M4: Nextcloud, Plex, & Heimdall - Acer Aspire T180: backup - Odroid XU4: Pi-Hole (DietPi) - Odroid HC2, Raspberry Pi 3B+, and HP dx2400: testing.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!