Followed these instructions partially: https://www.xda-developers.com/disable-these-services-to-prevent-wearing-out-your-proxmox-boot-drive/

As the first of the two offenders that cause excessive write operations, pve-ha-lrm.service is responsible for tackling resource allocation on the local PVE node. The second one, pve-ha-crm.service, manages the resources for the entire cluster, monitors the status of each node, and ensures that the high-availability setup continues to function as long as the minimum servers required to maintain a quorum remain operational.

Since these services are required for Proxmox clusters, you’ll want them enabled if you’re trying to build a high-availability configuration. But for home labbers who plan to stay on a single-node setup, you can disable them to prevent (or rather, significantly slow down) the wear rate of your boot drive.

Doing so is fairly easy: just invoke the systemd manager via systemctl to stop each service before running the disable command to get rid of it.

  • systemctl stop pve-ha-lrm.service
  • systemctl disable pve-ha-lrm.service
  • systemctl stop pve-ha-crm.service
  • systemctl disable pve-ha-crm.service

I was able to setup the openvpn way of using pia, but didn’t feel like messing with firewall rules again (newer debian uses nftables instead of iptables)

I think I disabled the openvpn and then just installed pia’s client:

https://www.privateinternetaccess.com/pages/changelog

wget https://installers.privateinternetaccess.com/download/pia-linux-3.6.1-08339.run

then just installed it

Edited the /opt/piavpn/settings.json

Hopefully that works? — I’m surprised I can’t find any instructions on editng that config file


Some good notes on this thread: https://www.reddit.com/r/PrivateInternetAccess/comments/8uxy74/running_pia_headless_on_debian/

It never mentioned that the PIA installer includes a tool call ‘piactl’. Someone’s guide: https://gist.github.com/helloavo/5693d36f63d8fa3beefe00143495d893

Hopefully this works better than me guessing on the settings.json

piavpn logs are located at: /opt/piavpn/var/daemon.log

Error with libatomic gave me a hint that I needed to ‘apt install libatomic1’. Worked great after that

Created a new debian12.7 (the latest) for PIA

Created user chris, added to samba config (/etc/samba/smb.conf), added to smbpasswd

Created a shared folder

Changed timezone (dpkg-reconfigure tzdata)

Downloaded the openvpn scripts

Openvpn doesn’t work inside an lxc. Needed to change user permissions on the host server: https://pve.proxmox.com/wiki/OpenVPN_in_LXC

I want to try installing a headless plexamp, to allow background music continues after clients disconnect. Should allow multiple clients to control (although it’s not full guest control like jukestar)

https://howtohifi.com/install-headless-plexamp-endpoint-home-network-raspberry-pi/

NOTE: At this time, Plexamp 4.11.0 is the latest version, not 4.10.1. Check for the latest here: https://www.plex.tv/media-server-downloads/?cat=headless&plat=raspberry-pi#plex-plexamp

I keep forgetting how to do this.

Open the console for the Plex pve within proxmox console

apt update

then

apt upgrade

Goal: I want to securely backup my local network file share to OneDrive cloud, so I decided to install rclone on my pi running OpenMediaVault.

First I ssh-ed into the server

apt-get update is failing for me because this is still running on buster and the O/S is no longer current, so I’m skipping that step.

Even on my out-of-date dependencies, rclone is available so I installed with apt-get:

sudo apt-get install rclone
Unfortunately this was very out of date and did not have the “crypt” vault so I needed to manually download a newer version and copy it into /usr/bin

wget https://downloads.rclone.org/rclone-current-linux-arm.zip

unzip -j -d rclone-temp rclone-current-linux-arm.zip

sudo cp ~/rclone-temp/rclone /usr/bin/rclone1

Start the setup ‘rclone config’ and created a remote named ‘cjackson0’

Start the setup again for the encrypted remote named ‘secret’

rlcone config

Mount the ‘secret’ remote with the command to the subdirectory “OneDrive” with caching on writes (ensures better compatibility)

rclone --vfs-cache-mode writes mount secret: ./OneDrive

When trying to mount the encrypted remote with rclone, I got an error:

I fixed it by linking the existing fusermount to a target named “fusermount3”

sudo ln -s /bin/fusermount /bin/fusermount3 2

Then I opened another ssh window and performed a copy:

rclone sync Money/ OneDrive/Money/

Guide: https://medium.com/@artur.klauser/mounting-google-drive-on-raspberry-pi-dd15193d8138

To do the copy:

rclone sync -L Money/ OneDrive/Money/

Other options:

https://pimylifeup.com/raspberry-pi-rclone/ (installs manually instead of apt-get; not sure why you would do that)

Pretty good youtube video talking about the crypt mounts: 3

use-onedrive-linux-rclone4

  1. https://pimylifeup.com/raspberry-pi-rclone/ ↩︎
  2. https://forum.rclone.org/t/synoloy-nas-does-not-support-fuse3/36944/11 ↩︎
  3. https://www.youtube.com/watch?v=RodGVORy90A ↩︎
  4. https://itsfoss.com/use-onedrive-linux-rclone/ ↩︎

Had issues where the pi4 was sluggish, frequent “resource” errors, and /mnt issues.

Took a look at the sharing settings on the Windows box and there was a limit of 20 connections for the share. I doubled that 40 and things seem better now.

Looks like the radarr, sonarr, lidarr, prowlarr, and overseerr services should not be behind the VPN because most indexers / trackers will ban you.

So I went back to using the transmission daemon on the old server (raspberrypi) and disabled qbittorrent on pi2. That also frees up more memory so we can try and run multiple services again.

sudo systemctl disable qbittorrent-nox

Then I disabled the VPN

sudo vi /etc/default/openvpn

Although transmission does not support categories / tags, but radarr will create a different download directory for those (default download location + /radarr) so that works.

The pi2 doesn’t have enough memory to run Radarr, Lidarr, Sonarr, Overseerr, and qBittorrent on the same box with only 1GB memory. I filled up the swap space and have almost maxed it out (free -h)

I’m going to disable lidarr for now until Pi4 machines come back in stock

sudo systemctl disable lidarr.service

Followed the linux instructions for each of them.

https://wiki.servarr.com/sonarr/installation/linux

https://wiki.servarr.com/radarr/installation/linux

https://wiki.servarr.com/prowlarr/installation/linux

https://docs.overseerr.dev/getting-started/installation

https://wiki.servarr.com/lidarr/installation/linux

Create new categories in qBittorrent:

Setting up the connections in prowlarr and overseerr was easy

Then add each app into prowlarr:

Added new libraries in Plex (not sure if these will stay or I will create new ones)

Map categories in prowlarr to qBittorrent:

This guide helped with some of the steps but obviously I didn’t use docker for the installs:

Design a site like this with WordPress.com
Get started