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

bug: Getting error in docker - 'exec ./jiotv_go: exec format error' #231

Closed
3 tasks done
niravjdn opened this issue Jan 22, 2024 · 13 comments
Closed
3 tasks done

bug: Getting error in docker - 'exec ./jiotv_go: exec format error' #231

niravjdn opened this issue Jan 22, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@niravjdn
Copy link

Bug description

I'm trying to run it on raspberry pi which is arm based. Below is my docker compose and below is the error,

Steps to reproduce

  1. Put this stack in portainer or run it through command line.
version: '3'
services:
  jiotv_go:
    image: ghcr.io/rabilrbl/jiotv_go
    ports:
      - "5053:5001"
    volumes:
      - /DATA/AppData/JIO-TV/.jiotv_go/secrets:/app/secrets

Relevant log output

exec ./jiotv_go: exec format error

Screenshots or videos

image

Solution

No response

Additional context

No response

Acknowledgements

  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly.
@niravjdn niravjdn added the bug Something isn't working label Jan 22, 2024
@rabilrbl
Copy link
Owner

@niravjdn Any idea which specific version of arm? e.g. armv7

@niravjdn
Copy link
Author

This is my output of uname -a

Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

@rabilrbl
Copy link
Owner

rabilrbl commented Jan 23, 2024 via email

@rabilrbl
Copy link
Owner

@niravjdn Exec format error, simply means the binary running in docker was not designed for that particular architecture.

Not sure, how it is mixed up by docker.

@rabilrbl
Copy link
Owner

rabilrbl commented Jan 23, 2024

@niravjdn use this exact image and let me know

docker pull ghcr.io/rabilrbl/jiotv_go:sha-48ef712@sha256:c7a650fec4f20928ebb061cb6fc563291f13780b037c682c6851ac6fa9bab455

@niravjdn
Copy link
Author

@rabilrbl I tried that same image also, Ill update you after trying once more.

@niravjdn
Copy link
Author

niravjdn commented Jan 24, 2024

It works with below compose directly.

Harcoding docker image works.

version: '3'
services:
  jiotv_go:
    image: ghcr.io/rabilrbl/jiotv_go:sha-48ef712@sha256:c7a650fec4f20928ebb061cb6fc563291f13780b037c682c6851ac6fa9bab455
    ports:
      - "5053:5001"
    volumes:
      - /DATA/AppData/JIO-TV/.jiotv_go/secrets:/app/secrets

@niravjdn
Copy link
Author

niravjdn commented Jan 24, 2024

Does it work outside india? or it works on indian IP address only?

I'm not able to play vides.

@niravjdn
Copy link
Author

This is the output of below command, that might help you investigate what went wrong with docker not auto detecting proper image?

docker info --format '{{ .OSType }}/{{ .Architecture }}'
linux/aarch64

@rabilrbl
Copy link
Owner

Does it work outside india? or it works on indian IP address only?

I'm not able to play vides.

Geo blocked, india only

@rabilrbl
Copy link
Owner

It works with below compose directly.

Harcoding docker image works.

version: '3'
services:
  jiotv_go:
    image: ghcr.io/rabilrbl/jiotv_go:sha-48ef712@sha256:c7a650fec4f20928ebb061cb6fc563291f13780b037c682c6851ac6fa9bab455
    ports:
      - "5053:5001"
    volumes:
      - /DATA/AppData/JIO-TV/.jiotv_go/secrets:/app/secrets

Try normally without specifying. I had made minor change in dockerfile for v3

@rabilrbl
Copy link
Owner

@niravjdn Please respond. Will close this issue on stale

@niravjdn
Copy link
Author

niravjdn commented Jan 26, 2024

I'll try that today and update you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants