Tag: linux

  • K3S Traefik – HTTP Redirection

    You want to redirect all trafic from http to https? You got a K3S Cluster with traefik installed? Fear not my friend. I almost started crying, no matter what, it didn’t work. Finally I found the solution. We just create a HelmChartConfig which basically injects config into a helm chart, and add 3 lines to…

  • Cron in Docker (PHP)

    You wanna get corn running in a container? Maybe a php based container? This sucks. So let’s try to figure it out. What I did is create a docker image as following: The entrypoint looks like this: And we add a cron.sh file: Now we can use this image normally to run a php container,…

  • Elasticsearch 2 Opensearch

    You might want to move from elasticsearch to opensearch due to the changes of graylog 5.I was at the same position. We currently deploy mostly single-node standalone environments. This procedure is suited for those environments. 1. Step – Update Mongodb We are upgrading from 4.2 to 6.0. This can only be done with steps between…

  • Fix Graylog Watermark

    If you monitor your graylog server already and use a single node instance, there is no real need for a watermark on your open/elasticsearch server. Here you go:

  • The application ‘add’ does not exist.

    You’re trying to run dotnet add package <PACKAGE> on a RHEL based system and get this error: Issue The problem is, the .rpm inside the microsoft repo has dependencies on packages like dotnet-hostfxr-6.0.x86_64, which are also present in the default AppStream repo. So it gets the packages from the wrong repository. Solution You’re in luck. There is a…

  • OpenSSL Convert

    PFX to Key Remove password from key PFX to Cert Fixing PFX withs Issues (pfx -> pem -> pfx) Open Powershell in the bin folder of OpenSSL and run these commands (replace old.pfx is your current, new.pfx will be the fixed one. You might have to enter the pfx password a few times):

  • LVM Disk Resize

    Reload Disk Info Resize Disk Use parted to resize partition if needed Resize pv Resize lv Resize fs

  • Graylog Migration

    How The easiest way to migrate a graylog instance, is to build a new one and migrate elasticsearch data by combining the two elasticsearch nodes to a cluster and replicating all data. Which issues will I have? Hopefully none 😀 But realistically, you will have to reinstall content-packs or at least clone & delete all…