Posts by gtj

    Hello,


    I'm trying to set up a domoticz docker container as the domoticz plugin won't work (OpenZwave USB not available).


    While I set all the parameters right and change default port from 8080 to other options such as 8081, 8089, 8085, 1000 etc, when I try to reach Domotiz GUI,I get a 400 Bad Request.


    What am I possibly doing wrong?

    It will, because that is what it is designed for :)
    Set it to JBOD (Just a bunch of disks) wipe both disks, then set a filesystem on each ext4 and they will mount, configure/use one as your main drive then install the rsnapshot plugin and configure the second drive to take snapshots of the first....simples :) that way if one drive goes down you can recover. Also the snapshot can be run 'out of hours'.

    I didn't have particularly high expectations when I bought it but to my surprise it works according to specifications! :)


    In fact I have my main filesystem (the 3.5 inch drives) running in RAID 1 and that one is the ''important'' filesystem.


    I was hopping to set those smaller 2.5 ones as RAID 0 for speed and various OMV plugins and applications such as transmission.


    Before I put them into the enclosure, I formatted them on a Windows PC using diskmanager and they were immediately recognized by the server when I connected them and rebooted. The strange thing is that with the enclosure set at RAID 0 mode, both drives are discovered by OMV and am able to mount them as if they were independent one another.


    Thank you!

    I would agree with @jollyrogr bad idea! Best guess is that OMV does not see the enclosure as what is basically a hardware raid controller of some description.


    Have you tested it with another raid option as I'm guessing it will run raid 1, these enclosures usually can be set as JBOD, Raid 0, Raid 1.


    JBOD would be the better option.

    Thanks for your help!


    It's actually one of those cheap RAID enclosures
    https://www.aliexpress.com/ite…042311.0.0.27424c4dVJPaqL


    However, I tested all available modes on a Windows PC and does seem to work fine.
    In the beginning I thought about setting the drives as independent - JBOD mode having in mind to set RAID 0 through OMV but as far as I'm concearned OMV 4.0 won't allow any RAID configurations over USB.


    Given the above, what would you suggest?


    Cheers

    Thank you both for your answers.


    The enclosure is set to run the drives as a combined filesystem RAID 0.


    However, under the filesystem tab, should I ''create'' and ''mount'' both drives or just one of them?


    Under ''disks'' tab I can see both drives available despite the enclosure is in RAID 0 mode.

    Hello,


    I've set up my OMV server with 2 X 3.5 inch HDDs as mirror (RAID 1)
    I got another external enclosure for 2 X 2.5 inch HDDs that I want to utilize as a second separate file system (RAID 0).
    I have set the enclosure to operate the disks in RAID 0, so I only basically want OMV to mount the 2 drives in the enclosure.
    My question is, do I have to mount both drives or I should just mount one of the two and let the enclosure do the rest of the job?


    Any help will be greatly appreciated.

    Hello


    I'm also in a pretty similar siltuation here but the difference is that I want to migrate my 2 4TB HDDs (RAID1) from an old WD MyCloud Mirror to an Openmediavault build.


    I would have already started to transfer the drives with the hope that I won't need to reset any shares or privileges but as far as I can recall with other OMV builds I had in the past, OMV asks to format both drives in order to create a RAID 1 array.


    Could anyone please help as I don't want to lose my precious files.

    I just set up an OMV server on a Rockpro64 and I'm getting write speeds around 50mb/s. I know the specific board is capable for double that speed but none of the aforementioned extra options seem to be working for me...

    Is there a guide to configure a simple RAID1 like environment, 2 HDDs one being a mirror to the other?
    Where could I possibly find such guide to do this?

    Then build you a proper NAS. :) .


    Dual booting a nas doesn't make sense to me, but I guess it is good to learn if needed

    I'm not intended to do a dual boot NAS by any means. I might not be so knowlegdeable but not to this extent :P


    I got a Voyo Vmac mini PC with an N4200 processor which is a quite powerful fanless mini pc but ATM I have no use of it. I'm on the fence whether I'll sell it or utilize it somehow. This is where the dual boot thing comes in. I don't want to ''touch'' the OS on the main M2 SSD drive of the PC and just wanted to experiment with a secondary 2.5 SSD I installed.


    If this build proves substantially better than my XU4, then I'll definitely keep this mini PC and possibly install OMV on the main drive permanently.


    The idea of a low-powered NAS intrigues me a lot - not so from a saving perspective but mostly because I'm very interested and keen on green computing! My KIll-a-watt meter shows that this little thing consumes 6 watts and if stressed up to 10-12 which is amazing in my book.


    My main NAS is a WD My Cloud mirror so this build is more of an experimental one.
    However, if the experiment goes as hoped, I'm planning to transfer my main NAS drives to a new OMV build as the WD I got is very slow in transfer speeds (around 50mb/s) while my XU4 with a couple of USB HDDs has twice the speed!

    I've had to install OMV on top of Debian several times on my machine back when it was new (like omv 2.0 and 3.0).. and I've always gotten a similar message to what you got and fixed it with the apt-get -f install command.
    Glad you got it going.


    (and trust me.. You'll have more questions.. it's the nature of the beast).

    Thank you!


    I knew I was closer and closer with every step but after a point I admit I had started thinking of giving up.


    I did spend the better part of the weekend with this but it was rewarding in the end.
    As I had been running an OMV server on an XU4, I am aware how great this project is.


    I'm hoping I will be able to run more packages and dockers on the new Windows machine which is substantially more powerful!

    root@debian:~# apt-get update
    Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
    Hit:2 http://packages.openmediavault.org/public arrakis InRelease
    Ign:3 http://ftp.us.debian.org/debian stretch InRelease
    Hit:4 http://ftp.us.debian.org/debian stretch Release
    Reading package lists... Done



    I repeated all steps from the second script one by one and it seemed like openmediavault was installed but then it came the next error when I ran omv-initsystem


    I repeated the process all over again and when I reached install postfix openmediavault-keyring openmediavault the outpu is:


    > install postfix openmediavault-keyring openmediavault
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    postfix is already the newest version (3.1.9-0+deb9u2).
    openmediavault is already the newest version (4.1.21-1).
    openmediavault-keyring is already the newest version (1.0).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    3 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up nginx-full (1.10.3-1+deb9u2) ...
    Job for nginx.service failed because the control process exited with error code.
    See "systemctl status nginx.service" and "journalctl -xe" for details.
    invoke-rc.d: initscript nginx, action "start" failed.
    ● nginx.service - A high performance web server and a reverse proxy server
    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Sun 2019-04-07 20:51:33 BST; 14ms ago
    Docs: man:nginx(8)
    Process: 27387 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
    Process: 27384 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)


    Apr 07 20:51:31 debian nginx[27387]: nginx: [emerg] listen() to [::]:80, backlog 511 faile… use)
    Apr 07 20:51:32 debian nginx[27387]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 fa… use)
    Apr 07 20:51:32 debian nginx[27387]: nginx: [emerg] listen() to [::]:80, backlog 511 faile… use)
    Apr 07 20:51:32 debian nginx[27387]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 fa… use)
    Apr 07 20:51:32 debian nginx[27387]: nginx: [emerg] listen() to [::]:80, backlog 511 faile… use)
    Apr 07 20:51:33 debian nginx[27387]: nginx: [emerg] still could not bind()
    Apr 07 20:51:33 debian systemd[1]: nginx.service: Control process exited, code=exited status=1
    Apr 07 20:51:33 debian systemd[1]: Failed to start A high performance web server and a re…erver.
    Apr 07 20:51:33 debian systemd[1]: nginx.service: Unit entered failed state.
    Apr 07 20:51:33 debian systemd[1]: nginx.service: Failed with result 'exit-code'.
    Hint: Some lines were ellipsized, use -l to show in full.
    dpkg: error processing package nginx-full (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of nginx:
    nginx depends on nginx-full (<< 1.10.3-1+deb9u2.1~) | nginx-light (<< 1.10.3-1+deb9u2.1~) | nginx-extras (<< 1.10.3-1+deb9u2.1~); however:
    Package nginx-full is not configured yet.
    Package nginx-light is not installed.
    Package nginx-extras is not installed.
    nginx depends on nginx-full (>= 1.10.3-1+deb9u2) | nginx-light (>= 1.10.3-1+deb9u2) | nginx-extras (>= 1.10.3-1+deb9u2); however:
    Package nginx-full is not configured yet.
    Package nginx-light is not installed.
    Package nginx-extras is not installed.


    dpkg: error processing package nginx (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of openmediavault:
    openmediavault depends on nginx; however:
    Package nginx is not configured yet.
    Package nginx-full which provides nginx is not configured yet.


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


    It seems like it's missing a whole lot of dependencies.

    I do not get it why this step sometimes go wrong.


    Try this
    apt-get --yes --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends --option Dpkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" install postfix openmediavault-keyring openmediavault

    I'm still getting this:


    root@debian:~# apt-get --yes --auto-remove --show-upgraded \
    > --allow-downgrades --allow-change-held-packages \
    > --no-install-recommends \
    > --option Dpkg::Options::="--force-confdef" \
    > --option DPkg::Options::="--force-confold" \
    > install postfix openmediavault-keyring openmediavault
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package openmediavault-keyring
    E: Unable to locate package openmediavault


    It proceeded in building dependency tree at least....