diff --git a/application/Espo/Core/Upgrades/Actions/Base.php b/application/Espo/Core/Upgrades/Actions/Base.php index 1cba19ea59..1bedd10bc6 100644 --- a/application/Espo/Core/Upgrades/Actions/Base.php +++ b/application/Espo/Core/Upgrades/Actions/Base.php @@ -760,7 +760,8 @@ abstract class Base protected function checkIsWritable() { - $fullFileList = array_merge($this->getDeleteFileList(), $this->getCopyFileList()); + $backupPath = $this->getPath('backupPath'); + $fullFileList = array_merge([$backupPath], $this->getDeleteFileList(), $this->getCopyFileList()); $result = $this->getFileManager()->isWritableList($fullFileList); if (!$result) {