Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RetroDECK: Failed upgrade fallback #749

Open
Lazorne opened this issue Mar 30, 2024 · 0 comments
Open

RetroDECK: Failed upgrade fallback #749

Lazorne opened this issue Mar 30, 2024 · 0 comments
Assignees
Labels
Enhancement 🪄 Any new feature request or suggestion Framework 🌐 The issue / suggestion is in the Framework / Back-End.

Comments

@Lazorne
Copy link
Collaborator

Lazorne commented Mar 30, 2024

What happend?

User monkeyx.net had a power outage / computer crash in the middle of a RetroDECK cooker upgrade.

[2024-03-30 10:27:16.948] [INFO] Showing a configurator_generic_dialog
[2024-03-30 10:27:19.346] [DEBUG] Directory "/home/tim/retrodeck/RetroDECK_Updates" already exists, skipping.
[2024-03-30 10:27:19.350] [INFO] Downloading version "cooker-0.8.0b-SpermCarps" in "/home/tim/retrodeck/RetroDECK_Updates/RetroDECK-cooker.flatpak" from url: "https://github.com/XargonWan/RetroDECK-cooker/releases/download/cooker-0.8.0b-SpermCarps/RetroDECK-cooker.flatpak"
[2024-03-30 10:30:25.856] [DEBUG] Uninstalling old RetroDECK flatpak
[2024-03-30 10:30:30.560] [DEBUG] Installing new flatpak file from: "/home/tim/retrodeck/RetroDECK_Updates/RetroDECK-cooker.flatpak"
[2024-03-30 10:30:30.564] [ERROR] Flatpak file "/home/tim/retrodeck/RetroDECK_Updates/RetroDECK-cooker.flatpak" NOT FOUND. Quitting
[2024-03-30 10:30:30.567] [INFO] Showing a configurator_generic_dialog
[2024-03-30 10:30:33.872] [INFO] Showing a configurator_generic_dialog

image

RetroDECK did not work at all after the crash, but it started to work again after a complete reinstall.

What is the solution?

We should make some kind of tracking if the upgrade process fails or is aborted and have a recovery & cleanup path that restarts the whole upgrade process from the start if possible.

@Lazorne Lazorne added Enhancement 🪄 Any new feature request or suggestion Framework 🌐 The issue / suggestion is in the Framework / Back-End. labels Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement 🪄 Any new feature request or suggestion Framework 🌐 The issue / suggestion is in the Framework / Back-End.
Projects
None yet
Development

No branches or pull requests

3 participants