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

Continuously failed during [+] I05_ emba_docker_image_dl #1391

Open
coderjingluo opened this issue Nov 28, 2024 · 17 comments
Open

Continuously failed during [+] I05_ emba_docker_image_dl #1391

coderjingluo opened this issue Nov 28, 2024 · 17 comments
Labels
can't reproduce Further details needed as we are not able to reproduce this issue EMBA Installation Installation issues

Comments

@coderjingluo
Copy link

Describe the bug
Continuously failed during [+] I05_ emba_docker_image_dl

To Reproduce
Steps to reproduce the behavior:

  1. sudo ./installer.sh -d or sudo -E ./installer.sh -d

Expected behavior
Continuously failed during [+] I05_ emba_docker_image_dl

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • Kali Linux 2024.03
  • EMBA version: current master branch
  • Installation method: default with up to date docker image

Priority issue
Are you already a Sponsor? - [Y/N]

Additional context
Add any other context about the problem here.

Copy link

Thank you for contributing an issue!

Welcome to the EMBA firmware analysis community!

We are glad you are here and appreciate your contribution. Please keep in mind our contributing guidelines here and here.
Also, please check existing open issues and consider to open a discussion in the dedicated discussion area.
Additionally, we have collected a lot of details around EMBA, the installation and the usage of EMBA in our Wiki.

If you like EMBA you have the chance to support us by becoming a Sponsor or buying some beer here.

To show your love for EMBA with nice shirts or other merch you can check our Spreadshop.

This is an automatic message. Allow for time for the EMBA community to be able to read the issue and comment on it.

@coderjingluo
Copy link
Author

image

@m-1-k-3 m-1-k-3 added Installation Installation issues EMBA labels Nov 28, 2024
@m-1-k-3
Copy link
Member

m-1-k-3 commented Dec 2, 2024

Could you try to download the docker image manually:

sudo docker pull embeddedanalyzer/emba:1.5.0b

@m-1-k-3 m-1-k-3 added the can't reproduce Further details needed as we are not able to reproduce this issue label Dec 2, 2024
@coderjingluo
Copy link
Author

When enough docker image sources are added, sudo docker pull embeddedanalyzer/emba can be downloaded successfully, but what operations need to be performed after the download is successful to achieve the same effect as I05_emba_docker_image_dl? Do you need to execute sudo docker-compse build emba afterwards?

@coderjingluo
Copy link
Author

image
This is done by downloading sudo docker pull embeddedanalyzer/emba.

@m-1-k-3
Copy link
Member

m-1-k-3 commented Dec 3, 2024

Looks good. As EMBA is checking for a specific tag (see docker-compose) you need to tag your base image now (see here):

sudo docker tag embeddedanalyzer/emba:latest embeddedanalyzer/emba:1.5.0b

With this in place I think the installer should realize the image and should proceed

@coderjingluo
Copy link
Author

At this time, should I remove the I05 in the installer.sh file and run it? I tried it once, but there is no error in the back, but when I use emba, the report I get is empty

@coderjingluo
Copy link
Author

image
Run emba, then emba ends quickly and the report is empty
image
The virtual machine is configured as 4G and 2 core

@m-1-k-3
Copy link
Member

m-1-k-3 commented Dec 3, 2024

what says the docker logs monitoring?

@coderjingluo
Copy link
Author

docker logs emba_emba_run_fb6c14498db7 -f
image

image
docker logs emba_emba_quest_run_cfbabd6d8273 -f
image

@m-1-k-3
Copy link
Member

m-1-k-3 commented Dec 3, 2024

ok, there is an issue with your dependencies from your docker base image. For me it looks as you got some other latest image. Please remove your docker images and then re-pull them the following way:

sudo docker pull embeddedanalyzer/emba:1.5.0b
sudo docker tag embeddedanalyzer/emba:1.5.0b embeddedanalyzer/emba:latest

@m-1-k-3
Copy link
Member

m-1-k-3 commented Dec 3, 2024

I have now found the issue with the wrong docker base image. The latest tag is not pointing to the correct image. I will fix this,

@coderjingluo
Copy link
Author

When using docker to pull, you must specify the version, otherwise it will pull to other versions of the image.

@m-1-k-3
Copy link
Member

m-1-k-3 commented Dec 3, 2024

latest and 1.5.0b should now reference the same docker base image
You can also check here https://hub.docker.com/r/embeddedanalyzer/emba/tags

@psparc82
Copy link

psparc82 commented Dec 5, 2024

same issue. Deleting the old docker images and running

sudo docker pull embeddedanalyzer/emba:1.5.0b
sudo docker tag embeddedanalyzer/emba:1.5.0b embeddedanalyzer/emba:latest

and then running sudo ./installer.sh -d gives the same error. Is this the correct order of commands I need to run and will this break future updates as I've tagged v1.5.0b as the latest but it won't be the latest in future releases?

@m-1-k-3
Copy link
Member

m-1-k-3 commented Dec 5, 2024

I do not know what is the issue with your docker environment. As you are able to download the docker image manually I would go ahead and comment the following line

I05_emba_docker_image_dl

With this the installer should proceed.

@m-1-k-3
Copy link
Member

m-1-k-3 commented Dec 15, 2024

Installation finished?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce Further details needed as we are not able to reproduce this issue EMBA Installation Installation issues
Projects
None yet
Development

No branches or pull requests

3 participants