Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run the project with docker image #62

Closed
chicco-carone opened this issue Jan 22, 2025 · 8 comments
Closed

Cannot run the project with docker image #62

chicco-carone opened this issue Jan 22, 2025 · 8 comments

Comments

@chicco-carone
Copy link

After downloading the .env and docker compose file from the repo and running docker compose up i get this error:

[+] Running 2/2
 ✘ web Error     manifest unknown                                                                                                                       1.8s
 ✘ backend Error manifest unknown                                                                                                                       1.8s
Error response from daemon: manifest unknown
@RMI78
Copy link
Contributor

RMI78 commented Feb 1, 2025

Hi, indeed got the same error, I will work on it. It seems to be an error with tags by the end of each images. A quickfix for you would be to set it to "latest" so each line so change

image: ghcr.io/zeecka/aperisolve-web:2.2

and

image: ghcr.io/zeecka/aperisolve-backend:2.2

to

image: ghcr.io/zeecka/aperisolve-web:latest

and

image: ghcr.io/zeecka/aperisolve-backend:latest

Should solve your issue, don't forget to close if it works !

@chicco-carone
Copy link
Author

Now the project starts fine but if i try to upload an image it never works and gives out lots of errors. I copied the compose and .env file without changing anything.

logs.log

@Zeecka
Copy link
Owner

Zeecka commented Feb 2, 2025

I have just tested and it works fine with @RMI78 fix.

  • Can you try with a smallest PNG image ?
  • Did you remove your Docker cache ?

If you don't mind about the other docker running on your host, you can clear all containers/caches/volumes and start again :

sudo docker kill $(sudo docker ps -a -q)
sudo docker rm -f $(sudo docker ps -a -q)
sudo docker container prune -f --all
sudo docker image rm -f $(sudo docker image ls -a -q)
sudo docker volume rm -f $(sudo docker volume ls -q)
sudo docker image prune -f --all
sudo docker volume prune -f --all
git clone https://github.com/Zeecka/AperiSolve.git aperisolve_issue62
cd aperisolve_issue62
docker compose up

@chicco-carone
Copy link
Author

I tried with a 150 x 100 image and it still doesn't work. I tried it on my desktop and when i opened the issue it was on my laptop so I never ran it on this machine so I don't think it is a cache issue

@Zeecka
Copy link
Owner

Zeecka commented Feb 2, 2025

Any client side logs?
Can you give your browser version+ console log ?
I'll try to reproduce

@Zeecka
Copy link
Owner

Zeecka commented Feb 2, 2025

Can't reproduce, here are my logs (works well) logs.txt

@chicco-carone
Copy link
Author

I use zen browser (firefox based) 1.7.2b-1

This is the only error from the browser console

Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
    onreadystatechange http://localhost:5000/static/script_upload.js:124
script_upload.js:124:25
    onreadystatechange http://localhost:5000/static/script_upload.js:124

And these are the logs from docker: logs.log

@RMI78
Copy link
Contributor

RMI78 commented Feb 4, 2025

Not to ring any alarm but I once uploaded an image in Aperisolve which resulted in the frontend not reacting on my browser, this happened once and I constantly postpone the troubleshooting as I don't consider it relevant. Maybe it is related. Can you provide the image you tried to upload so we can reproduce the error ? If this is too personnal we'll try our best without

Edit: I feel like we are troubleshooting multiple issues as this is something different. It would be awesome from you to open another issue to clearly state the difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants