Skip to content

Issue with Upgrade from 9.0.2 to 9.0.3 - Failed to remove directory: Directory not empty #1682

@joecoolio66

Description

@joecoolio66

Prerequisites

Describe the bug and add attachments

I reported this issue last September and it was referred to autoupgrade#1523 as a potential fix, but I can confirm that I received this error today upgrading 9.0.2 to 9.0.3. Afterwards we had to apply the SQL on the update manually to the DB (luckily it was only 1 query) and also luckily we keep our site up to date so no modules needed to be updated.

Why is this error still happening? What can we do to avoid it in the future? It's like roulette updating. We updated our backup fine.. this error occurred only in our PROD. The same situation as last time.

Expected behavior

No response

Steps to reproduce

Run the Update Assistant (7.5.1) and try updating 9.0.2 to 9.0.3. It appears that this error is somewhat random

PrestaShop version(s) where the bug happened

9.02

How you installed PrestaShop

Update Assistant

PHP version(s) where the bug happened

8.4

Your company or customer's name goes here (if applicable).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions