Stop update after the bench found changes

As we know in bench update command,
if there are changes in files the bench will ask us
Cannot proceed with an update: You have local changes in … etc,


now the system is Your system is being updated. Please refresh again after a few moments

in this situation I would like to stop the update, how can I do it!

Run bench update with --reset

bench update --site

This will wipe out all code changes done by you.

Hi @alkuhlani,

try

$ bench set-maintenance-mode off

this will disable the message and make the system available again. Resolve the issues in your apps and then update later…

6 Likes

thank you so much @lasalesi
it works.

thanks @saurabh6790 for your replay,
@lasalesi’s code, exactly what I mean.

thank u so much it resolved the issue