CLI update on Windows cleanup can fail and mask the error

Offen
#5,426 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
28/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
php

Rechercherichtung

The payload names the leftover folders system/user/cache/ee_update and system/ee/updater, and the fallback cleanup that throws UnreadableFileException; start by finding where the updater runs its cleanup step. Reproducing needs a Windows environment, which the reporter cannot provide, so confirm the scope with a maintainer first. Done means a failed cleanup no longer masks a completed update and reports that manual cleanup is required.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

I can't test this myself for obvious reasons, but I have a user running into it.

CLI update on Windows fails during cleanup and masks the error with missing Flysystem exception

  • The update reached Cleaning up, suggesting the files and database had already updated.
  • Windows denied renaming/removing system/user/cache/ee_update.
  • EE’s fallback cleanup then failed with UnreadableFileException not found, masking the original problem.
  • The leftover system/ee/updater folder made the update appear incomplete.
  • EE should retry or defer cleanup on Windows and report “update completed, manual cleanup required” instead of presenting the whole update as failed.
Vorherrschende Sprache
PHP
Sterne
505
Forks
135
Ø Merge
3 T. 7 Std.
Gemergte PRs (30 T.)
7

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus ExpressionEngine/ExpressionEngine

Alle Issues in ExpressionEngine/ExpressionEngine

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.