Plesk

Unable to extract RAR file via Plesk file manager: to extract RAR archives install UnRAR

Symptoms

An attempt to extract a compressed file with the RAR extension fails with the following error message:

Unable to extract /httpdocs/File.rar: To extract RAR archives, install UnRAR.

Cause

UnRAR is not installed in the system.

Resolution

Ubuntu/Debian

  1. Connect to the server via SSH

  2. Install UnRAR with the following command:

    # apt install -y unrar

  3. Reload package cache:

    # plesk sbin packagemng -sdf

  4. Log in to Plesk GUI > Domains > example.com > File Manager > Click on the RAR file to extract its content

CentOS/CloudLinux/RHEL

Note: Extracting archives using unar is possible starting from Obsidian 18.0.34.

  1. Connect to the server via SSH

  2. Add EPEL repository:

    # yum install -y epel-release

  3. Install Unar with the following command:

    # yum install -y unar

  4. Reload package cache:

    # plesk sbin packagemng -sdf

  5. Log in to Plesk GUI > Domains > example.com > File Manager > Click on the RAR file to extract its content