SFDX CLI - Locked with an active writer?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












2















I'm getting the following error when trying to access the sfdx command :



enter image description here



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 -->



enter image description here










share|improve this question



















  • 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















2















I'm getting the following error when trying to access the sfdx command :



enter image description here



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 -->



enter image description here










share|improve this question



















  • 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













2












2








2








I'm getting the following error when trying to access the sfdx command :



enter image description here



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 -->



enter image description here










share|improve this question
















I'm getting the following error when trying to access the sfdx command :



enter image description here



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 -->



enter image description here







salesforcedx cli






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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












  • 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







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










1 Answer
1






active

oldest

votes


















3














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.






share|improve this answer






















    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
    );



    );













    draft saved

    draft discarded


















    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









    3














    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.






    share|improve this answer



























      3














      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.






      share|improve this answer

























        3












        3








        3







        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.






        share|improve this answer













        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 21 at 14:20









        David ReedDavid Reed

        37.4k82256




        37.4k82256



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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






            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?