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

Docker container exits after pull #52

Open
Pablare opened this issue Jan 13, 2020 · 3 comments
Open

Docker container exits after pull #52

Pablare opened this issue Jan 13, 2020 · 3 comments

Comments

@Pablare
Copy link

Pablare commented Jan 13, 2020

I'm running a docker container with the following command
docker run -d --name playmaker \ -p 5000:5000 \ -v /srv/fdroid:/data/fdroid \ -e HTTPS_CERTFILE="/srv/https.crt" \ -e HTTPS_KEYFILE="/srv/https.key" \ -e LANG_LOCALE="en_UK" \ -e LANG_TIMEZONE="Europe/Berlin" \ -e DEVICE_CODE="oneplus3" \ nomore201/playmaker

but after succesfully pulling it isn't running so I try to start it again and docker start playmaker -i gives

error initializing fdroid repository CRITICAL: Android SDK path "/opt/android-sdk-linux" does not contain "platform-tools/"! CRITICAL: Unknown exception found! Traceback (most recent call last): File "/usr/bin/fdroid", line 147, in <module> main() File "/usr/bin/fdroid", line 124, in main mod.main() File "/usr/lib/python3/dist-packages/fdroidserver/init.py", line 125, in main os.mkdir('repo') PermissionError: [Errno 13] Permission denied: 'repo'

@nilsglow
Copy link

I have the same problem with a newly built image. There just is no /opt/android-sdk-linux/platform-tools/.

@basenc
Copy link

basenc commented Jan 20, 2020

Solved by manually installing and mounting android SDK platform tools
https://dl.google.com/android/repository/platform-tools_r29.0.5-linux.zip

volumes: 
  - "./platform-tools:/opt/android-sdk-linux/platform-tools"

@basenc
Copy link

basenc commented Jan 20, 2020

oh, there's already a better solution
#43 (comment)

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