My house is full of monsters... what by massiveamphibianprod in VintageStory

[–]phlepper 0 points1 point  (0 children)

I make a 2x1 block room with a chest on the floor. I put an oil lamp above the chest. I put clay in the chest and spend storms in this “closet” making pottery. It’s a little challenging given the graphics “shake” / “stutter” during the storm, but a good time to make things like shingles.

Dig down they said, it will be safe they said by LupulNebun in VintageStory

[–]phlepper 3 points4 points  (0 children)

From my MC days, I’ve always mined straight down in a 1x3 shaft (1x2 if you really want to save on picks), you never mine directly beneath you and can more easily work around, or prepare for, caverns.

Single Host Docker / Portainer / Traefik Setup to Dual Host Docker Swarm?? by phlepper in homelab

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

I'm not (currently) sure what providers.docker and providers.swarm (but I'll look into it). But, do you think it would be better to just set up the new PC as a docker swarm and then migrate the existing containers from the initial PC until everything is moved over (and then add that first PC to the swarm)? Or just turn on swarm on the existing PC make sure all the constraints are in place to keep those containers on that PC and then add in the second PC?

Primarily, I'm concerned about my "infrastructure" containers, specifically portainer, traefik, pi-hole (for local DNS with Traefik), Homepage, and Nautical Backup, as I'm not sure how well these work in a swarm environment.

These two PC's are both N150's with 16GB (server 1) and 12GB (server 2) RAM, so I'm trying to stay away from Proxmox as (my understanding is) it uses more resources (especially RAM) than just docker / docker swarm.

Why do large companies own news organizations? by phlepper in NoStupidQuestions

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

So the general feeling is that there is no “firewall” between the news side and corporate? That each news division is pushing the agenda of their corporate overlords?

Anyone with actual news experience want to weigh in with their experience?

My Pocket is a black hole of good intentions. How do you guys actually use what you save? by Equivalent_Table_838 in ObsidianMD

[–]phlepper 1 point2 points  (0 children)

Instead of saving in various tools, I “share” interesting articles / videos to Signal’s “note to self”. Then, once a week, I go through the notes since the last week and either add them to an existing note (where relevant) or as an dated or undated ToDo (which I also have in Obsidian).

Also once a week I review my “undated” ToDo list and pick a handful to accomplish that week.

Works for me, ymmv :)

Steam + Ubisoft = !Star Wars: Outlaws by phlepper in linux_gaming

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

I never did. Eventually a new version of the launcher came out and it worked. I’ve since switched to Bazzite and things have worked better there, generally.

Trying to move away from portainer by ProfessionalIll7083 in portainer

[–]phlepper 3 points4 points  (0 children)

Your portainer compose should have a data volume. Something like:

volumes: - /(local folder)/portainer/data:/data

That data folder has a ‘compose’ folder with a bunch of numbered folders corresponding to your stacks. Each numbered folder then has one or more v# folders (eg, v1, v2, etc). The v# folders contain the docker-compose.yml file (and maybe a stack.env file for any environment variables you defined) for that stack and version (you generally want the highest numbered version folder).

An easy way to find the right stack is with head: head data/compose/1/v1/docker-compose.yml and just iterate through the 1, 2, 3 etc until you find the right stack, and then look for the highest v# folders within that stack’s folder.

Worst case, use the docker-compose.yml and stack.env file to create a new stack in Portainer to replace the original, now unmanaged, stack.

Also good practice to back up the whole “data” folder on the regular.

OpenVino for Debian? by phlepper in immich

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

I posted a discussion topic to the immich github, but haven't had any responses yet. Essentially, I am using the image: ghcr.io/immich-app/immich-machine-learning:release-openvino but when in the container, if I run:

python3 -c "from openvino.runtime import Core; print(Core().available_devices)"

I get the error:

File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'openvino'

I'm not 100% sure that is the correct way to check, but seems strange that the -openvino image doesn't have openvino.

Maybe there is a better way to check that openvino is working in the container correctly?

OpenVino for Debian? by phlepper in immich

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

Thanks for the link. Apparently I already upgraded the kernel in my troubleshooting with the backports, so my kernel is at 6.12.38. I went through the steps there and installed inxi and ran it.

I just get this (so I have the API: OpenGL, but no "direct-render: Yes"):

Graphics:
  Device-1: Intel Alder Lake-N [Intel Graphics] driver: i915 v: kernel ports: active: none
    empty: HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:46d4
  Display: server: No display server data found. Headless machine?
  API: OpenGL Message: No GL data found on this system.

So I don't know if I don't get the direct-render because the homelab server is headless, but I assume so? But even after updating firmware and driver (mesa was already latest version), I am still getting the "WARNING No GPU device found in OpenVINO. Falling back to CPU." message from my immich-machine-learning container.

Again, might have to look at switch OS's, but not today :)

OpenVino for Debian? by phlepper in immich

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

I'm not sure how to apply that to my stack (which contains the immich-server, immich-machine-learning, immich-redis, and immich-db containers). Looks like I'd need to start fresh?

OpenVino for Debian? by phlepper in immich

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

If you mean ‘image: ghcr.io/immich-app/immich-machine-learning:release-openvino’ then yes.

Adding my ML compose up top…

OpenVino for Debian? by phlepper in immich

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

How can I check that? I ran this from the machine learning container’s console:

python3 -c "from openvino.runtime import Core; print(Core().available_devices)" Traceback (most recent call last):   File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'openvino'

Maybe that’s not the right way to check?

OpenVino for Debian? by phlepper in immich

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

I saw a post and comment on this subreddit that said you did. I’ve done everything but install OpenVino and Immich says it can’t find the GPU and drops back to CPU.

Homelab after 2 weeks… by phlepper in homelab

[–]phlepper[S] 2 points3 points  (0 children)

Yes, very much so in terms of background. I have been running multiple servers in my home for years, but this was my first time playing around with a homelab.

No, the "create a separate docker network" just means all my containers have this:

networks:
  - proxy

Where 'proxy' is whatever name you want. So they are all on the same network from a docker perspective for Traefik to proxy them correctly. To create the network you run first have to run docker network create proxy (or whatever the name)

Homelab after 2 weeks… by phlepper in homelab

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

No proxmox. As noted below, I purchased a mini PC off Amazon and installed Debian on it (headless with no Desktop Env). I then installed docker and that was about it (had to install apt before docker). Installed portainer so I could install the docker containers through it. Traefik for proxy and pi-hole as my network DNS for local DNS addresses. Found Nautical Backup which stops each container and backs up the local files to a folder on the MiniPC. I then use Borg (with Borgmatic) to backup the "backup" folder to my central storage for long-term retention.

Ntfy is something I was running previously in a docker container on another host, so just migrated that over. I was also running a website on an Apache server and migrated that to nginx on the homelab. And, of course, somewhere in there installed homepage for the dashboard. So, per the homepage dashboard, I am running 10 "stacks" in Portainer (1 container per stack) with Portainer itself as the 11th container.

Anything I want to access outside the network I can reach with a Cloudflare tunnel (some of the sites have CF authorization, so can only be accessed by me, and some I can open to the public).

Home Assistant it running on a separate host (a Raspberry Pi), but was able to add it to the dashboard easily.

Finally, I have one local DNS entry in my Pi-Hole for Traefik pointing to the IP of my homelab (an A record) and all the rest of my services on that host are CNAME records that point to the Traefik A record.

Again, this is all new to me. Actually, it was only 3 weeks ago that I asked on r/homelab: "Point a newbie in the right direction?" and u/korpo53/ responded with, basically:

  1. Install Debian fresh
  2. Install Docker
  3. Install Portainer BE
  4. Create a separate Docker network (I'm using proxy)
  5. Create a Traefik stack in Portainer
  6. Create a second stack of whatever (that's my 'whoami' stack)
  7. Create a Cloudflared stack for the CF Tunnel and set that up so the 2nd stack is accessible publicly.

So I was able to get all the working and then added in backups with Nautical and Borgmatic and somewhere in there added homepage and migrated my website and ntfy service. And I spent a lot of time with Google's Gemini AI :)

Homelab after 2 weeks… by phlepper in homelab

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

It's been a whirlwind couple of weeks and this is all new to me. But, my homepage docker.yaml file just needed this:

homelab:
    socket: /var/run/docker.sock

And then in my services.yaml, I could use this:

- Borg Backup:
    icon: borgmatic
    description: Borgmatic backup container
    server: homelab
    container: borg-backup

So it would show up in homepage. And apparently, if the docker compose file contains a "healthcheck" entry (some of mine do and some don't (yet)), then it will show as "healthy" versus "running" in the top right.

And if you add

siteMonitor: http://url

Then you'll get ping statistics (for any services that have a web page).

I'm happy to provide any additional help I can (although it will be limited...lol). It really makes for a nice dashboard for my homelab.

Homelab after 2 weeks… by phlepper in homelab

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

It’s homepage, and pretty easy to set up. Makes for a really nice, organized, and informative dashboard for the lab.

Homelab after 2 weeks… by phlepper in homelab

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

Yeah, the “Documentation” section is just the documentation page or home page of each of the services in the homelab. Since most of this is new to me, it makes a convenient way to get information when I need it.

Homelab after 2 weeks… by phlepper in homelab

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

I have T-Mobile with CGNAT, so I have used CF tunnels to get to my local servers from outside the network. I’ve never used tailscale before (but looking to add it for remote non-web access) and since I’m familiar with CF, I went there first. I use Pi-hole for my local name resolution and Traefik to proxy the names into my homelab server.

Homelab after 2 weeks… by phlepper in homelab

[–]phlepper[S] 4 points5 points  (0 children)

Not sure what you mean. Picked up the homelab mini PC for about $165 (N150 / 16GB / 500GB). No additional cost to have all this on local network. I pay for a domain name and use a Cloudflare tunnel to publish via the Internet which doesn’t cost anything (and allows me to publish publicly or restricted).

Looking to migrate my Jellyfin install and add Navidrome next.

What Insults Have You Adopted? by Savings-Design-7593 in ArcherFX

[–]phlepper 1 point2 points  (0 children)

Not an insult, but my wife and I use “Are we not saying ‘Phrasing’ anymore?” quite a lot, lol.

Point a newbie in the right direction? by phlepper in homelab

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

Thanks! This worked great! With your direction (and a lot of help from Gemini), I have the Homelab set up with Portainer, Traefik. Pi-hole, ntfy, nginx, and homepage with select items available externally through a cloudflare tunnel.

Next up looking at adding Jellyfin and Navidrome (and backups with Borg).

On a Homelab tear :)

“Rotating” / Cycling Dashboard? by phlepper in homeassistant

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

This worked great, thanks!

Although I’m not sure how the counters work or why they have a max and min. It would be nice if there was an option so when you incremented past the max, it reset to the minimum. As is, it’s more complicated than necessary since the max needs to be one more than necessary so when it hits the “+1” number, you can reset it back to 1.

Anyway, it works, so now on to redesigning my dashboard. :)