Info: Virtual Machines is in beta. Everyone can use it. Beta means we are still finishing it, so screens may change and you may find a rough edge. Read the known issues at the end of this page. What beta means
Plex Media Server is in the VM catalog under Appliances. HexOS sets up a small VM that runs Plex and reads the media in your HexOS folders. You do not need to install anything inside the VM.
The VM reads six of your HexOS folders: Media, Movies, Shows, Music, Photos and Videos. It can read them but cannot change or delete anything in them.
To do this, HexOS creates an account on your server just for this VM, named plexvm (or plexvm2 and so on, if that name is taken). Its password is stored only inside the VM. The account is not listed with your users, and HexOS removes it when you uninstall the VM.
The VM reads the folders over your network, the same way a computer in your home does. On some servers, a newly installed Plex VM gets the folders directly instead. See Direct folder access.
Requirement: Each of the six folders needs a share that is turned on and unlocked. If one does not, the install stops and says which folder to fix, for example A default media folder has no share HexOS could confirm. Check the folder's share under Folders and install again.

There is no Account step: the VM signs in to your folders with its own account.
When setup is done, go to VMs > Installed VMs, click the VM, and click Connect. It opens Plex's web page. Console is only offered with Expert Mode on.
If you left Sign in to Plex off, Plex's own setup page asks you to sign in and claim the server, and to add your libraries.
While the VM is running, its details show a Media folders row. A VM with direct folder access has no Media folders row. HexOS checks it about once a minute while the details are open:
Under the row, Checked and a time says when it last looked.

Plex cannot see changes in network folders by itself. When HexOS signed in to Plex for you, it set your libraries to be scanned every hour.
When a folder comes back after an outage, HexOS asks Plex to scan that library again and shows Recovery started for and the folder name. HexOS notices this only while someone has the VM's details open. This needs Sign in to Plex to have worked during setup.
HexOS is turning on a faster way for the Plex VM to read your folders, a few servers at a time. With it, HexOS gives the six folders to the VM directly instead of over your network. Plex reads your media faster, and the VM no longer needs your server's network address to reach the folders.
This applies only to a Plex VM installed while direct folder access is on for your server, on TrueNAS 25.04.2.6 or later. A Plex VM you already have keeps reading its folders over your network. To move it over, uninstall it and install it again.
The VM still reads the same six folders and cannot change anything in them, and HexOS still creates the plexvm account for it. These things are different:
If HexOS cannot connect the folders for another reason, it says Folders couldn't be connected and what to do, for example One of this virtual machine's folders no longer exists. Check its folders, then try again.
Uninstall removes the VM, the plexvm account, and the Plex token HexOS kept. Its disk is deleted only if it is ticked. Your media folders and the files in them are not touched. See Uninstall.
For the full list, see Known issues.