Year: 2023
-
TASK ERROR: zfs error: could not find any snapshots to destroy; check snapshot names.
Try this: It will give an error but will remove snap from GUI
-
Elasticsearch start fail on debian 11 after install from ES repos
This guide helped me a lot: https://techviewleo.com/install-elastic-stack-elk-8-on-ubuntu/ After first installing with this parameter: I then used the linked guide. Important parts: Edit the file as below: Also, edit the JVM options to set the memory limits:
-
Mikrotik RouterOS guest VLAN routed over ProtonVPN (2023)
That should work. Relevant config (first part (wireguard interface) does not have privkey, remember to set it!)
-
SSH in for loop (consuming stdin / using file descriptor 3)
Ever found yourself using a for/while loop using SSH in the loop, only to find out your loop only runs once? Your stdin is captured by ssh… This can be fixed.
-
Install `strings` command in debian/linux
That’s a difficult one to search for. To get the strings command working in Debian 11 / Linux, for example in your bash scripts, install the binutils package!
-
SSH jump host config
My remote hosts are on srvXX.remote.com. I have a jump host jump.remote.com. I want to be able to type ssh srv42.remote.com and connect, without first having to ssh to jump.remote.com. My .ssh/config:
-
Wireguard site-to-site (proxmox to mikrotik/routeros)
I wanted to connect my dedicated hetzner proxmox box (“remote“) to my home IP. Networks: At home I created on my mikrotik: Then at the remote side, first make keys: We need config: Start interfaces and it works! References
-
Masquerade ip forward for Proxmox on hetzner (single IP)
This works for me: Then open SSH and edit /etc/network/interfaces: Then when creating a container: All traffic is routed properly out of br1 to br0 (world). I can connect to this host on :2222.
-
Fix “Cannot remove image, a guest with VMID ‘xxx’ exists!”
Get this error? Cannot remove image, a guest with VMID ‘1070’ exists!You can delete the image from the guest’s hardware pane Then on your node/host, do Disks will now show up in the vm pane :)
-
Proxmox move progress (container/VM)
Your proxmox will just tell you: 2023-03-26 10:31:50 Logical volume “vm-1070-disk-1” created. But what if you want to know the progress of the copy? In percentage maybe? On the source host, find the dd job: Then do this: kill -USR1 2143046 (We took the PID of the dd job there). Logs will now show how…
-
Proxmox move container/vm to different storage on different host
Container: nohup pct migrate 1076 srv78 –target-storage LVMStore & Untested (VM): qm migrate 1076 srv78 -migration_network 10.0.0.0/24 -targetstorage SrvSSD -with-local-disks Does not want to move? You need to add the shared=1 option on this line. This way the container can be migrated whereby the local mountpoint will be ignored during migration. You need to make…
-
LineageOS recovery bootloop into Google firmware
Don’t follow the original guide You need to boot dtbo and boot too. Thanks to: https://www.reddit.com/r/LineageOS/comments/11y3aur/comment/jdafm2k/?utm_source=share&utm_medium=web2x&context=3
-
Nextcloud / php / apache no error for Internal Server Error
I got this: If you want to know more, enable log_errors
-
Friendly (ionice/nice) rsync on remote server
Add –rsync-path=”ionice -c 3 nice rsync” to your rsync command (on sending side) Friendly for both sender and receiver: ionice -c3 nice rsync –rsync-path=”ionice -c 3 nice rsync”
-
LVM commands not found
Getting this? Means you might have used su. Just do su – or do a proper login, so your $PATH is set correctly.
-
T-Mobile Thuis werkende SMTP 2023 (Fix Relay access denied)
Ik kreeg de melding: Postfix moet net ff anders worden ingesteld. Dit werkt voor mij: 4. sasl/sasl_passwd 5. postmap sasl/sasl_passwd