Using yum install to directly install an RPM file from a URL like https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.11.0/emby-server-rpm_4.8.11.0_x86_64.rpm is a valid approach to update or install Emby Server on AlmaLinux 8.10. Since AlmaLinux uses dnf (a modern replacement for yum), the command will work because yum is aliased to dnf on AlmaLinux. However, there are some important considerations and steps to ensure a smooth update via the Plesk terminal or SSH.
Steps to Update Emby Server Using yum install in Plesk Terminal
- Access the Plesk Terminal:
- Log in to Plesk (https://<server-ip>:8443).
- Go to Tools & Settings > SSH Terminal (ensure the SSH Terminal extension is enabled).
- If the terminal isn’t available, you may need full SSH access or assistance from your hosting provider.
- Stop Emby Server:
sudo systemctl stop emby-server
This prevents conflicts during the update. - Back Up Emby Configuration:
sudo cp -r /var/lib/emby ~/emby-backup
This ensures your settings and library data are preserved. - Run the yum install Command: Use the following command to install or update Emby Server directly from the URL:
sudo yum install -y https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.11.0/emby-server-rpm_4.8.11.0_x86_64.rpm
- The -y flag automatically confirms prompts.
- yum (or dnf) will download the RPM, resolve dependencies, and install or upgrade Emby Server.
- Restart and Verify Emby:
- Start the Emby service:bash
sudo systemctl start emby-server
- Check the service status:
sudo systemctl status emby-server
Ensure it shows “Active: active (running)”. - Verify the updated version in the Emby web interface (http://<server-ip>:8096) under Dashboard > Server.
- Start the Emby service:bash
- Adjust Firewall (if needed): Ensure Emby’s ports are open:
sudo firewall-cmd --permanent --add-port=8096/tcp sudo firewall-cmd --permanent --add-port=8920/tcp sudo firewall-cmd --reload
Key Notes
- Why yum Works: On AlmaLinux 8.10, yum is a symbolic link to dnf, so the command is equivalent to dnf install. Both handle RPM packages and resolve dependencies automatically, unlike rpm -Uvh, which may require manual dependency resolution.
- Advantages of yum install: It automatically handles dependencies (e.g., libass, ffmpeg) that Emby requires, making it more convenient than rpm -Uvh in some cases.
- Plesk Terminal Limitations: The Plesk SSH Terminal may have restricted permissions. If you get errors like “Permission denied” or “Command not found,” your hosting provider may need to grant root access or run the command for you.
- If the Command Fails:
- Error: Dependency Issues: If dependencies are missing, ensure the EPEL repository is enabled:bash
sudo dnf install -y epel-release sudo yum install -y https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.11.0/emby-server-rpm_4.8.11.0_x86_64.rpm
- Error: URL Not Found: Verify the URL is correct. Check https://github.com/MediaBrowser/Emby.Releases/releases for the latest version (replace 4.8.11.0 if needed).
- Error: No Internet Access: If the Plesk terminal can’t access the internet, download the RPM file via Plesk’s File Manager and use:bash
sudo yum install -y ./emby-server-rpm_4.8.11.0_x86_64.rpm
- Error: Dependency Issues: If dependencies are missing, ensure the EPEL repository is enabled:bash
- Non-RPM Installations: If Emby was installed via Docker or Flatpak (not RPM), this command won’t work. Check the installation type:bash
rpm -q emby-server
If it returns nothing, Emby may be in Docker (docker ps) or Flatpak (flatpak list), requiring different update methods. - Plesk Application Catalog: If Emby was installed via Plesk’s Application Catalog (rare), check Applications > Manage My Applications for an update option instead.