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

Error: EBUSY: resource busy or locked #5164

Closed
StitchC opened this issue Jul 23, 2020 · 3 comments
Closed

Error: EBUSY: resource busy or locked #5164

StitchC opened this issue Jul 23, 2020 · 3 comments
Labels

Comments

@StitchC
Copy link

StitchC commented Jul 23, 2020

  • Version: 20.38.5:
  • Electron Version: 4.1.4:
  • Electron Type (current, beta, nightly)none:
  • using built-in autoUpdater
  • Target: win:

auto-update throw error when download resource finish, see below:


{ Error: EBUSY: resource busy or locked, rename 'C:\Users\admin\AppData\Local\vipthink-test-online-updater\pending\temp-vipthink-test-online_win_2.2.1.exe' -> 'C:\Users\admin\AppData\Local\vipthink-test-online-updater\pending\vipthink-test-online_win_2.2.1.exe'
at O.M [as _captureStackTrace] (D:\工具\VIPThink-test-online\resources\app.asar\dist\main.js:1:1481962)
at new h (D:\工具\VIPThink-test-online\resources\app.asar\dist\main.js:1:1505292)
at D:\工具\VIPThink-test-online\resources\app.asar\dist\main.js:1:1508398
at t.NsisUpdater.executeDownload (D:\工具\VIPThink-test-online\resources\app.asar\dist\main.js:1:352973)
at t.NsisUpdater.executeDownload (D:\工具\VIPThink-test-online\resources\app.asar\dist\main.js:1:694666)
at t.NsisUpdater.doDownloadUpdate (D:\工具\VIPThink-test-online\resources\app.asar\dist\main.js:1:1804655)
at t.NsisUpdater.downloadUpdate (D:\工具\VIPThink-test-online\resources\app.asar\dist\main.js:1:349413)
at EventEmitter.value (D:\工具\VIPThink-test-online\resources\app.asar\dist\main.js:1:21375)
at EventEmitter.emit (events.js:182:13)
at WebContents. (D:\工具\VIPThink-test-online\resources\electron.asar\browser\api\web-contents.js:346:13)
at WebContents.emit (events.js:182:13)
cause:
{ Error: EBUSY: resource busy or locked, rename 'C:\Users\admin\AppData\Local\vipthink-test-online-updater\pending\temp-vipthink-test-online_win_2.2.1.exe' -> 'C:\Users\admin\AppData\Local\vipthink-test-online-updater\pending\vipthink-test-online_win_2.2.1.exe'
errno: -4082,
code: 'EBUSY',
syscall: 'rename',
path:
'C:\Users\admin\AppData\Local\vipthink-test-online-updater\pending\temp-vipthink-test-online_win_2.2.1.exe',
dest:
'C:\Users\admin\AppData\Local\vipthink-test-online-updater\pending\vipthink-test-online_win_2.2.1.exe' },
isOperational: true,
errno: -4082,
code: 'EBUSY',
syscall: 'rename',
path:
'C:\Users\admin\AppData\Local\vipthink-test-online-updater\pending\temp-vipthink-test-online_win_2.2.1.exe',
dest:
'C:\Users\admin\AppData\Local\vipthink-test-online-updater\pending\vipthink-test-online_win_2.2.1.exe' }


how i can solve this error, did i make some mistake on my config ?

@StitchC
Copy link
Author

StitchC commented Jul 31, 2020

any answer can provide ?

@stale
Copy link

stale bot commented Sep 30, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the backlog label Sep 30, 2020
@stale stale bot closed this as completed Oct 7, 2020
@datenreisender
Copy link

Looks like a duplicate of #6031.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants