#Wrong Runtime Directory

1 messages · Page 1 of 1 (latest)

sand galleon
#

I recently installed 2.2.4 and everyone I try to run invoke.sh, it’s gives a missing/misconfigured model file error and reruns the configure_invokeai. But running this doesn’t help because trying to run invoke.sh after gives me the same error, so I get stuck in a loop. After some investigating, it seems that invoke.sh thinks the runtime directory is $root/invokeai/invokeai when I set it to $root/invokeai. Modifying invokeai.init doesn’t seem to do anything. Is there any way I can reset the runtime directory location?

flat junco
#

#1051488966160953468

#

Root arg is now passed in calling invoke.py, not as a config arg.

sand galleon
#

But how do I get it to see the correct root directory?

flat junco
#

I believe that the current thinking is that users who want to "customize" the root will need to pass --root "folder path" on initializing invoke (option 3 on the launcher will be required)

sand galleon
#

The problem is that even I use the default directory in the config setup, I still run into the same problem. It sets it to a folder called invokeai inside the root invokeai directory, so it fails to find any models whenever I try to run invoke.sh and just reruns the configuration script again.

flat junco
#

you can move your old .invokeai to the invokeai runtime folder and rename it to invokeai.init

sand galleon
#

I tried that too, but that didn’t change anything.

flat junco
#

🤔

#

what folder does it mention looking for when it starts?

sand galleon
#

It looks for “$home/invokeai/invokeai” and starts looking for files there, which fails because there’s no folder there.

flat junco
#

hm... that is very odd

sand galleon
#

I think I figured something out. invokeai.sh seems append a /invokeai to the root directory when it starts up. If I move everything including invokeai.sh into a deeper folder called invokeai, invokeai.sh tries to append another layer when it starts up. But if I keep invokeai.sh in the top level and move the other files into the inner folder, it’s able to find the files and start running. I can at least get it to run to the command line, but now it crashes if I try to run the web interface.