ich_iel ich_iel Feddit Daten Export
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    3 months ago 100%

    Ich dachte, ich hätte es hier gelesen. Ich ziehe jetzt eh um, aber danke für den Tipp.

    2
  • ich_iel ich_iel Feddit Daten Export
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    3 months ago 100%

    EDIT: Ich hab folgendes gefunden und das funktioniert, danke an alle und danke an den Verfasser!


    Für die Leute, die keine offene Browser Session haben, hier ein kleines, aber funktionales Bash Script, welches im Ausführungsverzeichnis eine myFedditUserData.json erstellt, welche bei anderen Instanzen importiert werden kann.

    Anforderungen:

    • Linux/Mac OS X Installation
    • jq installiert (Unter Ubuntu/Debian/Mint z.B. per sudo apt install -y jq

    Anleitung:

    • Folgendes Script unter einem beliebigen Namen mit .sh Endung abspeichern, z.B. getMyFedditUsserData.sh
    • Script in beliebigen Textprogramm öffnen, Username/Mail und Passwort ausfüllen (optional Instanz ändern)
    • Terminal im Ordner des Scripts öffnen und chmod +x getMyFedditUsserData.sh ausführen (Namen eventuell anpassen)
    • ./getMyFedditUsserData.sh
    • Nun liegt im Ordner neben dem Script eine frische myFedditUserData.json

    Anmerkung: Das Script ist recht simpel, es wird ein JWT Bearer Token angefragt und als Header bei dem GET Aufruf von https://feddit.de/api/v3/user/export_settings mitgegeben. Wer kein Linux/Mac OS X zur Verfügung hat, kann den Ablauf mit anderen Mitteln nachstellen.

    Das Script:

    #!/bin/bash
    
    # Basic login script for Lemmy API
    
    # CHANGE THESE VALUES
    my_instance="https://feddit.de"			# e.g. https://feddit.nl
    my_username=""			# e.g. freamon
    my_password=""			# e.g. hunter2
    
    ########################################################
    
    # Lemmy API version
    API="api/v3"
    
    ########################################################
    
    # Turn off history substitution (avoid errors with ! usage)
    set +H
    
    ########################################################
    
    # Login
    login() {
    	end_point="user/login"
    	json_data="{\"username_or_email\":\"$my_username\",\"password\":\"$my_password\"}"
    
    	url="$my_instance/$API/$end_point"
    
    	curl -H "Content-Type: application/json" -d "$json_data" "$url"
    }
    
    # Get userdata as JSON
    getUserData() {
    	end_point="user/export_settings"
    
    	url="$my_instance/$API/$end_point"
    
    	curl -H "Authorization: Bearer ${JWT}" "$url"
    }
    
    JWT=$(login | jq -r '.jwt')
    
    printf 'JWT Token: %s\n' "$JWT"
    
    getUserData | jq > myFedditUserData.json
    
    14
  • ich_iel
    ich_iel Pete90 3 months ago 90%
    Feddit Daten Export

    Moin. Ich hatte vor einiger Zeit mal etwas gelesen, von einer Möglichkeit des Dazenexports von feddit.de zwecks Umzug. Ich kann den Beitrag aber nicht mehr finden, weil das Auto-Verstecken ihn nicht mehr rausrückt. Kann mich jemand davor retten, nochmal 100 zu abonnieren? Danke!

    24
    9
    deutschland Deutschland Sind Sonnencremeangebote zu Beginn des Sommers üblich?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    3 months ago 100%

    Und der besondere Spaß ist, dass sie dann, wenn sie abgelaufen sind, Hautkrebs verursachen können.

    6
  • ich_iel ich_iel ich🥔🍝iel
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    3 months ago 100%

    Ich hab es gedacht, aber war mir sicher, dass es was anderes sein MUSS. So irrt man sich.

    5
  • linux Linux This week in KDE: Final Plasma 6.1 polishing and new features for 6.2
    Jump
    technology Technology Google, Cloudflare & Cisco Will Poison DNS to Stop Piracy Block Circumvention * TorrentFreak
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    3 months ago 100%

    I agree, but most games also have a higher ratio of value to cost. If I buy a game for 50 bucks, I'll play it for many hours, let's say 50. So that will be 1 per hour, pretty good. If I buy a new movie, that isn't available for subscription streaming, that ratio is easily double. If I have a subscription and need another now, that also lowers it's value. It also comes with lower comfort and ease of consumption, as you mentioned.

    Another great example is YouTube premium. I'll gladly pay 5 or 7 bucks for adfree content, not 14 though. I don't need YouTube music. So I block ads where I can and donate to creators, if I can afford it. They could have had my money, but they are, simply, greedy.

    I also hate it, when deals are altered without my consent. It makes me feel like a sucker, and therefore makes it less likely for me to keep investing.

    37
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    3 months ago 96%

    Because often enough, results in science contradict religious belief. Heliocentric model, for example.

    30
  • selfhosted Selfhosted What's your server wattage?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    4 months ago 100%

    You most likely won't utilize these speeds in a home lab, but I understand why you want them. I do too. I settled for 2.5GBit because that was a sweet spot in terms of speed, cost and power draw. In total, I idle at about 60W for following systems:

    • Lenovo M90q (i7 10700, 32GB, 3 x 1 TB SSD) running Proxmox, 15W idle
    • Custom NAS (Ryzen 2400G, 16GB, 4x12TB HDD)v running Truenas (30W idle)
    • Firewall (N5105, 8GB) running OPNsense (8W idle)
    • FritzBox 6660 Cable, which functions as a glorified access point, 10W idle
    9
  • linuxmemes linuxmemes let's see what is documented for the proxy...
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    4 months ago 100%

    Weird, isn't it. A lot of those successful services have cute little mascots. It influences me more than it should.

    5
  • linuxmemes linuxmemes Toxic linux communities moment:
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    4 months ago 100%

    I know exactly what you mean. I'd also prefer Debian, Mint or Fedora. Each has its weaknesses, but you got to start somewhere. Go for it, then decide for yourself. It's not that hard to switch again.

    1
  • ich_iel ich_iel ich♹♷♺iel
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    4 months ago 100%

    Ich nehme an, dass hier physische Hardware vermietet wird. Häufig ist es aber günstiger, virtuelle Hardware (z.B. CPU Kerne) zu nutzen - man teilt sich dann die CPU mit anderen, während bei ersterem nur du darauf Zugriff hast. Ist vereinfacht, aber so mehr oder weniger...

    9
  • selfhosted Selfhosted Help with nginx & jellyfin
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    4 months ago 100%

    I'd be very careful to publicly host Jellyfin. Although not necessarily true, it basically advertises that you're pirating content while also giving out your IP. Even if you rip your own media, this can still be illegal. Please be careful.

    Maybe you can put it behind some authentication or, even better, a VPN.

    2
  • deutschland Deutschland Ernährung am Existenzminimum: Wie viel Gesundheit verlangt das Grundgesetz?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    5 months ago 100%

    Besten Dank dir auch für den Tipp, hab ich bereits und ein Veränderungsantrag ist am laufen. Ich musste den auch durch Widerspruch erlangen und dann gab es statt 30 dann 40. Die Dame vom Sozialverband meinte dann, ich könne zwar klagen, aber das dauert 2 Jahre. Also hab ich gewartet und es nun nochmal versucht.

    Dir nur das Beste, ist immer schön und entlasten, von anderen zu hören!

    2
  • deutschland Deutschland Ernährung am Existenzminimum: Wie viel Gesundheit verlangt das Grundgesetz?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    5 months ago 95%

    Es wäre auch mal schön, wenn man eine gewisse Menschlichkeit in diesen System finden könnte... Es geht um das absolute Minimum und trotzdem wird man als schlechterer Mensch, Bittsteller oder sogar Schmarotzer dargestellt.

    Ich bin seit 2.5 Jahren chronisch krank, hab Krankengeld und ALG schon durch bzw. fast. Nun habe ich mich rechtzeitig um Bürgergeld bemüht. Da hieß es dann, nö, sie können ja nicht arbeiten, also kein Anspruch. Sie müssen zur Grundsicherung. Die wiederum sind der Meinung, ich wäre nicht krank genug. Die Dame vom SOVD meinte zu mir, dass ich möglicherweise gar nichts bekommen werde. Der Rente bin ich auch zu gesund (was einfach nicht stimmt, ich bin so ziemlich maximal arbeitsunfähig). Keiner hört einem zu oder hilft.

    Ich hab dann endlich einen netten Herren beim Jobcenter an der Strippe gehabt, der meinte, dass kriegen wir hin und ich solle mir keine Sorgen machen. Antrag geht mir allen Nachweisen raus, wunderbar. Dann wieder Post, es fehlen Nachweise, die ich schon geschickt hab. Ist der Dame am Telefon dann auch aufgefallen. Achja. Einen Nachweis für die 300 Euro Bargeld wurde auch gefordert. Was????? Soll ich denen ein Foto davon schicken? Ich weiß, die sind alle überarbeitet. Dann wäre es vielleicht sinnvoll, das System zu ändern.

    Es wird mehr Geld dafür verwendet, die Leute von der Hilfe fern zu halten, als Hilfe für die Leute da ist. Zumindest kommt einem das so vor. Was für Probleme das für die Betroffenen macht, das kriegt man als normaler, gesunde Arbeitnehmer meistens nicht mit.

    Wenn ich dann noch die verbalen Ergüsse von Merz oder Lindner in den Nachrichten ertragen muss, kommt einfach nur Hass hoch. Das will ich eigentlich nicht und trotzdem scheint es gerechtfertigt. Ich hab früher immer die Frage nach "Was hat dich radikalisiert?" in linken Foren nie wirklich verstanden geschweige denn, eine Antwort darauf gehabt. Jetzt hingegen schon.

    19
  • privacy Privacy My experiences with Pi-hole
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    5 months ago 100%

    With most firewalls, there is an option to download ip lists for blocking. There are several list I don't recall right now, that aggregate DoH services. It's not perfect, but better than nothing.

    1
  • simpsonsshitposting simpsonsshitposting My actual brain. Please don't tell anyone how I live.
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    5 months ago 100%

    I'll always tell my partner, that the spider she just found is, in fact, referred to as Bitey.

    8
  • technology Technology Windows users don't want copilot on their taskbar
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    From what I found, Lemmy is much better in this regard. I've gotten lots of helpful answers here, so give it a go! There is also a ton of tutorials on YouTube, I recommend something like this for beginners.

    7
  • technology Technology Windows users don't want copilot on their taskbar
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    From what I found, Lemmy is much better in this regard. I've gotten lots of helpful answers here, so give it a go! There is also a ton of tutorials on YouTube, I recommend something like this for beginners.

    3
  • technology Technology Windows users don't want copilot on their taskbar
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    From what I found, Lemmy is much better in this regard. I've gotten lots of helpful answers here, so give it a go! There is also a ton of tutorials on YouTube, I recommend something like this for beginners.

    1
  • selfhosted Selfhosted What's up with the prices of smaller used drives?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    Thank you for your offer, but these are too old for what I want to do with them. Cheers!

    1
  • selfhosted Selfhosted What's up with the prices of smaller used drives?
    Jump
    selfhosted Selfhosted What's up with the prices of smaller used drives?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    Hej. I need all of that data. And those movies too. But yeah, seems to be the case. Weird, that people buy those drives, when 12tb aren't that much more expensive. We'll, but here I am but only because I had an old but okay 4TB drive lying around.

    1
  • selfhosted Selfhosted What's up with the prices of smaller used drives?
    Jump
    selfhosted Selfhosted What's up with the prices of smaller used drives?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    I've had great success with used drives so far, mind you I only buy slightly used with lots of remaining warranty... Saved me tons.

    1
  • selfhosted Selfhosted What's up with the prices of smaller used drives?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    There is quite a price difference, at least here in Germany. It easily be double, if not more... I'd love to use SSDs, but can't afford them right now

    3
  • selfhosted Selfhosted What's up with the prices of smaller used drives?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    I didn't even think to look at Amazon, but for 12TB, that is an okay to good price. Too bad the 4TB is inappropriately expensive...

    1
  • selfhosted Selfhosted What's up with the prices of smaller used drives?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    Yeah, that seems to be the case. I'll be on the lookout for official refurbished drives, thanks for your input!

    2
  • selfhosted
    Selfhosted Pete90 6 months ago 91%
    What's up with the prices of smaller used drives?

    I'm in the marked for a used 4TB for my offsite backup. As I've recently acquired four 12TB drives (about 10000 hours and one to two years old) for 130€ each, I was optimistic. 30 to 40€ I thought. Easy. WRONG! Used drive, failing SMART stats, 40€. Here is a new drive, no hours on it. Oh wait, it was cold storage and it's almost 8 years old. Price? 90€ (mind you, a new drive costs about 110€). Another drive has already failed, but someone wants 25€ for e-waste. No Sir, it worked fine when I used Check-Disk, please buy. Most of the decent ones are 70 to 80€, way too close to the new price. I PAID 130 FOR 12TB. These drive were almost new and under warranty. WHY DO THIS NUMBNUT WANT 80 EURO FOR A USED 4TB Drive? And what sane person doesn't put SMART data in their offerings??? I have to ask at least 50 percent of the time. Don't even get me started on those external hard drives, they were trash to begin with. I'm SO CLOSE to buying a high capacity drive, because in that segment, people actually know what they are doing and understand what they have. Rant over. What gives? Did these people buy them, when they were much more expensive? Does anyone now a good site that ships refurbished drives to Germany? Most of those I found are also rippoffs...

    40
    42
    ich_iel ich_iel ich🤮iel
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    Reha und Rentenantrag bei mir. Musste drei mal Widerspruch einlegen, weil immer was falsch war. Morgen geht's zur Reha, immer noch die falsche Klinik. Ich hab dann gefragt, ob man meine Briefe nicht beachten würde. Antwort: nein, grundsätzlich werden nur die ärztlichen Stellungnahmen beachtet. Jetzt koste ich mehrere tausend Euro, weil ich eine Reha bekomme, die nichts ändern wird. Saftladen!

    12
  • selfhosted Selfhosted After some trial and error, I've managed to successfully deploy public instances of privacy-respecting services!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    Let me know if you need any help with that. I'm still a beginner, but have used the last few months to learn about cyber security. It can be a daunting subject, but if you get the basics right, you're probably good. I also hosted without a care for years and was never hacked, but it can/will happen. Here are some pointers!

    Get or use a firewall. Iptables, UFW and such are probably good enough. I myself use OPNsense. It can be integrated with Crowdsec, a popular intrusion prevention system. This can be quite a rabbit whole. In the end, you should be able to control who goes where in your network.

    Restrict ssh access or don't allow it at all via internet. Close port 22 and use a VPN, if needed. Don't allow root access via Ssh, use sudo. Use keys and passphrase login for best security.

    Update your stuff regularly. Weekly or bi-weekly, if you can.

    Use two factor authentication, where possible. It can be a bit annoying, but improves things dramatically. Long passwords help to, I use random-word-other-word combinations.

    If you haven't, think of a backup strategy. 3 redundant copys on 2 media, one off site.

    14
  • selfhosted Selfhosted After some trial and error, I've managed to successfully deploy public instances of privacy-respecting services!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    Cool idea. Just be aware, that there are a lot of shady people out there. I'm not sure I would publicly host services, which rely on tight security (like Vaultwarden). They will come and they will probe your system and it's security!

    You might also want to remove Dockge from Uptime Kuma, no need to broadcast that publicly.

    45
  • youshouldknow You Should Know YSK: Lemmy has 53k monthly active users but only 1172 have ever donated
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    Reminds me of that Southpark episode, where all the adults are gone.

    "Provider, provider..."

    7
  • asklemmy Asklemmy Lemmy, what's your internet speed in mbps?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    500 is the sweet spot, at least for downloads. I have it and it's fast enough for all my needs. Upload can be less, although I'd love to have more than the current 50. Good luck with your move!

    4
  • selfhosted Selfhosted Traefik Docker Lables: Common Practice
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    I did what you suggested and reduced (1) the number of running services to a minimum and (2) the networks traefik is a member of to a minmum. It didn't change a thing. Then I opened a private browser window and saw much faster loading times. Great. I then set everything back and refreshed the private browser window: still fast. Okay. Guess it's not Traefik after all. The final nail in the coffin for my theory: I uses two traefik instances. Homepage still loads its widgets left to right, top to bottom (the order from the yaml file). The order doesn't correspond to the instances, it's more or less random. So I'm assuming the slowdown has something to do with (a) either caching from traefik or (b) the way Homepage handels the API request: http://IP:PORT (fast) or https://subdomain.domain.de. Anyway, thanks for your help!

    1
  • selfhosted Selfhosted Traefik Docker Lables: Common Practice
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    Thank you so much for your thorough answer, this is very much a topic that needs some reading/watching for me. I've checked and I already use all of those headers. So in the end, from a security standpoint, not even having port 80 open would be best. Then, no one could connect unencrypted. I'll just have to drill into my family to just use HTTPS if they have any problems.

    It was interesting to see, how the hole process between browser and server works, thanks for clearing that up for me!

    3
  • selfhosted Selfhosted Traefik Docker Lables: Common Practice
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    I didn't even know that you could have a whole dynamic config directory, I just use one file. I'm guessing I can just as well put it there? And the dummy service simply acts as a place holder?

    1
  • selfhosted Selfhosted Traefik Docker Lables: Common Practice
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPE
    Pete90
    6 months ago 100%

    Thank you for your answer. If I do that, can I still connect via HTTP and the browser will then redirect? I don't think I have a problem with remembering HTTPs, but my family will...

    1
  • selfhosted
    Selfhosted Pete90 6 months ago 81%
    Traefik Docker Lables: Common Practice

    Hej everyone. My traefik setup has been up and running for a few months now. I love it, a bit scary to switch at first, but I encourage you to look at, if you haven't. Middelwares are amazing: I mostly use it for CrowdSec and authentication. Theres two things I could use some feedback, though. --- 1. I mostly use docker labels to setup routers in traefik. Some people only define on router (HTTP) and some both (+ HTTPS) and I did the latter. ``` - labels - traefik.enable=true - traefik.http.routers.jellyfin.entrypoints=web - traefik.http.routers.jellyfin.rule=Host(`jellyfin.local.domain.de`) - traefik.http.middlewares.jellyfin-https-redirect.redirectscheme.scheme=https - traefik.http.routers.jellyfin.middlewares=jellyfin-https-redirect - traefik.http.routers.jellyfin-secure.entrypoints=websecure - traefik.http.routers.jellyfin-secure.rule=Host(`jellyfin.local.domain.de`) - traefik.http.routers.jellyfin-secure.middlewares=local-whitelist@file,default-headers@file - traefik.http.routers.jellyfin-secure.tls=true - traefik.http.routers.jellyfin-secure.service=jellyfin - traefik.http.services.jellyfin.loadbalancer.server.port=8096 - traefik.docker.network=media ``` So, I don't want to serve HTTP at all, all will be redirected to HTTPS anyway. What I don't know is, if I can skip the HTTP part. Must I define the *web entrypoint* in order for redirect to work? Or can I define it in the traefik.yml as I did below? ``` entryPoints: ping: address: ':88' web: address: ":80" http: redirections: entryPoint: to: websecure scheme: https websecure: address: ":443" ``` --- 2. I use homepage (from benphelps) as my dashboard and noticed, that when I refresh the page, all those widgets take a long time to load. They did not do that, when I connecte homepage to those services directly using IP:PORT. Now I use URLs provided by traefik, and it's slow. It's not really a problem, but I wonder, if I made a mistake somewhere. I'm still a beginner when it comes to this, so any pointers in the right direction are apprecciated. Thank you =)

    10
    19
    selfhosted
    Selfhosted Pete90 6 months ago 93%
    Timing of Periodic Mainteance Tasks on TrueNAS Scale

    EDIT: I found something looking through the source code on Github. I couldn't find anything at first, but then I searchedfor "periodic" and found something in `middelwared/main.py`. Theses tasks (see below) are executed at system start and will be re-run after `method._periodic.interval` seconds. Looking at the log in var/log/middelwared.log I saw, that the intervall was 86400 seconds, exactly one day. So I'm assuming that the daily execution time is set at the last system start. I've rebooted and will report back in a day. Maybe somebody can find the file to set it manually, not in source code. That is waaaay to advanced for me. EDIT 2: EDIT: I was correct, the tasks are executed 24hours later. This gives at least a crude way to change their execution time: restart the machine. --- Hej everyone, in the past few weeks, I've been digging my hands into TrueNAS and have since setup a nice little NAS for all my backup needs. The drives spin down when not in use, as the instance only recieves/sends backup data once a day. Howevery, there are a few periodic tasks which wake my drives. Namely: ``` catalog.sync Success 26796 12/03/2024 18:06:54 12/03/2024 18:06:54 catalog.sync_all Success 26795 12/03/2024 18:06:54 12/03/2024 18:06:54 zfs.dataset.bulk_process Success 26792 12/03/2024 18:06:43 12/03/2024 18:06:43 pool.dataset.sync_db_keys Success 26791 12/03/2024 18:06:42 12/03/2024 18:06:43 certificate.renew_certs Success 26790 12/03/2024 18:06:42 12/03/2024 18:06:43 dscache.refresh Success 24991 12/03/2024 03:30:01 12/03/2024 03:30:01 update.download Success 25027 12/03/2024 03:46:01 12/03/2024 03:46:02 ``` I spend the last hour searching online and digging through files and checking cron. I found the dscache.refresh and the update.download. I can't find the first five. At least one of them wakes my drives. Does anyone have an idea? There used to a periodic.conf, but I can't find it on my system. Thanks!

    14
    0
    selfhosted
    Selfhosted Pete90 8 months ago 96%
    Feedback on Network Design and Proxmox VM Isolation

    Network design. I started my homelab / selfhost journey about a year ago. Network design was the topic that scared me most. To challenge myself, and to learn about it, I bought myself a decent firewall box with 4 x 2.5G NICs. I installed OPNsense on it, following various guides. I setup my 3 LAN ports as a network bridge to connect my PC, NAS and server. I set the filtering to be applied between these different NICs, as to learn more about the behavior of the different services. If I want to access anything on my server from my PC, there needs to be a rule allowing it. All other trafic is blocked. This setup works great so far an I'm really happy with it. Here is where I ran into problems. I installed Proxmox on my server and am in the process of migrating all my services from my NAS over there. I thought that all trafic from a VM in Proxmox would go this route: first VM --> OPNsense --> other VM. Then, I could apply the appropriate firewall rules. This however, doesnt seem to be the case. From what I've learned, VMs in Proxmox can communicate freely with each other by default. I don't want this. From my research, I found different ideas and opposing solutions. This is where I could use some guidance. 1. Use VLANs to segregate the VMs from each other. Each VLAN gets a different subnet. 2. Use the Proxmox firewall to prevent communication between VMs. I'd rather avoid this, so I don't have to apply firewall rules twice. I could also install another OPNsense VM and use that, but same thing. 3. Give up on filtering traffic between my PC, NAS and server. I trust all those devices, so it wouldn't be the end of the world. I just wanted the most secure setup I could do with my current knowledge. Is there any way to just force the VM traffic through my OPNsense firewall? I thought this would be easy, but couldn't find anything or just very confusing ideas. I also have a second question. I followed [TechnoTim](https://technotim.live/posts/traefik-portainer-ssl/) to setup Treafik and use my local DNS and wildcard certificates. Now, I can reach my services using `service.local.example.com`, which I think is neat. However, in order to do this, it was suggested to use one docker network called `proxy`. Each service would be assigned this network and Traefik uses lables to setup the routes. ' Would't this allow all those services to communciate freely? Normally, each container has it's own network and docker uses iptables to isolate them from each other. Is this still the way to go? I'm a bit overwhelmed by all those options. Is my setup overkill? I'd love to hear what you guys think! Thank you so much!

    53
    26
    selfhosted
    Selfhosted Pete90 9 months ago 93%
    Proxmox SMB Share not reaching full 2.5Gbit speed

    EDIT: SOLUTION: Nevermind, I am an idiot. As @ClickyMcTicker pointed out, it's the client side that is causing the trouble. His comment gave me thought so I checked my testing procedure again. Turns out that, completely by accident, everytime I copied files to the LVM-based NAS, I used the SSD on my PC as the source. In contrast, everytime I copied to the ZFS-based NAS, I used my hard drive as the source. I did that about 10 times. Everything is fine now. Maybe this can help some other dumbass like me in the futere. Thanks everyone! Hello there. I'm trying to setup a NAS on Proxmox. For storage, I'm using a single Samsung Evo 870 with 2TB (backups will be done anyway, no need for RAID). In order to do this, I setup a Debian 12 container, installed Cockpit and the tools needed to share via SMB. I set everything up and transfered some files: about 150mb/s with huge fluctuations. Not great, not terrible. Iperf reaches around 2.25Gbit/s, so something is off. Let's do some testing. I started with the filesystem. This whole setup is for testing anyway. 1. Storage via creating a **directory with EXT4**, then adding a mount point to the container. This is what gave me those speeds mentioned above. Okay, not good. --> **150mb/s**, speed fluctuates 2. a Let's do ZFS, which I want to use anyway. I created a **ZFS pool** with ashift=12, atime=off, compression=lz4, xattr=sa and 1MB record size. I did "some" research and this is what I came up with, please correct me. Mount to container, and go. --> **170mb/s**, stable speed 2. b Tried **OpenMediaVault** and used **EXT4 with ZFS as base** for the VM-Drive. --> around **200mb/s** 3. **LVM-Thin** using Proxmox GUI, then mount to container. --> **270mb/s**, which is pretty much what I'm reaching with Iperf. So where is my mistake when using ZFS? Disable compression? A different record size? Any help would be appreciated.

    25
    14
    selfhosted
    Selfhosted Pete90 10 months ago 96%
    Proxmox: data storage via NAS/NFS or dedicated partition

    Black friday is almost upon us and I'm itching to get some good deals on missing hardware for my setup. My boot drive will also be VM storage and reside on two 1TB NVMe drives in a ZFS mirror. I plan on adding another SATA SSD for data storage. I can't add more storage right now, as my M90q can't be expanded easily. Now, how would I best setup my storage? I have two ideas and could use some guidance. I want some NAS storage for documents, files, videos, backups etc. I also need storage for my VMs, namely Nextcloud and Jellyfin. I don't want to waste NVMe space, so this would go on the SATA SSD as well. 1. Pass the SSD to a VM running some NAS OS (OpenMediaVault, TrueNas, simple Samba). I'd then set up different NFS/samba shares for my needs. Jellyfin or Nextcloud would rely on the NFS share for their storage needs. Is that even possible and if so, a good idea? I could easily access all files, if needed. I don't now if there would be a problem with permissions or diminished read/write speeds, especially since there are a lot of small files on my nextcloud. 2. I split the SSD, pass one partition to my NAS and the other will be used by Proxmox to store virtual disks for my VMs. This is probably the cleanest, but I can't easily resize the partitions later. What do you think? I'd love to hear your thoughts on this!

    24
    21
    selfhosted
    Selfhosted Pete90 11 months ago 93%
    ZFS: Should I use NAS or Enterprise/Datacenter SSDs?

    I've [posted](https://feddit.de/post/5136921) a few days ago, asking how to setup my storage for Proxmox on my Lenovo M90q, which I since then settled. Or so I thought. The Lenovo has space for two NVME and one SATA SSD. There seems to a general consensus, that you shouldn't use consumer SSDs (even NAS SSDs like WD Red) for ZFS, since there will be lots of writes which in turn will wear out the SSD fast. Some conflicting information is out there with some saying it's fine and a few GB writes per day is okay and others warning of several TBs writes per day. I plan on using Proxmox as a hypervisor for homelab use with one or two VMs runnning Docker, Nextcloud, Jellyfin, Arr-Stack, TubeArchivist, PiHole and such. All static data (files, videos, music) will not be stored on ZFS, just the VM images themselves. I did some research and found a few SSDs with good write endurance (see table below) and settled on **two WD Red SN700 2TB** in a ZFS Mirror. Those drives have **2500TBW**. For file storage, I'll just use a **Samsung 870EVO with 4TB** and **2400TBW**. | SSD| TB|TBW|€| |----|----|----|----| |980 PRO|1TB|600|68| ||2TB|1200|128| |SN 700| 500GB| 1000|48| ||1TB| 2000 | 70| ||2TB|2500|141| |870 EVO|2TB|1200|117| ||4TB|2400|216| |SA 500|2TB|1300|137| ||4TB|2500|325| Is that good enough? Would you rather recommend enterprise grade SSDs? And if so, which ones would you recommend, that are m.2 NVME? Or should I just stick with ext4 as a file system, loosing data security and the ability for snapshots? I'd love to hear your thought's about this, thanks!

    29
    21
    selfhosted
    Selfhosted Pete90 11 months ago 92%
    Storage Setup for Proxmox in Lenovo M90q (Gen 1)

    Hej everyone! I’m planning on getting acquainted with Proxmox, but I’m a total noob, so please keep that in mind. For this experiment, I’ve purchased a Lenovo M90q (Gen 1) to use as an efficient hardware basis. This system will later replace my current one. On it, I want to set up a small number of virtual machines, mainly one for Docker and one for NAS (or set up a NAS with Proxmox itself). My main concern right now is storage. I’d like to have some redundancy built into my setup, but I am somewhat limited with the M90q. I have space for two M.2 2280 NVMe drives as well as one SATA port. There are also several options to extend this setup using either a Wi-Fi M.2 to SATA or the PCIe x8 to either SATA or NVMe. For now, I’d like to avoid adding complexity and stick with the onboard options, but I'm open to suggestions. I'd buy some new or refurbished WD Red NAS SSDs. Given the storage options that I have, what would be a sensible setup to have some level of redundancy? I can think of three options: 1. ZFS Mirror using two NVMe as well as a SATA-SSD for non-critical storage. I would set up Proxmox and VMs on the same disk and mirror it to have redundancy. I could store ISOs and “ISOs” on the SATA-SSD, where no redundancy is needed, as it would be backed up to a different system anyway. 2. Proxmox and VMs each get their own NVMe storage, non-critical storage on the SSD. Here, “redundancy” would be achieved by backing up the host and the VMs to my NAS. This process is somewhat tedious and will cause downtime if something happens. 3. Add a Wi-Fi M.2 to SATA adapter and power two SSDs with an external power supply (possibly internal?) and install Proxmox on these. I’d love to hear your thoughts on this. Am I being too paranoid with redundancy? I’m hosting nothing critical, but downtime would cause some inconvenience (e.g., no Jellyfin, Nextcloud, Pi-hole, Vaultwarden) until I fix it. The data of these services will always be backed up using the 3-2-1 system and I'll move to a HA system in the future when funds allow it. EDIT: Are there any disadvantages to proxmox and the VMs being on the same disk?

    12
    4
    piracy
    Does usage of third party youtube apps necessitate a VPN in the near future?

    Greetings y'all. I've been using ways to circumvent YouTube ads for years now. I'd much rather donate to creators directly instead of using Google as a middle man, needing YouTube Premium. If even pay for premium for just a add free version, if the price wouldn't be so outrageous. I've So far used adblockers, Vanced and then Revanced. Since the recent developments in this matter, I've setup Tubearchivist, a self hosted solution to download YouTube videos for later consumption. It mostly works great, with a few minor things that bother me but I highly recommend it. ReVanced also still works, but nobody knows for how long. The question now is, if I should use a VPN to obscure my identity to Google. I don't know if I'm being paranoid here but I wouldn't put it past Google to block my account, if they see YouTube traffic for my IP address and no served ads. Revanced even uses my main Google account, so not that far fetched. So far, or at least to my knowledge, Google has never done this but I think they just might in the future. So I'm planning on putting tubearchivist behind a VPN via gluetun. What do you think? I'm eager to hear your opinions on this. I can also add my docker compose, if there's interest and when I'm back on my PC.

    64
    33
    selfhosted
    Selfhosted Pete90 11 months ago 91%
    How to organize docker volumes into subdirectories using compose

    Hei there. I've read that it's best practice to use docker volumes to store persistent container data (such as config, files) instead of using bindmount. So far, I've only used the latter and would like to change this. From what I've read, all volumes are stored in var/lib/docker/volumes. I also understood, that a volume is basically a subdirectory in that path. I'd like to keep things organized and would like the volumes of my containers to be stored in subdirectories for each stack in docker compose, e.g. volumes/arr/qbit /arr/gluetun /nextcloud/nextcloud /nextcloud/database Is this possible using compose? Another noob question: is there any disadvantage to using the default network docker creates for each stack/container?

    19
    13
    piracy
    checking for ip leaks using Docker, Gluetun and qBittorrent

    Hej everyone. Until now I've used a linux install and vpn software (airvpn and eddie) when sailing the high seas. While this works well enough, there is always room for improvement. I am in the process of setting up a docker stack which so far contains gluetun/airvpn and qbittorrent. Here is my compose file: ``` version: "3" services: gluetun: image: qmcgaw/gluetun container_name: gluetun cap_add: - NET_ADMIN volumes: - /appdata/gluetun:/gluetun environment: - VPN_SERVICE_PROVIDER=airvpn - VPN_TYPE=wireguard - WIREGUARD_PRIVATE_KEY= - WIREGUARD_PRESHARED_KEY= - WIREGUARD_ADDRESSES=10.188.90.221/32,fd7d:76ee:e68f:a993:63b2:6cc0:fe82:614b/128 - SERVER_COUNTRIES= - FIREWALL_VPN_INPUT_PORTS= ports: - 8070:8070/tcp - 60858:60858/tcp - 60858:60858/udp restart: unless-stopped qbittorrent: image: lscr.io/linuxserver/qbittorrent:latest container_name: qbittorrent network_mode: "service:gluetun" environment: - PUID=1000 - PGID=100 - TZ=Europe/Berlin - WEBUI_PORT=8070 volumes: - /appdata/qbittorrent/config/:/config - /data/videos/downloads:/downloads depends_on: - gluetun restart: always ``` My first problem was related to the ip adress. For some reason, when I use an IPV6 adress, I got this error in gluetun: ``` 2023-10-06T17:30:42Z ERROR VPN settings: Wireguard settings: interface address is IPv6 but IPv6 is not supported: address fd7d:76ee:e68f:a993:63b2:6cc0:fe82:614b/128 ``` Well, I removed that IPV6 and now everything works. Does anyone have a fix? :) Now for the *important* part. I tested the setup with a linux iso and to my surprise - everything works. When I used ipleak.net or other websites, these websites only detect the ip from my vpn. Great. **Do I need to take any other precautions?** I also bound the network interface tun0 in the qbit webui, just to be sure. When I stop the gluetun container, the webui stops working (as it should, but it is hard to check, if the download also stops). I'm just a bit paranoid because I don't want to pay coin when downloading all the isos my heart desires. Thank you so much for any input!

    44
    9
    framework
    Framework Laptop Community Pete90 1 year ago 100%
    Framework 16: recommended RAM and charger

    I've not been as excited about a piece of tech for a long time. I'm trying to save a few bucks on this somewhat expensive machine and have some questions, which I hope you might be able to answer. Thanks! I'm planing on bringing my own RAM and storage. Framework lists DDR5 SO-DIMM 5600 as compatible, however they do recommend avoiding XMP. Most modules I found do have XMP. Do they just mean to disable XMP? Any ideas or recommendations? I'm also hesitant to buy the 180W charger, even though it seems reasonalibly priced. I'm not buying a grafics module just yet, but might in the future and 180W might not be enough power by then. I only want to buy once and couldn't find any higher powered ones on amazon (EU). I only found one 140W charger from UGREEN, which is a brand I've never heard of. Another option would be, to buy a 100W charger now and another one later, but I want to reduce cost and e-waste. One last question is concerning the input modules. Do I understand it correctly, that both the numpad as well as the macro pad can be used for custom key functions and macros?

    15
    10
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSE
    Selfhosted Pete90 1 year ago 100%
    Fail2Ban working - too well

    Hey guys. I've been spending the last few months setting up my home server. Lot's of troubleshooting was needed, since I am somewhat of a beginner. Now fail2ban works really well. In fact, it works too well. I've banned myself on some occasions. Here is how I set it up: I have a filter/jail, that looks for forcefull browsing using the nginx proxy manager access logs. I've used the following filter: ``` [INCLUDES] [Definition] failregex = ^.* (405|404|403|401|\-) (405|404|403|401) - .* \[Client <HOST>\] \[Length .*\] .* \[Sent-to <F-CONTAINER>.*</F-CONTAINER>\] <F-USERAGENT>".*"</F-USERAGENT> .*$ ignoreregex = ^.* (404|\-) (404) - .*".*(\.png|\.txt|\.jpg|\.ico|\.js|\.css|\.ttf|\.woff|\.woff2)(/)*?" \[Client <HOST>\] \[Length .*\] ".*" .*$ ``` This fishes out all those errors - so far, so good. The problem is, that for some reason, my nextcloud install throws a lot of those errors every now and then. I have no clue why. Everything works, file transfers, browsing the web ui, settings - no trouble. Still, those errors show up in the npm log, for example: ``` [22/Jun/2023:18:44:24 +0200] - 404 404 - GET https ###SERVERURL### "/remote.php/dav/files/Pete90/Upload/Scan/Z/2023-06-22%2011-27%201.pdf" [Client ###IP### [Length 218] [Gzip -] [Sent-to ###SERVERLANIP###] "Mozilla/5.0 (Android) Nextcloud-android/3.25.0" "-" ``` This must habe been the android nextcloud app, as it was automatically uploading some files. Now here is where I need help. I've started adding things to the ignoreregex and this works as a workaround. But new error types show up every now and then which I have not added an ignoreregex for. This seems inefficient: ``` |.*PROPFIND.*files/Pete90.*Gzip.*|/ocs/v2.php/apps/text/workspace\?path=.2F|.*(?:/index.php/.well-known/nodeinfo|/index.php/.well-known/webfinger)|.*/core/preview.*$ ADD MORE LIKE THIS |.*REGEXYOUWANTTOIGNORE.*$ ``` What would you do, to prevent this? Is there something wrong with my nextcloud setup? Can I find a more general regex than the ones I used? Simply exclude nextcloud from the forcefull browsing filter (I've setup a different filter/jail for nextcloud itself). Any input is appreciated!

    1
    0
    main
    Haupteingang Pete90 1 year ago 97%
    Spende für feddit

    Ist es möglich (und nötig), für die Unterhaltung der Server etwas zu spenden? Für Lemmy tue ich das bereits über Patreon. Bei feddit habe ich bisher nichts dergleichen gefunden. Ich finde es einfach toll, dass hier Zeit und Geld investiert wird und möchte gerne einen kleinen Beitrag leisten!

    34
    2