-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Linux AppImage update unable to move downloaded file #8698
Comments
This should be caused by
|
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
I don't consider this issue to be stale because the linked pull-request is not merged or released yet |
erijo
added a commit
to erijo/electron-builder
that referenced
this issue
Jan 24, 2025
Revert move of space escape to BaseUpdater (from electron-userland#8403) and instead do it separately in DebUpdater, PacmanUpdater and RpmUpdater as this escape breaks AppImageUpdater. Fixes electron-userland#8698.
erijo
added a commit
to erijo/electron-builder
that referenced
this issue
Jan 24, 2025
Revert move of space escape to BaseUpdater (from electron-userland#8403) and instead do it separately in DebUpdater, PacmanUpdater and RpmUpdater as this escape breaks AppImageUpdater. Fixes electron-userland#8698.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Building the app works fine, but when the app finds an update, it downloads it to the cache folder, removes the old AppImage and then fails to move the downloaded file to the original AppImage location. The error states (translated) "mv: Executing stat not possible for '/home/username/.cache/app-name-updater/pending/APP Name.1.2.3-latest.4.AppImage': File not found". Copying the failed command into a terminal moves that file successfully.
Stack trace includes AppImageUpdater.doInstall in AppImageUpdater:88:42 and AppImageUpdater.install in BaseUpdater.js:61:25 and AppImageUpdater.quitAndInstall in BaseUpdater.js:15:34
The app name contains spaces, so the issue may be related to the fix that was introduced in 1c14820
The update was still working with electron-builder 25.0.3 and electron-updater 6.3.2. Tested on Ubuntu 24.04 and Debian 12 VMs.
The text was updated successfully, but these errors were encountered: