- Still have some time left in the week, but figured I would start to put together some of the things I was working on.
- Reinstalled Proxmox again on one of my hosts to see if I want to plan to move to that method of management vs. Ubuntu Server + Docker
- So far I haven't done that much with it, just talking over a coworker's setup to see if I can mirror that, but I wasn't expecting to be leveraging VM's + Docker within there vs. the LXC containers. If that's the best way (because of the ability to do snapshots, etc), then I'm going to give it a try. I'm going to need to see about backups as well, since I would need to access the files on the drive of the VM vs. direct access like I have with Ubuntu Server.
- I did use a helper script to reconfigure a few things after the base install: GitHub: community-scripts \ ProxmoxVE
- I was able to get Proxmox into Homepage: gethomepage \ homepage: docs/widgets/services/proxmox.md
- Additional Reading: XDA: How I use Docker with Proxmox for the perfect home lab duo
- Tim Kye: Installing Servarr Stack with Docker Compose
- Got ACME working on my OpenWrt router so that it can get certificates from my internal Step-CA server on its own.
- Command to generate the certificate in the first place:
/usr/lib/acme/client/acme.sh -d openwrt42.domain.tld --keylength 4096 --accountemail Administrator@domain.otherTLD --server https://ca.home.tld:port/acme/acme/directory --days 7 --standalone --listen-v6 --issue --home /etc/acme --pre-hook "service uhttpd stop" --post-hook "service uhttpd start" --force
-
- I'm going to have to double check the renewal process to make sure that uhttpd is stopped before & started after getting a cert, otherwise it was very similar to certbot on my other hosts.
- Cleaned up some of my docker-compose.yml files (well, edited through Portainer) to actually look at all my external drives for media.
- Since Plex likes movies to be in individual folders (instead of alphabetical, A-Z like I used to have) I had to work on that. I found the script below that will take all of the individual movie files & create folders for them, then move the file in there. the one issue is trying to get it to also move the subtitle files into that same folder so it doesn't have to be done manually:
for f in *.(mp4|mkv|avi|mov|flv|en.srt)(N); do
if [ -e "$f" ]; then
mkdir "${f%.*}"
mv "$f" "${f%.*}"
fi
done
-
- I also had a command to swap colons for hyphens, just to clean that up:
find . -depth -name '*:*' -exec bash -c 'mv "$0" "${0//:/-}"' {} \;
- Flipper custom firmware updates for my devices:
- I updated my Pixel Tablet to LineageOS 22.1 & even though i flashed Gapps & the Magisk-modified boot.img, I still lost root through Magisk.