SFDX CLI - Locked with an active writer?
Clash Royale CLAN TAG#URR8PPP
I'm getting the following error when trying to access the sfdx command :
Does any one know what's happening ?
I can't find anything here nor on the internet..
I tried re-installing the CLI + rebooting my PC, but it still persists.
EDIT : I tried sfdx update -->
salesforcedx cli
add a comment |
I'm getting the following error when trying to access the sfdx command :
Does any one know what's happening ?
I can't find anything here nor on the internet..
I tried re-installing the CLI + rebooting my PC, but it still persists.
EDIT : I tried sfdx update -->
salesforcedx cli
1
Looks like an update operation failed or got stuck and didn't remove its lock file. If you manually deleteupdate.lock
in the directory shown, does the issue resolve?
– David Reed
Feb 21 at 14:10
I'll try and edit this comment, I edited my post with a screenshot of "sfdx update" test ! Thanks ;)
– Alexis MASSON
Feb 21 at 14:16
Well ! It seems to work, thanks ;) Quick and efficient !
– Alexis MASSON
Feb 21 at 14:18
1
@AlexisMASSON You should mark David's answer as accepted.
– Jayant Das
Feb 21 at 15:22
Sorry, didn't see it, working on my project : just did it !
– Alexis MASSON
Feb 21 at 16:55
add a comment |
I'm getting the following error when trying to access the sfdx command :
Does any one know what's happening ?
I can't find anything here nor on the internet..
I tried re-installing the CLI + rebooting my PC, but it still persists.
EDIT : I tried sfdx update -->
salesforcedx cli
I'm getting the following error when trying to access the sfdx command :
Does any one know what's happening ?
I can't find anything here nor on the internet..
I tried re-installing the CLI + rebooting my PC, but it still persists.
EDIT : I tried sfdx update -->
salesforcedx cli
salesforcedx cli
edited Feb 21 at 14:17
Alexis MASSON
asked Feb 21 at 14:09
Alexis MASSONAlexis MASSON
34610
34610
1
Looks like an update operation failed or got stuck and didn't remove its lock file. If you manually deleteupdate.lock
in the directory shown, does the issue resolve?
– David Reed
Feb 21 at 14:10
I'll try and edit this comment, I edited my post with a screenshot of "sfdx update" test ! Thanks ;)
– Alexis MASSON
Feb 21 at 14:16
Well ! It seems to work, thanks ;) Quick and efficient !
– Alexis MASSON
Feb 21 at 14:18
1
@AlexisMASSON You should mark David's answer as accepted.
– Jayant Das
Feb 21 at 15:22
Sorry, didn't see it, working on my project : just did it !
– Alexis MASSON
Feb 21 at 16:55
add a comment |
1
Looks like an update operation failed or got stuck and didn't remove its lock file. If you manually deleteupdate.lock
in the directory shown, does the issue resolve?
– David Reed
Feb 21 at 14:10
I'll try and edit this comment, I edited my post with a screenshot of "sfdx update" test ! Thanks ;)
– Alexis MASSON
Feb 21 at 14:16
Well ! It seems to work, thanks ;) Quick and efficient !
– Alexis MASSON
Feb 21 at 14:18
1
@AlexisMASSON You should mark David's answer as accepted.
– Jayant Das
Feb 21 at 15:22
Sorry, didn't see it, working on my project : just did it !
– Alexis MASSON
Feb 21 at 16:55
1
1
Looks like an update operation failed or got stuck and didn't remove its lock file. If you manually delete
update.lock
in the directory shown, does the issue resolve?– David Reed
Feb 21 at 14:10
Looks like an update operation failed or got stuck and didn't remove its lock file. If you manually delete
update.lock
in the directory shown, does the issue resolve?– David Reed
Feb 21 at 14:10
I'll try and edit this comment, I edited my post with a screenshot of "sfdx update" test ! Thanks ;)
– Alexis MASSON
Feb 21 at 14:16
I'll try and edit this comment, I edited my post with a screenshot of "sfdx update" test ! Thanks ;)
– Alexis MASSON
Feb 21 at 14:16
Well ! It seems to work, thanks ;) Quick and efficient !
– Alexis MASSON
Feb 21 at 14:18
Well ! It seems to work, thanks ;) Quick and efficient !
– Alexis MASSON
Feb 21 at 14:18
1
1
@AlexisMASSON You should mark David's answer as accepted.
– Jayant Das
Feb 21 at 15:22
@AlexisMASSON You should mark David's answer as accepted.
– Jayant Das
Feb 21 at 15:22
Sorry, didn't see it, working on my project : just did it !
– Alexis MASSON
Feb 21 at 16:55
Sorry, didn't see it, working on my project : just did it !
– Alexis MASSON
Feb 21 at 16:55
add a comment |
1 Answer
1
active
oldest
votes
Sometimes processes fail unexpectedly and leave behind lock files. In most cases you should be able to manually remove the file by navigating to your local AppData
folder (the file will live elsewhere on other operating systems) and deleting it from your file manager.
Sounds like you've been able to resolve this issue just by removing update.lock
.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "459"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f251204%2fsfdx-cli-locked-with-an-active-writer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sometimes processes fail unexpectedly and leave behind lock files. In most cases you should be able to manually remove the file by navigating to your local AppData
folder (the file will live elsewhere on other operating systems) and deleting it from your file manager.
Sounds like you've been able to resolve this issue just by removing update.lock
.
add a comment |
Sometimes processes fail unexpectedly and leave behind lock files. In most cases you should be able to manually remove the file by navigating to your local AppData
folder (the file will live elsewhere on other operating systems) and deleting it from your file manager.
Sounds like you've been able to resolve this issue just by removing update.lock
.
add a comment |
Sometimes processes fail unexpectedly and leave behind lock files. In most cases you should be able to manually remove the file by navigating to your local AppData
folder (the file will live elsewhere on other operating systems) and deleting it from your file manager.
Sounds like you've been able to resolve this issue just by removing update.lock
.
Sometimes processes fail unexpectedly and leave behind lock files. In most cases you should be able to manually remove the file by navigating to your local AppData
folder (the file will live elsewhere on other operating systems) and deleting it from your file manager.
Sounds like you've been able to resolve this issue just by removing update.lock
.
answered Feb 21 at 14:20
David ReedDavid Reed
37.4k82256
37.4k82256
add a comment |
add a comment |
Thanks for contributing an answer to Salesforce Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f251204%2fsfdx-cli-locked-with-an-active-writer%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Looks like an update operation failed or got stuck and didn't remove its lock file. If you manually delete
update.lock
in the directory shown, does the issue resolve?– David Reed
Feb 21 at 14:10
I'll try and edit this comment, I edited my post with a screenshot of "sfdx update" test ! Thanks ;)
– Alexis MASSON
Feb 21 at 14:16
Well ! It seems to work, thanks ;) Quick and efficient !
– Alexis MASSON
Feb 21 at 14:18
1
@AlexisMASSON You should mark David's answer as accepted.
– Jayant Das
Feb 21 at 15:22
Sorry, didn't see it, working on my project : just did it !
– Alexis MASSON
Feb 21 at 16:55