Replies: 2 comments 3 replies
-
Yes the update seems having some error for us yesterday, after updating my SD i get error, webui can open in browser but getting error n not work. After that i try to delete venv folder etc n run webui-user i still get a error, so after update for api fix has launched i decide to do a new clean installation on a new directory, doing git clone, edit webui-user to add arguments, moving all my checkpoints etc to new installation directory, run webui-user and finally it work again. set PYTHON= call webui.bat |
Beta Was this translation helpful? Give feedback.
-
WTF!! I still can't get this thing to launch!! ARRGGGhhh!!
|
Beta Was this translation helpful? Give feedback.
-
You can easily revert to the previous version that was working fine if you can't launch the new version to launch like myself and many others (everybody?) seem to be having trouble with.
I've never used GitHub before, so this is all new to me as well. GitHub's Discussion board UI is a complete mess, or I could be an idiot. Unsure. Either way, trying to chase breadcrumbs of responses across different topics is a PITA!!
Until the new version can be launched, you can choose to roll back a version if you like. Very easy. I'll explain as if you've never touched a line of code in your life!
Tip #1: Comment syntax. "Commenting out" just means "ignore this line of code". The Webui-user.bat is a batch script. You can comment out a line by using two colons :: or the letters "rem". Example in Notepad++ using batch script coloring scheme just to show you the two commenting out methods compared to the same lines that are not commented out.
Just make a mental note for later.
Rollback steps.
(Note - make a backup copy of webui-user.bat if you're worried about breaking it. Just click it in File Explorer, control + C, then Control + V to copy/paste a new version before you make edits .)
For me, the version on January 13th was working fine. You can copy that hash to your clipboard by clicking the two boxes:
Use "git checkout". Comment out any "git pull" you might have in your webui-user.bat ! Keep the command line arguments you were using for that version. Mine looks like this:

git checkout d500e58a65d99bfaa9c7bb0da6c3eb5704fadf25
Save the file, and then run it like you normally would. This should allow you to launch the WebUI. After the first time you launch the batch file, you can comment out the line with
git checkout d500e58a65d99bfaa9c7bb0da6c3eb5704fadf25
putrem
or::
in front of the line. This can be done while WebUI is running or later. Save it.You should see the console confirm a "Detached State" message:

Keep in mind, any new updates will not automatically download when your batch file is in this state. Great, how do I get back to the way it was?!
git checkout master
Save the changes to the file. Here's what mine looks like:Now, launch the webui-user.bat file. You should see a message saying you switched to the master branch:

Close the console out after it launches. Now back in the batch file, let's delete or comment out

git checkout master
and just use good ol'git pull
this time. Launch it and you should be back back to normal. Here's what mine looks like:NOTE - On the last steps when returning to normal, I THINK you can just do:
all at once, but not sure if that will cause problems. Like I said, this is the first GitHub project I've ever used and don't have much experience with it. PLEASE correct any part of this in the comments so that other users will have accurate info. Or if you know of a better/easier way, let us know!
Hope this helps those who are having trouble with new version so we can enjoy and leave the author to bug fixes!
Beta Was this translation helpful? Give feedback.
All reactions