InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: Windows 11 - update.bat reports that "v.2.2.5" or "latest" are both not "known branch name or tag."

Open Turkinolith opened this issue 3 years ago • 6 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

12GB

What happened?

When running the v2.2.4 to v2.2.5 update.bat I get a "'!INVOKE_AI_VERSION!' is not a known branch name or tag" regardless of the arguments I put into the command.

This occurs when double clicking the update.bat, when running it from the command line, and when running it from the command line as admin.

Screenshots

No response

Additional context

No response

Contact Details

No response

Turkinolith avatar Jan 01 '23 02:01 Turkinolith

Updating is temporarily disabled while we do the release. It will be possible to update later today.

lstein avatar Jan 01 '23 18:01 lstein

You can update the release by installing InvokeAI-installer-2.2.5-rc9 on the same folder where your older version is installed. This will not re download the model. Rather it will update only the UI components. After installation you should be able to see Model Manager. Right now Stable Diffusion 2.1 gives an error.

tarungupta83 avatar Jan 01 '23 18:01 tarungupta83

2.2.5 is released and the update script should work now. Let me know if you experience any issues with it.

lstein avatar Jan 01 '23 18:01 lstein

2.2.5 is released and the update script should work now. Let me know if you experience any issues with it.

Still getting " '{}' is not a known branch name or tag." for: default of "latest", v2.2.5, and 2.2.5

might not have fully propagated yet, will try again in a few hours.

Turkinolith avatar Jan 01 '23 18:01 Turkinolith

I was able to follow @tarungupta83 's suggestion and use the installer to "update" things. the update script still did not function for me as of 5 minutes ago. Will leave the bug here for tracking if anyone else encounters, but feel free to close as my specific instance is resolved.

Turkinolith avatar Jan 02 '23 03:01 Turkinolith

There has been no activity in this issue for 14 days. If this issue is still being experienced, please reply with an updated confirmation that the issue is still being experienced with the latest release.

github-actions[bot] avatar Mar 13 '23 06:03 github-actions[bot]

I have the same error, using 2.5.5 starting update.bat worked the last times, but since end of march i only get "latest is not a known branch" and it cancels Tried the last 5 days...

paccocino avatar Apr 02 '23 16:04 paccocino

Same here. Could it be a Python compatibility issue? My computer just updated to 3.11.3

UPDATE: reverting to python 3.10 and the problem persists

ecentinela avatar Apr 13 '23 08:04 ecentinela

I have the same issue.

mediashock avatar May 02 '23 13:05 mediashock

Updating from versions earlier than 2.3 is not supported, unfortunately. You will need to download the zip installer from the release page and run it, allowing it to install into your existing invokeai directory.

lstein avatar May 02 '23 14:05 lstein