Git Product home page Git Product logo

Comments (17)

psychedelicious avatar psychedelicious commented on May 29, 2024 1

Thanks. Just to confirm, are you using the process outlined in the docker/ dir in the repo root?

from invokeai.

psychedelicious avatar psychedelicious commented on May 29, 2024

What happens when you click the invoke button? Any errors?

from invokeai.

tdpires avatar tdpires commented on May 29, 2024

I get a red queue error in the bottom right corner.

from invokeai.

psychedelicious avatar psychedelicious commented on May 29, 2024

Sorry, I should have been more clear. Do you see any errors in the JavaScript console and or terminal?

Please copy and paste the full terminal output with startup messages.

from invokeai.

tdpires avatar tdpires commented on May 29, 2024

That button actually doesn't do anything now:
Screenshot 2024-02-18 at 4 21 07 PM

from invokeai.

tdpires avatar tdpires commented on May 29, 2024

These are my console errors:

Screenshot 2024-02-18 at 4 38 54 PM

from invokeai.

tdpires avatar tdpires commented on May 29, 2024

Here is my build output in Docker, which is successful:
docker output.txt
But then i get this after the build in the cosole:
[2024-02-19 02:01:15,736]::[InvokeAI]::WARNING --> Could not modify the config file at /invokeai/configs/models.yaml
[2024-02-19 02:01:15,736]::[InvokeAI]::WARNING --> [Errno 13] Permission denied: '/invokeai/configs/new_config.tmp'
[2024-02-19 02:01:15,737]::[InvokeAI]::WARNING --> Could not modify the config file at /invokeai/configs/models.yaml
[2024-02-19 02:01:15,737]::[InvokeAI]::WARNING --> [Errno 13] Permission denied: '/invokeai/configs/new_config.tmp'

from invokeai.

tdpires avatar tdpires commented on May 29, 2024

Invokeai.yaml file:

InvokeAI:
Web Server:
host: 0.0.0.0
port: 9090
allow_origins: ['']
allow_credentials: true
allow_methods:
- ''
allow_headers:
- '
'
Features:
esrgan: true
internet_available: true
log_tokenization: false
patchmatch: true
Memory/Performance:
always_use_cpu: false
free_gpu_mem: false
max_cache_size: 6.0
max_vram_cache_size: 5.0
precision: auto
sequential_guidance: false
xformers_enabled: true
tiled_decode: false
Paths:
autoimport_dir: autoimport
lora_dir: null
embedding_dir: null
controlnet_dir: null
conf_path: configs/models.yaml
models_dir: models
legacy_conf_dir: configs/stable-diffusion
db_dir: databases
outdir: /data/outputs # set to /data/outputs if you have persistent storage
use_memory_db: true
Logging:
log_handlers:
- console
log_format: color
log_level: warning

from invokeai.

tdpires avatar tdpires commented on May 29, 2024

Yes, I am. This used to work; however, after updating to 3.6, it stopped. I tried 3.7 when it came out but it has the same issue. More info: we ran this on a private huggingface space with persistent storage and an A10G (24GB VRAM) space and it would run very fast for us.

EDIT: I would like to add, this is a fresh install.

This is failed request example. Fetching an asset (en.json) that exists in the dist folder on the container.

Screenshot 2024-02-19 at 4 20 36 PM

from invokeai.

tdpires avatar tdpires commented on May 29, 2024

It looks like the url is swapped when building using fetchBaseQuery. Instead of putting the asset after the URL, it's putting it after the __sign parameter:
https://yoursite.com/locale/en.json?__sign=XXXXXXXXXXXXXX
it's outputting
https://yoursite.com/?__sign=XXXXXXXXXXXXXX/locale/en.json

from invokeai.

tdpires avatar tdpires commented on May 29, 2024

I don't get a 404 when i swap the parameter and the asset it's trying to fetch. How do I fix this in the source?

from invokeai.

tdpires avatar tdpires commented on May 29, 2024

OK I think i figured it out. A private space requires a signed call to fetch and looks like the code is just inserting the the path to the end of the URL with the query instead of between the URL and the query.

from invokeai.

tdpires avatar tdpires commented on May 29, 2024

If there was a way to accommodate these types of URLs carrying extra params that would be great

from invokeai.

psychedelicious avatar psychedelicious commented on May 29, 2024

Good catch! I tried docker locally and didn't have this issue, and I didn't make the connection with the URL.

Ok, we can definitely support these URLs. There are a few places where we'll need to fix the URLs. I'll take care of it.

from invokeai.

hipsterusername avatar hipsterusername commented on May 29, 2024

Going to close this as I believe it's being tracked in a different issue/PR

from invokeai.

psychedelicious avatar psychedelicious commented on May 29, 2024

@hipsterusername which issue? This is the one afaik

from invokeai.

ijussit avatar ijussit commented on May 29, 2024

I updated Invoke to 3.7 today and had the same problem as in the picture above, in my case it was the browser.
bug

from invokeai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.