Anybody that has successfully installed Domoticz in a Docker container that cares to share their configuration?
I'm getting nowhere with this....
Anybody that has successfully installed Domoticz in a Docker container that cares to share their configuration?
I'm getting nowhere with this....
Have you looked in the container log yet?
I would try setting the exposed port to be the same as the host port - 8085.
Just changed host and exposed port to 8085 to no avail...
What exactly should I look for in the logs?
I can't see anything related to port assign.
Many thanks
I don't think you will get any meaningful help until you post the configuration you used.
Thanks for your help.
I use the linuxserver image and even pulled the ''arm64v8-latest'' tag
I opted for port 8085 instead of 8080 as on 8080 runs my Unify Controller also in a Docker container
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?
Display MoreYes it will it's designed for use with Windows.
So the drives are formatted to NTFS? not a good idea.
There's nothing strange on how OMV sees the drives, these units are fitted with a crude raid controller for them to work under Linux they will require a driver/firmware in the kernel, as this is not 'built in' to OMV it sees them as independent drives.
Why Raid 0? one drive dies you lose it all, you can set up a Raid via USB on OMV but only from the command line.
Excellent insight! I wouldn't have found all this info no matter what!
Well, to clarify, I only formatted the drives with diskmanager at NTFS format to verify that all RAID modes work and they actually do. Upon connecting the enclosure to OMV (LInux server) I did let the server format the drives to the compatible filesystem.
I just haven't thought about firmware missing in Linux. So with OMV kernel not having the appropriate firmware to work as a RAID controller, it defeats the purpose of the device itself being a RAID controller but it's good to know what to expect and what not in this case.
In other words, in my case it will make absolutely no difference at all if I hook these 2 drives on my OMV server via this RAID enclosure or via separate USB 3.0 enclosures. If that's the case, I think I'm better off using 2 separate USB3.0 enclosures I also have (by Orico) because with those I can at least monitor the drives with SMART. Unfortunately, with the RAID enclosure SMART does not seem to work as the drives vendor and details are not accessible by the server.
I thought RAID 0 for faster accessibility such as fast tranfers within my LAN and faster download speeds with Transmission.
Can you link me to a guide about setting RAID with USB HDDs using the command line?
Thanks so much mate. Your help is thoroughly appreciated and at last I understand why I was having problems to make my enclosure work in RAID mode on OMV
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....simplesthat 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.
You will need to back up your files moving the drives from what is technically one OS to another will not work and you will have to wipe the drives.
I was hopping to hear something different but thank you....
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...
How different are the above steps to install netdata on OMV 4 via linux command line?
I tried following this guide:
https://www.youtube.com/watch?v=_oJVkIxsJLI&t=171s
but the commands seems to have changed since the video was made and when I try to save the configuration, I get errors.
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
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'm also glad I'm not dumb after all but maybe just a bit... unlucky?
Thanks again.
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!
apt-get -f install
See if that can fix any of this.
Oh man.. That was it! I'm up and running and I can reach WebGUI on my localhost address!
I can't believe how hard it was. I might be ignorant but the whole process could be a tad easier I think
Thank you so much both of you! I hope there won't be any other problems down my way!
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....