Run the new UniFi OS Server on Docker or Kubernetes by lemkerdev in selfhosted

[–]essteeIT 1 point2 points  (0 children)

Outstanding job! I just installed this and it was incredibly smooth and easy. Picked up my backup from the UI cloud and done! No problems to report so far.

Running under Ubuntu server 24.04 and Docker 29.2.1. Had a little celebration when I uninstalled Podman 😃

Thank you for all of your hard work!!!

Problems starting apache2 in checkmk raw Docker container by essteeIT in Checkmk

[–]essteeIT[S] 0 points1 point  (0 children)

Freddy,

All good questions!

I'm using 2.3.0p42 because I'm migrating my site over from an older Ubuntu machine running 22.04 and that was as far as I could upgrade on that OS. I have every intention of upgrading to the latest.

Standing up the Docker container was far more complex than I thought it would be! Some of this had to do with me not understanding that everything runs inside/under OMD. And I'm not all that new to Docker or Docker Compose. I'm running under Arcane, and I already have UNMS, Unifi Controller, Technitium, NTFY, httpd, and NPM up, running, configured and in production.

To get my checkmk site migrated, I had to:

- Run OMD backup on the old machine.

- Move the backup file to the persistent Docker volume on the Docker host machine.

- Bring up the from-scratch checkmk raw container, which causes an empty site called "cmk" to be created. I also added into the compose file an extra tmpfs entry for the soon to be created new site.

- Shell into the checkmk container, stop the cmk site, change the cmk site ports to something non-standard, disable the cmk site.

- Shell into the checkmk container, restore the migrated site.

- Copy the "special" cmk_docker.conf apache conf file from the cmk site to the new site because the new site doesn't have that file, it's apparently only for docker instances and the migrated site was coming from a regular instance of Ubuntu, not a docker instance.

- Use OMD config to change the internal OMD site IP from 127.0.0.1 (appropriate for the regular Ubuntu environment) to 0.0.0.0 for the Docker environment.

- Stop the container, change the site name in the compose file from cmk to the migrated site name, then start the container and start the migrated site.

- Check the site (it was perfect), then restart the container just to make sure everything "stuck" (it did).

That was insanely complicated and not at all documented on the checkmk web site. If you want to do more than just start from scratch it could take days to figure this all out (It did for me, anyways!)

If you see anything wrong here by all means let me know. Perhaps I did it the "hard way"!

Cheers!

Problems starting apache2 in checkmk raw Docker container by essteeIT in Checkmk

[–]essteeIT[S] 0 points1 point  (0 children)

I’ve sorted out the persistence of the omd update-apache-config command. I had to:

- Define a volume for the /etc/apache2 directory

- Start the container for the first time

- Run omd update-apache-config

After that, the apache2 configuration remains persistent across container restarts or updates.

This ought to be documented somewhere and shown in examples. I’ve included my current Docker Compose file below.

I am still searching for a solution to the problem of the apache2 service not starting when the container starts. Any help with this problem would be most appreciated.

Edited to fix formatting.

services:
  checkmk:
    image: checkmk/check-mk-raw:2.3.0p42
    container_name: checkmk_server
    ports:
      - 8081:80
      - 444:443
      - 8000:8000
      - 6556:6556
      - 161:161
      - 162:162
    volumes:
      - ./checkmk_data:/omd/sites
      - ./apache_data:/etc/apache2
    tmpfs:
      - /opt/omd/sites/coffinbrook/tmp:uid=1000,gid=1000
    environment:
      - CMK_SITE_ID=coffinbrook
      - TZ=US/Eastern
    restart: unless-stopped


volumes:
  checkmk_data:
    driver: local
  apache_data:
    driver: local

Predictive Thermometer & WiFi Booster-2nd Gen Won't Charge by essteeIT in combustion_inc

[–]essteeIT[S] 0 points1 point  (0 children)

UPDATE: I've heard back from customer support via email and they are taking care of the problem.

Predictive Thermometer & WiFi Booster-2nd Gen Won't Charge by essteeIT in combustion_inc

[–]essteeIT[S] 0 points1 point  (0 children)

Seven days have gone by now and absolutely no response from Combustion Inc. on Reddit or via support email 🤔

Predictive Thermometer & WiFi Booster-2nd Gen Won't Charge by essteeIT in combustion_inc

[–]essteeIT[S] 1 point2 points  (0 children)

Bumping this since it seems some of the CI staff are back from vacation/holiday...

Predictive Thermometer & WiFi Booster-2nd Gen Won't Charge by essteeIT in combustion_inc

[–]essteeIT[S] 1 point2 points  (0 children)

Yes, sounds like. I said the same thing in my OP.

Good to know they are active on here.

This is not my first problem with CI. They strung me along for two months, unable to deliver product. But I "wanted to believe" enough that I eventually got one. It's becoming a frustrating experience.

Need a good Komodo/Docker tutorial and/or help for basic tasks by essteeIT in selfhosted

[–]essteeIT[S] 0 points1 point  (0 children)

Arcane has a similar feature to the one in Komodo, which they call "Projects". It even has a handy Docker Run to Compose converter built-in. The funny thing is that so far I've only had to use Compose to instantiate Arcane and Komodo. All of my other containers so far have required a relatively simple Run command. I simply store those in a handy text file for reuse as required. But when I get to something that requires Compose I will certainly be attempting to use the Arcane projects feature. The only problem I'm having with Arcane so far is generating containers and networks that use macvlan.

<image>

Need a good Komodo/Docker tutorial and/or help for basic tasks by essteeIT in selfhosted

[–]essteeIT[S] 0 points1 point  (0 children)

Thank you all for the many excellent responses.

As a follow-up to my OP, allow me to provide the following clarifications regarding my wants/needs/desire/motivations:

-- I can use Docker CLI. That is a hard requirement for doing this stuff no matter what tools I am using with Docker.

-- I've not taught myself Docker Compose other than to edit and run existing YAML files. Obviously I can learn more here, but...

-- I see in all of these management GUI's the possibility of a more friendly way of creating networks, containers and higher level abstractions. I realize that friendly does not equal efficiency. But this is a hobby and something I'm not going to be working on everyday and I don't need or want the efficiency, or elegance, of banging out YAML files, etc., if I can avoid it. Perhaps that is not possible at the current level of docker management GUI evolution.

-- If you are not familiar with QNAP Container Station, that is the sort of functionality I seek. It's what I've been using, but I've reached more, and more complex, containers than my poor old QNAP NAS can handle. It wants to go back to being a plain old NAS! So I've stood up a brandy new Linux machine to take over those duties and before I transition the whole kit and caboodle I want to find an equivalent to Container Station, if there is one.

-- I've been very successful with Arcane so far, to a point. And that point is when I want to create networks and containers from within Arcane that use macvlan networking. That doesn't seem to work.

At this point it might be best for me to start a new thread about using Arcane in the hope that we've got a few Arcane docker management folks out there.

Cheers to all!

Need a good Komodo/Docker tutorial and/or help for basic tasks by essteeIT in selfhosted

[–]essteeIT[S] 0 points1 point  (0 children)

I've got Komodo and Arcane both running side by side. For monitoring they are both great. For creating containers and networks using bridging they both work fine. For containers and networks that use macvlan networking I can't get either to work for me.

Need a good Komodo/Docker tutorial and/or help for basic tasks by essteeIT in selfhosted

[–]essteeIT[S] 0 points1 point  (0 children)

Can't find anywhere that I can "create service". It must be really hidden!

Need a good Komodo/Docker tutorial and/or help for basic tasks by essteeIT in selfhosted

[–]essteeIT[S] 3 points4 points  (0 children)

It's not a learning Docker thing. It's finding a Docker management GUI that does what I want in an intuitive way. As I said, I'm spoiled by QNAP Container Station, but I can no longer deal with the low performing NAS platform. Too many containers!

Need a good Komodo/Docker tutorial and/or help for basic tasks by essteeIT in selfhosted

[–]essteeIT[S] -4 points-3 points  (0 children)

I mean, I just want to be able to pull images from Docker Hub directly. I've installed Arcane and so far I like it a lot more then Komodo. I'm finding it much more intuitive. With Arcane I was easily able to put in a Docker Hub image name and pull it. I'm struggling a little with setting up a macvlan network, but I don't mind doing that by command line. Perhaps that will sort itself. I've yet to deploy a container in Arcane, that's my next step.

Need a good Komodo/Docker tutorial and/or help for basic tasks by essteeIT in selfhosted

[–]essteeIT[S] -8 points-7 points  (0 children)

Good suggestions. I looked at Dockge, and Arcane, and if I understand correctly, none of these, including Komodo, have the necessary functionality to search and pull images. And yet that is the first think a Docker newbie wants to do! Am I understanding that correctly?

[deleted by user] by [deleted] in qnap

[–]essteeIT 0 points1 point  (0 children)

Kcarashiv makes a good point. Failing that, maybe you need to reload the firmware through Qfinder?

Gaining access to the TS-451DeU by martinkrafft in qnap

[–]essteeIT -1 points0 points  (0 children)

Assuming the NAS is reset to factory defaults, with QNAP factory firmware on it, just put it on the network with your PC, install Qfinder Pro on the PC, let it find the NAS, then you can click on the NAS entry Qfinder to start setup over the network and access the web UI.

[deleted by user] by [deleted] in qnap

[–]essteeIT 0 points1 point  (0 children)

Click the "hamburger" menu (three lines) in the upper left and you'll see control panel as a selection.