Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

anbox not opening on Debian buster v 10 : Staring and closing/crashing automatically #1737

Open
rmka92 opened this issue Jan 25, 2021 · 6 comments
Labels

Comments

@rmka92
Copy link

rmka92 commented Jan 25, 2021

  1. Please check that no similar bug is already reported. Have a look on the list of open bugs at https://github.com/anbox/anbox/issues

  2. Make sure you are running the latest version of Anbox before reporting an issue. Update snap to latest: snap refresh --devmode --edge anbox

  3. Make sure you have debug logs enabled:
    sudo snap set anbox debug.enable=true

  4. Reproduce the error while debug logs enabled.

  5. Run the anbox logs collection utility and attach the tar file.
    sudo /snap/bin/anbox.collect-bug-info

  6. ** Please paste the result of anbox system-info below:**

anbox system-info output
[please paste printout of `anbox system-info` here]

+ dmesg
+ set +x
Generating archive with all log files in /home/*** ...
  adding: console.log (deflated 90%)
  adding: container-manager.log (deflated 16%)
  adding: container.log (deflated 88%)
  adding: kernel.log (deflated 78%)
  adding: system-info.log (deflated 62%)
  adding: system.log (deflated 90%)
DONE!
[anbox-system-diagnostics-2021-01-25.zip](https://github.com/anbox/anbox/files/5868408/anbox-system-diagnostics-2021-01-25.zip)

Please describe your problem:
can we able to install anbox on debian v10.00 buster . is anbox supporting distro for debian . if yes help me. I have installed using snap . there anbox opener icon in my menu but when i was open its starting and closing automatically .

anbox-debian

What were you expecting?:

please verify and provide suggestions

Additional info:
please let me know if any info required

@rmka92 rmka92 changed the title anbox not opening : Staring and closing/crashing automatically anbox not opening on Debian buster v 10 : Staring and closing/crashing automatically Jan 25, 2021
@Civil
Copy link

Civil commented Jan 31, 2021

I've had similar problem on Debian Sid with packages provided by debian (installed anbox as sudo apt install anbox).

After a bit of digging I've found that anbox-container-manager service was unable to start because there was no /var/lib/anbox/android.img installed. I've downloaded android-7.1.1 image and placed it there, since then it seems to work fine for me.

P.S. In your logs container-manager.log is empty so it's not really possible to verify if you have same problem as I did.

@Rubix-1
Copy link

Rubix-1 commented Mar 26, 2021

I've had similar problem on Debian Sid with packages provided by debian (installed anbox as sudo apt install anbox).

After a bit of digging I've found that anbox-container-manager service was unable to start because there was no /var/lib/anbox/android.img installed. I've downloaded android-7.1.1 image and placed it there, since then it seems to work fine for me.

P.S. In your logs container-manager.log is empty so it's not really possible to verify if you have same problem as I did.

I don't even have anbox folder in /var/lib

@Civil
Copy link

Civil commented Mar 26, 2021

You should create it then and place android image to it. At least by default anbox is looking for a file at that path and if it's not there it will fail to start.

I'm not sure though if for snap the path is still the same, I've used just packages that was in debian repo, but symptoms looked the same when I didn't have android image.

@Rubix-1
Copy link

Rubix-1 commented Mar 28, 2021

You should create it then and place android image to it. At least by default anbox is looking for a file at that path and if it's not there it will fail to start.

I'm not sure though if for snap the path is still the same, I've used just packages that was in debian repo, but symptoms looked the same when I didn't have android image.

Where can I download the image

@Civil
Copy link

Civil commented Mar 28, 2021

@Rubix-1 http://build.anbox.io/android-images/2018/07/19/android_amd64.img - that's android 7.1.1 with patchset from ~July 2018. I don't know if you can find anything newer. But you can try to search for "androix x86-64".

@stale
Copy link

stale bot commented Apr 27, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the decaying label Apr 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants