Chuck's Cool Reviews and Info

Projects, news and stuff going on. Pictures link is to the right.

Move Plex Server:

Install the Plex Media Server on the new Plex Server. If the setup wizard in the browser launches, just exit out. Sign Out and Stop the Plex Media Server on the New Plex Server.

sudo service plexmediaserver stop

Now we will make changes to the old Plex Server and stop services-

Inside Plex management interface: Disable the Empty trash automatically after every scan preference for the Server under Library. Sign out of your account under Settings > Server > General in Plex Web App Quit/exit the Plex Media Server so that it is no longer running via command:

sudo service plexmediaserver stop

Copy Server Data From the Source System

Plex install location on Ubuntu:

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/

Go to install Directory:

cd '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/'

Backup only the files we need and create the backup file: plexbackup.tgz

sudo tar zcvf plexbackup.tgz Cache Diagnostics Media Metadata "Plug-in Support"

Copy the file created above to the new Plex Server home directory.

Working in your home folder, make a new directory and uncompress the backup

mkdir plexbackup
cd ~/plexbackup
tar zxvf ../plexbackup.tgz

With the backup file transferred to target system and uncompressed, remove the conflicting files on the target system and move the backup into place:

cd "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server"
sudo systemctl stop plexmediaserver  (should already be stopped from previous step, but just incase)
sudo rm -rf Cache Diagnostics Media Metadata "Plug-in Support"
sudo mv ~/plexbackup/* .
sudo chown -R plex:plex *
sudo systemctl start plexmediaserver

Go to web interface and claim server


For servers with newer intel onboard GPUs: create and then edit: /etc/modprobe.d/i915.conf Add and save file:

options i915 enable_guc=2


sudo update-initramfs -u 

Install Docker and Portainer

- Posted in Blog Entries by

This is a quick and dirty install onto an Ubuntu Server 20.04 install.

Install Docker:

sudo apt install apt-transport-https ca-certificates curl software-properties-common curl -fsSL | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] focal stable" sudo apt install docker-ce sudo systemctl status docker sudo usermod -aG docker ${USER} su - ${USER} groups

Install Portainer:

cd ~/

docker volume create portainer_data

docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce


Add Application Templates from Reddit Github:

Go to Settings | App Template and enter:

Portainer Default App Templates: