selfhosted

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

infeeeee, in Is RAID1 over USB Reliable?

There should be an m.2 port for the wifi chip,you can buy sata expansion cards there, sthg like this:

https://external-content.duckduckgo.com/iu/?u=http%3A%2F%2Fwww.iocrest.com%2Fdata%2Fupload%2Fimage%2F20200901%2F1598959087400112.jpg&f=1&nofb=1&ipt=704f774fd54e19a6cbadc803092ccd26a35c46e2c13d4df8f3b1752bad053740&ipo=images

Search for “m.2 key e sata”. Use wired net on a usb dongle, if it doesn’t have an ethernet port

machinin, (edited )

Any way to power the drives if you don’t have any more free power cables? Just have to buy a new PSU?

atzanteol,

You can get splitters for power cables.

ElectroLisa,
@ElectroLisa@lemmy.blahaj.zone avatar

Friendly reminder: Molex to SATA, Lose all of your data

peregus,

You can find an external SATA power supply

Epzillon, in Self-hosting Photo Alternatives

Another question: I set up the Immich docker image and I’m using Mullvad VPN, however Mullvad VPN removed in-app port forwarding last year. I’m curious whether there is a solution to use Split Tunneling for Immich via another VPN to setup secure remote access outside of the home network?

infinitevalence, (edited ) in LGA-1700 CPU for virtualization?
@infinitevalence@discuss.online avatar

Im not sure Intel has any worthwhile CPU’s unless you are getting them used.

Currently E cores are mostly trash, and not all that “efficient” and letting a P Core turbo up and get the task completed uses less overall power.

Secondly Intel is lying about its heat output, and power use. Everything from 10th gen up is a power hog if you dont limit the performance to well below “stock” settings.

www.techspot.com/…/2612-intel-core-i5-13500/

This is a good match up between an i5-13500 vs R5 7600, which is the most interesting IMO. The R5 7600 seems to be about $15 less expensive for just the CPU and uses 3/4ths the power which will be a greater savings over time vs Intel. The AMD Motherboards also still seem to trend a bit lower in cost than Intel.

So overall its a good question. If you can get a use 13500 or one under $150 then its probably worth it, but at retail prices the 7600 will cost less to buy, and less to own while being similar in performance.

conrad82, in Is RAID1 over USB Reliable?

I am using a terramaster d6-320 connected with usb-c.

It has been running zfs disks for proxmox via a geekom a5 mini pc since February. It has lost contact with the drives twice so far, more than a month between each time so I don’t know the cause. I am mostly happy with the setup, but of course it is annoying when it fails

altima_neo, in ASRock N100m vs BKHD 1264 motherboard for NAS
@altima_neo@lemmy.zip avatar

The tdp is bullshit on the n100. It really means nothing, as it can pull closer to 14W idle, it’s still good, but don’t rely on the numbers too much, if that’s important to you.

The thing I don’t like about the n100 is that it only supports single channel RAM, and the naming makes no sense, as the n97 outperforms it.

just_another_person, (edited )

While true, the 6W idle can be hit with proper tuning, I just wouldn’t recommend it. Still, from what I’ve seen with mine, it overall uses less power than a pi4/5 at the plug. I’m pretty happy with the one running my network services. I’ll be going AMD next round with the pstate improvements coming up once this one outlives it’s usefulness though.

vegetaaaaaaa, in Monitoring software for a wide array of hw and sw
@vegetaaaaaaa@lemmy.world avatar

I use netdata (the FOSS agent only, not the cloud offering) on all my servers (physical, VMs…) and stream all metrics to a parent netdata instance. It works extremely well for me.

Other solutions are too cumbersome and heavy on maintenance for me. You can query netdata from prometheus/grafana [1] if you really need custom dashboards.

I guess you wouldn’t be able to install it on the router/switch but there is a SNMP collector which should be able to query bandwidth info from the network appliances.

anamethatisnt,

Gonna check it out!
Is it easy to setup automatic responses to the alerts, f.e. restarting a service if it isn’t answering requests in a timely manner?
Have you used it together with Windows Servers too?

vegetaaaaaaa,
@vegetaaaaaaa@lemmy.world avatar

Windows Servers

No

setup automatic responses to the alerts

It should be possible using script to execute on alarm = /your/custom/remediation-script …netdata.cloud/…/agent-notifications-reference. I have not experimented with this yet, but soon will (implementing a custom notification channel for specific alarms)

restarting a service if it isn’t answering requests

I’d rather find the root cause of the downtime/malfunction instead of blindly restarting the service, just my 2 cents.

just_another_person, in LGA-1700 CPU for virtualization?

Ryzen will get you more bang for your buck where you’re solely looking at core counts.

0000, in Is RAID1 over USB Reliable?

I do not recommend it. I ran two USB hard drives for over a year in BTRFS RAID1, and I had millions of errors repaired every month when I scrubbed it.

skittlebrau, in LGA-1700 CPU for virtualization?

I have a Xeon E2416G which is the Xeon equivalent of the Coffee Lake Core i7-8700.

What sort of workloads are we talking about in Proxmox? How important are the chipset features of C246 vs Raptor Lake to you?

possiblylinux127, in Is RAID1 over USB Reliable?

I have minipc that only has one drive slot. I use an external enclosure with a eNVM drive in it

Ferawyn, in Is RAID1 over USB Reliable?
@Ferawyn@lemmy.world avatar

No. USB is not designed to be reliable. It’s designed to be plug and play. Don’t plug and play with your data.

Andromxda, in Syncing local server with seedbox
@Andromxda@lemmy.dbzer0.com avatar

I’m very happy with Syncthing, you can configure how you want the sync to work (e.g. one-way sync, two-way sync, etc.), the web GUI is pretty good and it’s not that hard to set up. I got the idea from this video back when I initially set up my seedbox, have been using this solution ever since and encountered any issues.

Meltrax,

I’ve used it in the past, but they are deprecating one-way ignore-delete syncing.

relaymoth,

Do you have a source for that? I’m using syncthing for this exact purpose.

Meltrax,

An explanation from one of the maintainers explaining why they removed the toggle from the UI and try to hide it from users because it’s going to be deprecated eventually:

forum.syncthing.net/t/ignore-delete/15414

atzanteol, (edited ) in Immich help, please -- Am I boned now?

Docker compose has a default “feature” of prefixing the names of things it creates with the name of the directory the yml is in. It could be that the name of your volume changed as a result of you moving the yml to a new folder. The old one should still be there.

docker volume ls

perishthethought,

Hmmm…


<span style="color:#323232;">docker volume ls 
</span><span style="color:#323232;">DRIVER    VOLUME NAME
</span><span style="color:#323232;">local     1da54fed5d479f5a551aaf853999fcc3db659193df2643a2bf20470f4da06bee
</span><span style="color:#323232;">local     (a bunch more like the above)
</span><span style="color:#323232;">...
</span><span style="color:#323232;">local     immich-app_model-cache
</span><span style="color:#323232;">local     immich-app_pgdata
</span><span style="color:#323232;">local     immich-app_tsdata
</span><span style="color:#323232;">local     immich_model-cache
</span><span style="color:#323232;">local     immich_pgdata
</span>

I’m not sure how to tell what the many volumes with names like guids could be from. (I have like 12 docker apps running here)

My docker compose yml file also has:


<span style="color:#323232;">database:
</span><span style="color:#323232;">    container_name: immich_postgres
</span><span style="color:#323232;">    image: tensorchord/pgvecto-rs:pg14-v0.2.0
</span><span style="color:#323232;">    env_file:
</span><span style="color:#323232;">      - .env
</span><span style="color:#323232;">    environment:
</span><span style="color:#323232;">      POSTGRES_PASSWORD: ${DB_PASSWORD}
</span><span style="color:#323232;">      POSTGRES_USER: ${DB_USERNAME}
</span><span style="color:#323232;">      POSTGRES_DB: ${DB_DATABASE_NAME}
</span><span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - pgdata:/var/lib/postgresql/data
</span>

I think my problem is that I didn’t have the proper .env file the first time I started it up after moving the yml file, and that’s why immich thought it neded to create a new database from scratch. Does that make sense? I think it’s realy overwritten those

Lem453, (edited )

Is it not in the immich_pgdata or immich-app_pgdata folder?

The volumes themselves should be stored at /var/lib/docker/volumes

For future reference, doing operations like this without backing up first is insane.

Get borgmatic installed to take automatic backups and send them to a backup like another server or borgbase.

perishthethought,

OMG! Yes!!!

I thought it would be good to make the folder name shorter when I moved it, so it went from immich-app before, to immich.

I just now brought it down, renamed the folder, brought it back up and my DB is back again!

Thank you so much. <3

I weill check out borgmatic too. Cheers,

atzanteol, (edited )

Glad you sorted it!

It’s very unexpected behavior for docker compose IMHO. When you say the volume is named “foo” it creates a volume named “directory_foo”. Same with all the container names.

You do have some control over that by setting a project name. So you could re-use your old volumes with the new directory name.

Or if you want to migrate from an old volume to a new one you can create a container with both volumes mounted and copy your data over by doing something like this:


<span style="color:#323232;">docker run -it --rm -v old_volume:/old:ro -v new_volume:/new ubuntu:latest 
</span><span style="color:#323232;">$ apt update </span><span style="font-weight:bold;color:#a71d5d;">&& </span><span style="color:#323232;">apt install -y rsync
</span><span style="color:#323232;">$ rsync -rav --progress --delete /old/ /new/ </span><span style="font-style:italic;color:#969896;"># be *very* sure to have the order of these two correct!
</span><span style="color:#323232;">$ exit
</span>

For the most part applications won’t “delete and re-create” a data source if it finds one. The logic is “did I find a DB, if so then use it, else create a fresh one.”

Lem453, (edited )

Awesome, take this close call as a kind reminder from the universe to backup!

Borg will allow incremental backups from any number of local folders to any number of remote locations. Borgmatic is a wrapper for it that also includes automated incremental borg backups.

I have a second server that runs this container: nold360/borgserver

Which works as a borg repository.

I also buy storage in borgbase and so every hour and incremental setup goes to both.

The other day I blew away a config folder by accident and restored it with no sweat in 2 mins.

Rentlar,

Woohoo! Always great to read a success story!

Kekin, in Self-hosting Photo Alternatives
@Kekin@lemy.lol avatar

I use Photoprism, mainly because it seems stable so far, and it’s good enough for my needs

czardestructo,
@czardestructo@lemmy.world avatar

Ditto, though I’m getting more and more resentful by the day at the lack of multi user support. I’m not going to donate to them again.

JurassicPork,

Same here, Been using photoprism past few years also, loving it so far!! Few quirks but constantly being worked on

TheHolm, in Transparent compression layer on Linux?
@TheHolm@aussie.zone avatar

Do you plan to compress video ( which generally already compressed format) when saving to remote location? I do not see use case for it, as you ether use lossless compression and not compressing it in any meaningful way, or just re-encode to different format and loose quality. Second option is simpler to achieve by re-encoding before sending out.

MigratingtoLemmy,

I plan to reencode on the fly before I push the files to the Cloud. This would have to happen in real-time though, since I don’t have the space to cache files (and slow upload speeds)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • ngwrru68w68
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • InstantRegret
  • ethstaker
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • osvaldo12
  • everett
  • kavyap
  • Durango
  • megavids
  • cubers
  • tester
  • GTA5RPClips
  • modclub
  • mdbf
  • cisconetworking
  • tacticalgear
  • Leos
  • normalnudes
  • anitta
  • provamag3
  • JUstTest
  • lostlight
  • All magazines