Category: Virtualization

PeerTube inside docker error installing a plugin/theme

Problem When running PeerTube version 6 inside of a docker using compose you might encounter a problem with installing a plugin or a theme. It will give an error that it is not able to install it. Logs will show errors like: Client log: Backend returned code 400, errorMessage is: Cannot install plugin … Solution…


WordPress – critical site health issues

Issue: If your WordPress site is behind a SSL reverse proxy that’s not on the same server as the WordPress site installation, your Site Health Status might be showing 2 critical issues: The REST API encountered an error Your site could not complete a loopback request This is due to WordPress site is trying to…


Port forwarding/redirect configuration for LXD/LXC Virtual Machines

How to configure a port forwarding or a port redirect in LXD/LXC Virtual Machine If you are looking how to do the same for LXC containers,  look here. Unlike port forwarding for containers, virtual machines require you to set a static IP address before you can configure the proxy device. If you don’t have a static…


Setting resource limits for LXC

How to limit resources for the Linux containers inside LXD. Intro In this example I’m using Ubuntu 20.04 with LXD 4.0.8 installed. Containers are running on ZFS storage. My test container name that I’m using for this tutorial is called lamp. What is lamp? CPU and Memory limits Use following commands to set CPU to…


Automated snapshots of LXC on ZFS storage

How to setup an automated backup of the LXCs backed by ZFS storage, using snapshots. Objective Configure scheduled snapshots with expiration date. Requirements Ubuntu or Debian server running LXD. Containers must reside on ZFS storage. Expiration Set the amount of days you want to keep your snapshots. Here is the example for 10 days: lxc config…


Port forwarding/redirect configuration for LXD/LXC containers

How to setup port forwarding/redirect for the LXC container Objective Configure port forwarding or port redirect on the Ubuntu 20.04, hosting LXC containers, to the container running web server on port 80. Forward To accomplish this we are going to add a proxy device called http-forward to the container called web-server that listens for connections…