klangcola

joined 2 years ago
[–] [email protected] 2 points 2 days ago

Nice, my HM90s have a really great cooling solution for the CPU (big silent fan, fine finned heat sink). But no cooling on the bottom side of the main board, which houses the RAM, a NVMe and two 2,5" SATA SSDs.

As usual, the arch wiki is super helpful also for non-arch distros https://wiki.archlinux.org/title/Lm_sensors#Adding_DIMM_temperature_sensors

[–] [email protected] 2 points 2 days ago (2 children)

Regarding mini PCs; Beware of RAM overheating!

I bought some Minisforum HM90 for Proxmox selfhosting, installed 64gb RAM (2x32gb DDR4 3200MHz sticks), ran memtest first to ensure the RAM was good, and all 3 mini PCs failed to various degrees.

The "best" would run for a couple of days and tens of passes before throwing multiple errors (tens of errors) then run for another few days without errors.

Turns out the RAM overheated. 85-95 C surface temperature. (There's almost no space or openings for air circulation on that side of the PC). Taking the lid off the PC, let 2/3 computers run memtest for a week with no errors, but one still gave the occasional error bursts. RAM surface temperature with the lid off was still 80-85 C.

Adding a small fan creating a small draft dropped the temperature to 55-60 C. I then left the computer running memtest for a few weeks while I was away, then another few weeks while busy with other stuff. It has now been 6 weeks of continuous memtest, so I'm fairly confident in the integrity of the RAM, as long as they're cold.

Turns out also some, but not all, RAM sticks have onboard temperature sensors. lm-sensors can read the RAM temperature, if the sticks have the sensor. So I'm making a Arduino solution to monitor the temperature with a IR sensor and also control an extra fan.

[–] [email protected] 11 points 3 days ago (2 children)

Lol, my tired brain thought for a moment EU was highlighting what it's doing for it's Lemmy-members 🤣

[–] [email protected] 1 points 4 days ago

Game changing! I've never heard of Hoarder before, but will look in to it now.

LinkDing also has a REST API but I don't see the option to send attachment files

[–] [email protected] 2 points 5 days ago (3 children)

+1 for SingleFile

I recently tried LinkWarden, Linkding and Archivebox for making offline copies. They all had the same issue of running in to a Captcha or login wall for the sites I wanted to capture.
SingleFile to the rescue, as it uses your current browser session as a logged in and verified human.

Linkeding allows you to upload the singlefile html file attached to it link, but I didn't see such an option for Linkwarden.

[–] [email protected] 2 points 5 days ago

I hadn't considered giant data sets, like Jellyfin movie library, or Immich photo library. Though for Jellyfin I'd consider only the database and config as "Jellyfin data", while the movie library is its own entity, shared to Jellyfin

[–] [email protected] 1 points 5 days ago (1 children)

How does this work? Where is additional space used for cache, server or client?

Or are you saying everything is on one host at the moment, and you use NFS from the host to the docker container (on the same host)?

[–] [email protected] 2 points 5 days ago (1 children)

This has been my thinking too.

Though after reading mbirth's comment I realised it's possible to use named volumes and explicitly tell it where on disk to store the volume:

    volumes:
      - my-named-volume:/data/
volumes:
  my-named-volume:
    driver: local
    driver_opts:
      type: none
      device: "./folder-next-to-compose-yml"
      # device: "/path/to/well/known/folder"
      o: bind

It's a bit verbose, but at least I know which folder and partition holds the data, while keeping the benefits of named volumes.

[–] [email protected] 1 points 5 days ago

Yeah that's fair, permission issues can be a pain to deal with. Guess I've been lucky I haven't had any significant issues with permissions and docker-containers specifically yet.

[–] [email protected] 1 points 5 days ago

Wow thanks for this! Reading the official docker documentation I somehow missed this. Using regular well documented linux mount. tools and options will be so much better than looking for docker-specific documentation for every single type.

And knowing the docker container won't start unless the mount is available solves so much.
Does the container stop or freeze if the mount becomes unavailable? For example if the smb share host goes offline?

[–] [email protected] 1 points 5 days ago

That makes sense. I've only ever used local storage on the docker-VM, but for sure it can make sense for using external storage

 

What are the pros and cons of using Named vs Anonymous volumes in Docker for self-hosting?

I've always used "regular" Anonymous volumes, and that's what is usually in official docker-compose.yml examples for various apps:

volumes:
  - ./myAppDataFolder:/data

where myAppDataFolder/ is in the same folder as the docker-compose.yml file.

As a self-hoster I find this neat and tidy; my docker folder has a subfolder for each app. Each app folder has a docker-compose.yml, .env and one or more data-folders. I version-control the compose files, and back up the data folders.

However some apps have docker-compose.yml examples using named volumes:

services:
  mealie:
    volumes:
      - mealie-data:/app/data/
volumes:
  mealie-data:

I had to google documentation https://docs.docker.com/engine/storage/volumes/ to find that the volume is actually called mealie_mealie-data

$ docker volume ls
DRIVER    VOLUME NAME
...
local     mealie_mealie-data

and it is stored in /var/lib/docker/volumes/mealie_mealie-data/_data

$ docker volume inspect mealie_mealie-data
...
  "Mountpoint": "/var/lib/docker/volumes/mealie_mealie-data/_data",
...

I tried googling the why of named volumes, but most answers were talking about things that sounded very enterprise'y, docker swarms, and how all state information should be stored in "the database" so you shouldnt need to ever touch the actual files backing the volume for any container.

So to summarize: Named volumes, why? Or why not? What are your preferences? Given the context that we are self-hosting, and not running huge enterprise clusters.

[–] [email protected] 11 points 1 week ago (1 children)

KDE Connect also works on Gnome, Windows and Android. I can't recommend it enough. Transfering a single image from phone to PC is instantaneous

 

The joys of discovering DRG for the first time and gleefully learning all the mechanics. Extra props for the careful and methodical test to verify if the game has Friendly Fire

 

Some instances disable downvoting. Is this intended to be for communities on that instance or users on that instance, or both?

I noticed while reading [email protected] ( https://reddthat.com/post/2053 ) that some commenters were talking about being downvoted, but I have no downvote button. Because downvoting is disabled on my instance?

How does it work the opposite way? Are users from lemmy.ml allowed to downvote on posts for example beehaw (who also has disabled downvoting)

13
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

Many instances say to keep language settings as "undetermined" otherwise you won't see most posts Example: https://lemmy.blahaj.zone/post/59161 Example: https://reddthat.com/settings

Yet when I try to post a comment it will fail with language_not_allowed because initially there is no language selected. So I need to click on the "Select language" drop-down and choose English (the only option)

Actually in the Lemmy web interface (at least on my instance reddthat.com) the Post button will spin endlessly with no indication of what's wrong. Using the Jerboa Android app there's is the very brief error message language_not_allowed, and the comment disappears so I have to type it out again! On the Jerboa app there's also no option to select the language for the comment, so I can't use it to comment at all.

I experienced this language_not_allowed error while commentating on [email protected] and [email protected] , both English language communities

So how is this language setting supposed to work?

Is the language selected for posting comments the same setting as the profile setting, which the links recommend to keep as "undetermined" to be able to see (English language) posts?

Have i encountered a bug? Specific to my instance or Lemmy in general?

view more: next ›