Skip to main content
vpolovnikov
Staff & Editor
Staff & Editor
August 19, 2026

Troubleshooting Tip: FortiClientEMS Upgrade Failure due to Grafana Package Error

  • August 19, 2026
  • 0 replies
  • 149 views

Description

This article describes a solution to an issue where the upgrade of FortiClientEMS fails due to a Grafana package error.

The upgrade from version 7.4.7 to 7.4.8 results in a failed upgrade.

The error message observed:

Setting up grafana (13.1.1) ...
mv: cannot move '/usr/share/grafana/data/plugins-bundled' to '/var/lib/grafana/plugins-bundled': Directory not empty
dpkg: error processing package grafana (--configure):
installed grafana package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grafana
dpkg configure failed. Aborting.

Scope

FortiClientEMS.

Solution

The EMS v7.4.8 upgrade includes a Grafana package update (to v13.1.1 in this case).

During the package installation, the post-installation script attempts to move the bundled plugins directory from the package's default location (/usr/share/grafana/data/plugins-bundled) to the runtime data directory (/var/lib/grafana/plugins-bundled).

The error Directory not empty means that /var/lib/grafana/plugins-bundled already existed and contained files when the mv command tried to move the new bundled plugins there.

Note:

This is a known issue with Grafana v13.1.1: Upgrade to Grafana 13.1.1 had errors.


To resolve the EMS upgrade failure due to a Grafana package error, follow these steps:

  1. Run the command to rename the plugins-bundled directory.

sudo mv /var/lib/grafana/plugins-bundled /var/lib/grafana/plugins-bundled.bak


  1. Run the command to configure the packages.

sudo dpkg --configure -a


  1. Retry the upgrade process to complete the installation of FortiClient/EMS version 7.4.8.


By following these steps, the upgrade failure due to the Grafana package error should be resolved, and the FortiClientEMS upgrade should complete successfully.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!