Closed coleintheville closed 9 months ago
I ran into this during upgrade as well. For me, the permissions issue was caused by Invoke creating a temporary copy of the pydantic package (this is your issue if you see a path like ~ydantic), then trying to write to that copy while it was in use. Windows is going to complain about that. I was able to delete the temporary copy between when I started Invoke and when I updated, and that fixed the issue for me.
The output you see is the next issue I ran into. I think there's an incompatibility between the format of the default graph in InvokeAI's SQLite database and the current version of the app. Wiping the database completely does eliminate the error, but does not result in a successful startup. I'll update if I find a DB change that works.
Truncating the graphs table will cause the default graphs to be recreated on the next invocation, and the errors will disappear. The remaining issue I'm having with my upgrade is a 404 on the / route, which seems to be independent of this.
That one is because the "dist" directory for the frontend is missing, and it will not populate a "/" route unless one exists.
The frontend issue should be fixed when this PR ships: https://github.com/invoke-ai/InvokeAI/pull/5298
I appreciate you responding to me, excuse my ignorance but what do you mean by "when this PR ships"? What does PR stand for?, when will it ship and what will I have to do to fix my issue? You can probably tell I'm not very knowledgeable when it comes to this stuff so I hope you'll excuse me for that, and again, thanks for the help.
PR is a pull request, a code change someone is proposing to the project. It has been accepted and merged into the main codebase, so it will ship with the next release of InvokeAI.
@mbarnathan the newest release candidate (3.5.0rc3) should have the fix for the missing frontend build
@coleintheville could you try re-installing the latest version of Invoke (3.4.0post2) again?
I think I have the same problem. I get a "Server Error Not Found" message when I try to generate a new image. Happens with both v3.4.0post2 and 3.5.0rc3. Was previously using an older version (forgot which one), and it was working fine.
Okay, I somehow fixed it. I previously used both chrome and edge to use invokeai back when it was working with an older version. And I got the error with both chrome and edge when I updated invoke.
I just tried firefox just now, which is a browser I never used invoke with before, and it finally worked fine. Then I went back to chrome and edge, and those browsers suddenly started working fine too. Maybe some weird browser cache thing was going on.
The graph library validation errors will be resolved by #5331.
Is there an existing issue for this?
OS
Windows
GPU
cuda
VRAM
No response
What version did you experience this issue on?
3.4 (latest)
What happened?
I was using Invoke 3.0 normally then I decided to update to the latest version, after trying to update with the script I was told that there was a problem with the permissions and the script couldn't update, I tried changing permissions in the folder that was stated by the script (at this point I can't remember which folder it was, I'm thinking it may have been .venv\Lib\site-packages, I changed permissions from Read & Write to Modify) after the change I couldn't start Invoke at all, I tried things from trying to repair the installation with the script to installing again on top of the existing installation, to installing fresh on a different drive, at this point I have 3 installs of Invoke (one is a fresh install, one is a backup copy of the og) with none of them working properly, the one whose script I copied and pasted here is my original install, the fresh install can run but when I open the web client I can't do anything, when I try to generate images I get a server error, and when I try to add an image I get a "can't upload image" popup, this here is the log when I try to run Invoke on my og install, what should I do?
Desired action:
[2023-12-14 02:20:20,239]::[uvicorn.error]::ERROR --> Application startup failed. Exiting. Task was destroyed but it is pending! task: <Task pending name='Task-3' coro=<FastAPIEventService.__dispatch_from_queue() running at C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\invokeai\app\api\events.py:48> wait_for=>
Desired action:
Screenshots
No response
Additional context
No response
Contact Details