xana

joined 1 year ago
 

Hello,

I have a small collection that is currently a complete mess because I mostly use id3 tag to browse them instead of relying filesystem path. Right now I want to sort it into a more organized structure and I would like to ask how are you organizing your music collection, especially with compilation album with "Various Artists".

Hope this is the right place to ask, thank you very much!

[–] xana@lemmy.zip 1 points 3 weeks ago (1 children)

yeah but K8S already has coredns so I am hoping that I can customize it somehow

[–] xana@lemmy.zip 1 points 3 weeks ago

Could you tell me more about this :D

 

Hello fellow TCP users,

I am moving my homelab from Docker to Kubernetes (because I have nothing to do with my homelab anymore) and I am having an issue with services that need to be accessible both within the cluster and from the outside world on the same hostname.

For an example, supposedly you have two pods: A and B which are accessible via the Gateway with hostname a.example.com and b.example.com respectively. Pod A also need to contact Pod B so there are two ways to do this:

  • Via b.example.com. This works but in this case, the traffic will go from pod A -> the boarder internet -> the loadbalancer -> the gateway -> pod B which is not very optimal.
  • Via b.default.svc.cluster.local. This also works but in this case you lose:

In Docker case, I can just set the alias of my reverse-proxy container to b.example.com and it is done. I am wondering is there anything I can do to get the traffic goes from pod A -> the gateway -> pod B in Kubernetes. Also is this a common issue or not because I don't see a lot of articles about this issue on the internet :/

Thank you very much!

[–] xana@lemmy.zip 1 points 1 month ago

no your setup is perfect tbh. I wish I could set it up like that some day :D

[–] xana@lemmy.zip 2 points 1 month ago

I don't think it is my end tbh because I ran the exact same thing on a Hetzner VPS and had similar issue so ...

[–] xana@lemmy.zip 2 points 1 month ago (2 children)

Thanks for your calculation. The reason why I don't want to run S3 myself is because I don't trust myself to deal with this and I really need a off-site backup :D

[–] xana@lemmy.zip 1 points 1 month ago* (last edited 1 month ago) (1 children)

For the Hetzner VPS, I mean I run the exact same command to the same restic repository and I meet the same issue multiple times.

For the seven correctable errors, bear in mind that it is seven retries for one piece of data and there are 40k restic packs on that repository

[–] xana@lemmy.zip 1 points 1 month ago

Scaleway is just too expensive for the amount of data I am having but I am thinking about OVH seems like a good candidate

[–] xana@lemmy.zip 1 points 1 month ago (2 children)

I am thinking about storagebox as well. How good is their bandwidth ? Because I have 2TB of backup and I want to fully read it from time to time to make sure my backup is good. Usually I can consume 1Gb/s with Blackblaze.

[–] xana@lemmy.zip 2 points 1 month ago (2 children)

I did but they said that no issue on their end :/ In my case backing up to B2 is good as well but checking the backup (re-read data from there) is so unreliable

[–] xana@lemmy.zip 3 points 1 month ago (4 children)

Thank you for your reply :D To be honest I am thinking about setting up a new bucket as well but I can not move the data out because it will takes forever

31
submitted 1 month ago* (last edited 1 month ago) by xana@lemmy.zip to c/selfhosted@lemmy.world
 

Hello,

I know it is strictly related to selfhosting but I don't have a reddit account so please bear with me. I've been using a Blackblaze B2 bucket as the storage for my restic backup for my whole homelab for a while and recently when reading from that bucket it is so so so so so so slow and unreliable (a lot of unexpected EOF and interruption). I've tested this on several machines (including a VPS on Hetzer) and I can access other sites just fine. Their status page says nothing and I wonder is it just me or do some of you also experience the same thing ?

Also any alternative recommendation is welcome but I can not selfhost my S3 at the moment :(

Thank you very much!

Edit: this is the log for my restic check --read-data (something similar on Hetzner VPS).

create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
Load(<data/ef0e80ecc6>, 541, 6322304) returned error, retrying after 508.096097ms: unexpected EOF
Load(<data/ef0e80ecc6>, 541, 6322304) operation successful after 1 retries
Load(<data/c10459132f>, 535, 14002087) returned error, retrying after 1.352882596s: unexpected EOF
Load(<data/c10459132f>, 535, 14002087) operation successful after 1 retries
Load(<data/44089c2105>, 536, 10041504) returned error, retrying after 1.094099947s: unexpected EOF
Load(<data/44089c2105>, 536, 10041504) operation successful after 1 retries
Load(<data/c10459132f>, 481, 3262415) returned error, retrying after 1.418694544s: unexpected EOF
Load(<data/927e700367>, 467, 7776453) returned error, retrying after 634.119689ms: unexpected EOF
Load(<data/927e700367>, 473, 7798234) returned error, retrying after 849.03055ms: unexpected EOF
Load(<data/927e700367>, 467, 7776453) returned error, retrying after 1.243622488s: unexpected EOF
Load(<data/653ef7abb0>, 523, 8280899) returned error, retrying after 578.669152ms: unexpected EOF
Load(<data/fd9edf4117>, 533, 485866) returned error, retrying after 823.382046ms: unexpected EOF
Load(<data/c10459132f>, 528, 3248055) returned error, retrying after 1.402372952s: unexpected EOF
Load(<data/c10459132f>, 524, 3175555) returned error, retrying after 1.425799941s: unexpected EOF
Load(<data/9b179c749d>, 534, 13802701) returned error, retrying after 1.234603672s: unexpected EOF
Load(<data/7b827c96f6>, 531, 8412866) returned error, retrying after 1.49579899s: unexpected EOF
Load(<data/ef0e80ecc6>, 530, 5093059) returned error, retrying after 1.405885227s: unexpected EOF
Load(<data/927e700367>, 409, 7763564) returned error, retrying after 798.04783ms: unexpected EOF
Load(<data/c10459132f>, 481, 3262415) returned error, retrying after 1.362966862s: unexpected EOF
Load(<data/653ef7abb0>, 523, 8280899) returned error, retrying after 2.966804822s: unexpected EOF
Load(<data/927e700367>, 467, 7776453) operation successful after 2 retries
Load(<data/fd9edf4117>, 533, 485866) operation successful after 1 retries
Load(<data/927e700367>, 409, 7763564) operation successful after 1 retries
Load(<data/9b179c749d>, 534, 13802701) operation successful after 1 retries
Load(<data/c10459132f>, 528, 3248055) operation successful after 1 retries
...

Edit: After a day my restic check --read-data finished with no data corruption but it took a lot of retrying, even 7 retries to read the correct data :/ So I guess it is a sign for me to move to somewhere else.

[–] xana@lemmy.zip 2 points 3 months ago (1 children)

To me the screen just decided to die in a random day, I did not see any obvious reason. Compare to other brands, I have a feeling that the chasis does not provide enough protection to the screen and it seems very fragile :/

For the CNC lid, is it more robust at all or it just offers a more premium looks ?

10
submitted 3 months ago* (last edited 3 months ago) by xana@lemmy.zip to c/framework@lemmy.ca
 

Hello, I have been using Framework 13 for 2 years now and this is the 3rd time I have to replace my screen. My screen is black partly with pixel lines etc. First time was 1.5 months after buying, second time was 6 months after the first one and this time is right after the waranty date.

I just want to ask how are your experience with your screen ? Is it a general issue or just me being unlucky, it has been a pretty rough month for me so far :-(

Thank you very much!

65
submitted 4 months ago* (last edited 4 months ago) by xana@lemmy.zip to c/selfhosted@lemmy.world
 

Hello fellow TCP users.

I am currently having a lot of unused bandwidth. I wonder do you have any suggestion what to do with that bandwidth ?. Ideally it should more or less only relay the traffic because unfortunately I don't have much idle RAM left (something like a Tor-relay node but least risky).

Thank you very much!

Edit: If you have any not so heavy torrent (<250GiB) that could be helpful please suggest as well.

Edit: Thank you for all the options you've suggested:

  • archiveteam warrior
  • tor relay/snowflae
  • syncthing relay
  • i2p
  • radicle
  • peertube
  • seeding torrents

I will try to explore them. Thank you very much!

52
submitted 5 months ago* (last edited 5 months ago) by xana@lemmy.zip to c/selfhosted@lemmy.world
 

Hi TCP users,

Currently, I have a homelab server that runs Jellyfin with direct access to local media content and a reverse proxy point to it. While it works well for people in Europe (where the server is), it is quite slow for some of my friends who are living in Asia. I am having some options in mind:

  • Hire a VPS in Asia and set up another Jellyfin instance there. This works but I don't really want to have two Jellyfin instances with two databases and also accessing to local media content will be curbersome to manage.
  • Hire a VPS in Asia and set up a CDN but I am not sure if it will ever work with Jellyfin ?

So I would like to ask do you know any things about this and any idea to improve this situation ?

Thank you very much!


Edit: Thanks for all of your response. Based on my experience, I think the slowness is caused by the fact that there are too many hops to jump through before reaching the final client. So I think I will try to do several things:

  • Try to optimize my upload speed, it is fast enough but not very stable recently so it could have some impact
  • Set up a second Jellyfin instance and sync a part of my library there for my friends.

Edit: Slow here means both slow page loading and slow buffering.

 

Hello selfhosters,

I have two ip routes on my selfhosted server:

  • The first and default one is routing throught my ISP router.
  • The second one is a Wireguard connection that is imported and managed via Network Manager with the below options so it does not interfere with the default route.
sudo nmcli con modify wg ipv4.never-default true
sudo nmcli con modify wg ipv6.never-default true
sudo nmcli con modify wg ipv6.routes '::/0'
sudo nmcli con modify wg ipv6.route-metric 1000

I could test this setup with

curl ifconfig.me // IP from ISP
curl --interface wg ifconfig.me // IP of the VPN

Right now I would like to tell docker to create a bridge network that routes outgoing traffic from that bridge network throught the second (the VPN) route but I am struggling to do it.

I've tried to do this

docker network create vpn-net -o com.docker.network.host_ipv4=10.x.y.z // VPN inet obtained via ip addr show

but it does not work.

Do you have any suggestion about it ? Thank you very much!

Edit to provide more context:

Currently, what I am doing is adding network_mode: gluetun to all the containers that need to access to the internet: linkwarden, my arr stacks, qbit, IRC client, etc. This works great but it makes me paranoid because there is no isolation anymore, i.e qbit could access (or at least ping) to linkwarden's database since they are all in the same VPN network.

Therefore, I want to have more isolation between services: each service has their own bridge network so no other container could access the resources inside that network. I am thinking about running a VPN for each service but that sounds absurd and also there are limit of 5 devices so it is quite annoying to do this.

That's why I am asking is there anyway to tell docker bridge network to use specific host interface instead. The reason why I don't run a machine-wide VPN is because for some services, I prefer that they have the highest network speed and doesn't have to deal with the VPN overhead (like qbit should have their own gluetun container with its own port forwarding).

Same reason why I don't use a macvlan or ipvlan network, because there is no isolation. Please correct me if I am wrong on this. Thank you :D

view more: next ›