Revadike / epicgames-freebies-claimer

Claim available free game promotions from the Epic Games Store.
MIT License
2.23k stars 361 forks source link

Docker container crash on Debian #113

Closed SergioSV96 closed 3 years ago

SergioSV96 commented 3 years ago

Expected Behavior

I am using the command stated in the guide

Actual Behavior

It's supposed to give me a log output claiming the games, instead it crashes.

root@orangepipc:/media/server/epicgames-freebies-claimer# docker run --rm --volume "$(pwd)/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:latest
standard_init_linux.go:207: exec user process caused "exec format error"

Steps to Reproduce the Problem

  1. Run the command inside the folder where your device_auths.json file is
  2. Wait for the docker image to download
  3. Get this error: standard_init_linux.go:207: exec user process caused "exec format error"

Specifications

Revadike commented 3 years ago

@jackblk @Fzoss @marchenm @alexcote1 @nstrelow What will my docker experts say?

jackblk commented 3 years ago

@SergioSV96 is your system AMD64? I think maybe you're using ARM?

jackblk commented 3 years ago

Nevermind, I found that you're using orangepi, after a quick google I found that it is using ARMv7 CPU. Currently there's only image for AMD64 so it won't work on your system.

My bad, I will update the image for other architectures as long as Node supports it.

jackblk commented 3 years ago

@SergioSV96 Fixed, added images for multiple platforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x, linux/arm/v7, linux/arm/v6

I also updated the wiki. Please use new command here: https://github.com/Revadike/epicgames-freebies-claimer/wiki/User-Guide-(Docker)#maclinux. I added --pull always so that it will always check for latest image.

Please let me know if it works for you, I don't have ARM-based hardware so I cannot test, but it should work.

SergioSV96 commented 3 years ago

@SergioSV96 Fixed, added images for multiple platforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x, linux/arm/v7, linux/arm/v6

I also updated the wiki. Please use new command here: https://github.com/Revadike/epicgames-freebies-claimer/wiki/User-Guide-(Docker)#maclinux. I added --pull always so that it will always check for latest image.

Please let me know if it works for you, I don't have ARM-based hardware so I cannot test, but it should work.

root@orangepipc:/media/server/epicgames-freebies-claimer# docker run --rm -it --volume "$(pwd)/device_auths.json:/app/de
vice_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:latest
Unable to find image 'ghcr.io/jackblk/epicgames-freebies-claimer:latest' locally
latest: Pulling from jackblk/epicgames-freebies-claimer
e160e00eb35d: Pull complete
94a33ee36567: Pull complete
7f0eeb36f5ce: Pull complete
37df595574e8: Pull complete
b90a6c247290: Pull complete
3eb12e5ea84b: Pull complete
71882b1518ab: Pull complete
Digest: sha256:bdd11c980905a5236f7b1896a72e4b998e1f5740d964b1ff90a486aa37ac2822
Status: Downloaded newer image for ghcr.io/jackblk/epicgames-freebies-claimer:latest

#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0xbec0d5ec

I downloaded the latest image, but on another notice, --pull always command won't work either so I did it manually

root@orangepipc:/media/server/epicgames-freebies-claimer# docker run --rm --pull always -it --volume "$(pwd)/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:latest
unknown flag: --pull
See 'docker run --help'.
jackblk commented 3 years ago

@SergioSV96 wow that's weird, maybe your Docker version does not support --pull? Can you do a quick docker version and copy the log here?

About the failure, looking at your log, it's downloading the image for amd64 but you need to get ARMv7 image. I'm not sure why your Docker still downloads the image for amd64, it should download the right one automatically.

Use this one to pull the right one: docker pull ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:4e312f8c9aef6659480da758acab11c07de350f9a82698608e5d8732b3550f78. Please try again!

With the log from docker version I might know why it happens.

Edit: on the side note, I will emulate ARM on QEMU and test it.

SergioSV96 commented 3 years ago

@SergioSV96 wow that's weird, maybe your Docker version does not support --pull? Can you do a quick docker version and copy the log here?

Docker version 18.09.1, build 4c52b90

About the failure, looking at your log, it's downloading the image for amd64 but you need to get ARMv7 image. I'm not sure why your Docker still downloads the image for amd64, it should download the right one automatically.

Use this one to pull the right one: docker pull ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:4e312f8c9aef6659480da758acab11c07de350f9a82698608e5d8732b3550f78. Please try again!

root@orangepipc:/media/server/epicgames-freebies-claimer# docker run --rm -it --volume "$(pwd)/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:4e312f8c9aef6659480da758acab11c07de350f9a82698608e5d8732b3550f78

#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0xbe9385ec

I think this time it opened the terminal but nothing happened, I pressed ENTER a few times and it just crashed :S

With the log from docker version I might know why it happens.

Edit: on the side note, I will emulate ARM on QEMU and test it.

jackblk commented 3 years ago

@SergioSV96 can you copy full log of docker version, there are other info I need to know. BTW your docker version is released in 2019, not too old but can you upgrade?

I'm emulating on my side, let me check if the image is usable for ARM or not.

SergioSV96 commented 3 years ago

@SergioSV96 can you copy full log of docker version, there are other info I need to know. BTW your docker version is released in 2019, not too old but can you upgrade?

I'm emulating on my side, let me check if the image is usable for ARM or not.

Yes sorry I forgot to copy the full command:

root@orangepipc:/media/server/epicgames-freebies-claimer# docker version
Client:
 Version:           18.09.1
 API version:       1.39
 Go version:        go1.11.6
 Git commit:        4c52b90
 Built:             Sun, 21 Feb 2021 18:18:35 +0100
 OS/Arch:           linux/arm
 Experimental:      false

Server:
 Engine:
  Version:          18.09.1
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.11.6
  Git commit:       4c52b90
  Built:            Sun Feb 21 17:18:35 2021
  OS/Arch:          linux/arm
  Experimental:     false

I am trying to upgrade but it says I'm on latest version, I may need to look for something else

marchenm commented 3 years ago

sounds like a node or alpine issues with armv7. Can you try running the armv6 image ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:4e703f6767da0032531c2f316a325945f314199b673f3ceec7e3d95201590a59

SergioSV96 commented 3 years ago

sounds like a node or alpine issues with armv7. Can you try running the armv6 image ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:4e703f6767da0032531c2f316a325945f314199b673f3ceec7e3d95201590a59

root@orangepipc:/media/server/epicgames-freebies-claimer# docker run --rm -it --volume "$(pwd)/device_auths.json:/app/de
vice_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:4e703f6767da0032531c2f316a325945f314199b673f3ce
ec7e3d95201590a59
Unable to find image 'ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:4e703f6767da0032531c2f316a325945f314199b673f3ceec7e3d95201590a59' locally
sha256:4e703f6767da0032531c2f316a325945f314199b673f3ceec7e3d95201590a59: Pulling from jackblk/epicgames-freebies-claimer
740c950346cf: Pull complete
ad1b30218f7d: Pull complete
f19961a3917c: Pull complete
d498297056dd: Pull complete
2be5a6a65eaa: Pull complete
9802e2205044: Pull complete
2e17a9cfc23c: Pull complete
Digest: sha256:4e703f6767da0032531c2f316a325945f314199b673f3ceec7e3d95201590a59
Status: Downloaded newer image for ghcr.io/jackblk/epicgames-freebies-claimer@sha256:4e703f6767da0032531c2f316a325945f314199b673f3ceec7e3d95201590a59

#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0xbedf45f4

It still crashes :(, btw is there a tag for the different architectures? that might be easier to manage maybe

jackblk commented 3 years ago

@SergioSV96 You can check other archs here, tab "OS / Arch": https://github.com/jackblk/epicgames-freebies-claimer/pkgs/container/epicgames-freebies-claimer

But I think you can only use ARM-based images. What's the model of your OrangePi?

Edit: try arm64 docker pull ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:a8ff0520cba125b5da537093933bb80f0114ff6d3b624a983916f5bbb9c7cd01

Can you try to reinstall docker?

Please uninstall the old version with sudo apt-get remove docker docker-engine docker.io containerd runc first and install the rapsberian version https://docs.docker.com/engine/install/debian/#install-using-the-convenience-script

SergioSV96 commented 3 years ago

@SergioSV96 You can check other archs here, tab "OS / Arch": https://github.com/jackblk/epicgames-freebies-claimer/pkgs/container/epicgames-freebies-claimer

But I think you can only use ARM-based images. What's the model of your OrangePi?

The Orange Pi PC

Edit: try arm64 docker pull ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:a8ff0520cba125b5da537093933bb80f0114ff6d3b624a983916f5bbb9c7cd01

root@orangepipc:/media/server/epicgames-freebies-claimer# docker run --rm -it --volume "$(pwd)/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:a8ff0520cba125b5da537093933bb80f0114ff6d3b624a9
83916f5bbb9c7cd01
Unable to find image 'ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:a8ff0520cba125b5da537093933bb80f0114ff6d3b624a983916f5bbb9c7cd01' locally
sha256:a8ff0520cba125b5da537093933bb80f0114ff6d3b624a983916f5bbb9c7cd01: Pulling from jackblk/epicgames-freebies-claimer
595b0fe564bb: Pull complete
5dfd4491211c: Pull complete
ca4832019c53: Pull complete
03b7f3415b19: Pull complete
8d4f8e0d16f4: Pull complete
3eb12e5ea84b: Pull complete
be0e27327a3c: Pull complete
Digest: sha256:a8ff0520cba125b5da537093933bb80f0114ff6d3b624a983916f5bbb9c7cd01
Status: Downloaded newer image for ghcr.io/jackblk/epicgames-freebies-claimer@sha256:a8ff0520cba125b5da537093933bb80f0114ff6d3b624a983916f5bbb9c7cd01
standard_init_linux.go:207: exec user process caused "exec format error"

Can you try to reinstall docker?

Please uninstall the old version with sudo apt-get remove docker docker-engine docker.io containerd runc first and install the rapsberian version https://docs.docker.com/engine/install/debian/#install-using-the-convenience-script

I will try reinstalling docker later today (I have some sensitive containers running currently)

marchenm commented 3 years ago

do you have node installed on the device? can you run the code instead of the container?

jackblk commented 3 years ago

I've tried linux/arm/v7 version on an emulator, it runs fine. Here's my command.

docker run --rm --pull always -it --volume "$(pwd)/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:4e312f8c9aef6659480da758acab11c07de350f9a82698608e5d8732b3550f78

Please let me know if it works after reinstalling docker.

jackblk commented 3 years ago

I got a Raspberry Pi 2B from a friend, it is using ARM Cortex-A7 CPU (same arch with your CPU).

With Docker 20.10.7, it can work with the command I wrote in wiki, meaning it works with --pull always and also automatically grabs the right arch image (armv7) without needing to specify the version@SHA256.

So after running it on both emulator & real device, I think the problem is with your Docker. Maybe reinstalling it with the newest version will work.

Here's my log if you're interested

osmc@osmc:~/code/epicgames-freebies-claimer$ docker version
Client: Docker Engine - Community
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        f0df350
 Built:             Wed Jun  2 11:57:27 2021
 OS/Arch:           linux/arm
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       b0f5bc3
  Built:            Wed Jun  2 11:55:25 2021
  OS/Arch:          linux/arm
  Experimental:     false
 containerd:
  Version:          1.4.6
  GitCommit:        d71fcd7d8303cbf684402823e425e9dd2e99285d
 runc:
  Version:          1.0.0-rc95
  GitCommit:        b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
osmc@osmc:~/code/epicgames-freebies-claimer$ docker run --rm --pull always -it --volume "$(pwd)/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:latest

latest: Pulling from jackblk/epicgames-freebies-claimer
e160e00eb35d: Pull complete
94a33ee36567: Pull complete
7f0eeb36f5ce: Pull complete
37df595574e8: Pull complete
b90a6c247290: Pull complete
3eb12e5ea84b: Pull complete
71882b1518ab: Pull complete
Digest: sha256:bdd11c980905a5236f7b1896a72e4b998e1f5740d964b1ff90a486aa37ac2822
Status: Downloaded newer image for ghcr.io/jackblk/epicgames-freebies-claimer:latest

> epicgames-freebies-claimer@1.5.3 start
> node claimer.js

 2021-06-25 | 04:29:06.773 | INFO  | Found 2 unclaimed freebie(s) for jack***@gmail.com
 2021-06-25 | 04:29:15.891 | INFO  | Logged in as jackblk (0d8bea***d5f82ce)
 2021-06-25 | 04:29:23.875 | WARN  | Sonic Mania was already claimed for this account
 2021-06-25 | 04:29:31.397 | WARN  | Horizon Chase Turbo was already claimed for this account
 2021-06-25 | 04:29:32.938 | INFO  | Logged jackblk out of Epic Games

osmc@osmc:~/code/epicgames-freebies-claimer$ docker image inspect ghcr.io/jackblk/epicgames-freebies-claimer
[
    {
        "Id": "sha256:415313dcef9aa0217660130944a302c0fc6c8987a5b27ad6f3d080c363c95248",
        "RepoTags": [
            "ghcr.io/jackblk/epicgames-freebies-claimer:latest"
        ],
        "RepoDigests": [
            "ghcr.io/jackblk/epicgames-freebies-claimer@sha256:bdd11c980905a5236f7b1896a72e4b998e1f5740d964b1ff90a486aa37ac2822"
        ],
...
        "Architecture": "arm",
        "Variant": "v7",
        "Os": "linux",
...
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:e678d54c933532243e4ca1cb0b7ef7d6fa4969783100e0022246bc14d83972e9",
                "sha256:c832b2188aa6d918b3c3a6ab8fdb6d5a6390dd28f611e5686596f49de42fdc3e",
                "sha256:e200b9ce2fe8349bc66e514985e56a6d5727de7e5168d1616d8a902839fb4666",
                "sha256:bcf3931f70433b5a3f6e1efab775d10d3ca3f40f35057d951f8bfddc6eca8f75",
                "sha256:db2386f661da6044b1fe767c892b7fe93afa5011b329dd304ba4a2648e490c7d",
                "sha256:956b767858cf748ded193490e3e8398c62917944708302bf00f9f2d2e20e1f1c",
                "sha256:a6d83453c699d06d0c1fe373f4573221be33091f760b415aeebaa686c8d16d8b"
            ]
...
SergioSV96 commented 3 years ago

I got a Raspberry Pi 2B from a friend, it is using ARM Cortex-A7 CPU (same arch with your CPU).

With Docker 20.10.7, it can work with the command I wrote in wiki, meaning it works with --pull always and also automatically grabs the right arch image (armv7) without needing to specify the version@SHA256.

So after running it on both emulator & real device, I think the problem is with your Docker. Maybe reinstalling it with the newest version will work.

Here's my log if you're interested

osmc@osmc:~/code/epicgames-freebies-claimer$ docker version
Client: Docker Engine - Community
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        f0df350
 Built:             Wed Jun  2 11:57:27 2021
 OS/Arch:           linux/arm
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       b0f5bc3
  Built:            Wed Jun  2 11:55:25 2021
  OS/Arch:          linux/arm
  Experimental:     false
 containerd:
  Version:          1.4.6
  GitCommit:        d71fcd7d8303cbf684402823e425e9dd2e99285d
 runc:
  Version:          1.0.0-rc95
  GitCommit:        b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
osmc@osmc:~/code/epicgames-freebies-claimer$ docker run --rm --pull always -it --volume "$(pwd)/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:latest

latest: Pulling from jackblk/epicgames-freebies-claimer
e160e00eb35d: Pull complete
94a33ee36567: Pull complete
7f0eeb36f5ce: Pull complete
37df595574e8: Pull complete
b90a6c247290: Pull complete
3eb12e5ea84b: Pull complete
71882b1518ab: Pull complete
Digest: sha256:bdd11c980905a5236f7b1896a72e4b998e1f5740d964b1ff90a486aa37ac2822
Status: Downloaded newer image for ghcr.io/jackblk/epicgames-freebies-claimer:latest

> epicgames-freebies-claimer@1.5.3 start
> node claimer.js

 2021-06-25 | 04:29:06.773 | INFO  | Found 2 unclaimed freebie(s) for jack***@gmail.com
 2021-06-25 | 04:29:15.891 | INFO  | Logged in as jackblk (0d8bea***d5f82ce)
 2021-06-25 | 04:29:23.875 | WARN  | Sonic Mania was already claimed for this account
 2021-06-25 | 04:29:31.397 | WARN  | Horizon Chase Turbo was already claimed for this account
 2021-06-25 | 04:29:32.938 | INFO  | Logged jackblk out of Epic Games

osmc@osmc:~/code/epicgames-freebies-claimer$ docker image inspect ghcr.io/jackblk/epicgames-freebies-claimer
[
    {
        "Id": "sha256:415313dcef9aa0217660130944a302c0fc6c8987a5b27ad6f3d080c363c95248",
        "RepoTags": [
            "ghcr.io/jackblk/epicgames-freebies-claimer:latest"
        ],
        "RepoDigests": [
            "ghcr.io/jackblk/epicgames-freebies-claimer@sha256:bdd11c980905a5236f7b1896a72e4b998e1f5740d964b1ff90a486aa37ac2822"
        ],
...
        "Architecture": "arm",
        "Variant": "v7",
        "Os": "linux",
...
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:e678d54c933532243e4ca1cb0b7ef7d6fa4969783100e0022246bc14d83972e9",
                "sha256:c832b2188aa6d918b3c3a6ab8fdb6d5a6390dd28f611e5686596f49de42fdc3e",
                "sha256:e200b9ce2fe8349bc66e514985e56a6d5727de7e5168d1616d8a902839fb4666",
                "sha256:bcf3931f70433b5a3f6e1efab775d10d3ca3f40f35057d951f8bfddc6eca8f75",
                "sha256:db2386f661da6044b1fe767c892b7fe93afa5011b329dd304ba4a2648e490c7d",
                "sha256:956b767858cf748ded193490e3e8398c62917944708302bf00f9f2d2e20e1f1c",
                "sha256:a6d83453c699d06d0c1fe373f4573221be33091f760b415aeebaa686c8d16d8b"
            ]
...

I just tried this with the new docker version as you told me and this happened;

root@orangepipc:/media/server/epicgames-freebies-claimer# docker run --rm --pull always -it --volume "$(pwd)/device_auths.json:/app/device_auths.json" ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3@sha256:4e312f8c9aef6659480da758acab11c07de350f9a82698608e5d8732b3550f78
ghcr.io/jackblk/epicgames-freebies-claimer@sha256:4e312f8c9aef6659480da758acab11c07de350f9a82698608e5d8732b3550f78: Pulling from jackblk/epicgames-freebies-claimer
Digest: sha256:4e312f8c9aef6659480da758acab11c07de350f9a82698608e5d8732b3550f78
Status: Image is up to date for ghcr.io/jackblk/epicgames-freebies-claimer@sha256:4e312f8c9aef6659480da758acab11c07de350f9a82698608e5d8732b3550f78

#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0xbeb9e5ec

My docker version:

Client: Docker Engine - Community
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        f0df350
 Built:             Wed Jun  2 11:58:04 2021
 OS/Arch:           linux/arm
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       b0f5bc3
  Built:            Wed Jun  2 11:56:06 2021
  OS/Arch:          linux/arm
  Experimental:     false
 containerd:
  Version:          1.4.6
  GitCommit:        d71fcd7d8303cbf684402823e425e9dd2e99285d
 runc:
  Version:          1.0.0-rc95
  GitCommit:        b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

My OS version:

root@orangepipc:/media/server/epicgames-freebies-claimer# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

root@orangepipc:/media/server/epicgames-freebies-claimer# cat /etc/*-release
# PLEASE DO NOT EDIT THIS FILE
BOARD=orangepipc
BOARD_NAME="Orange Pi PC"
BOARDFAMILY=sun8i
BUILD_REPOSITORY_URL=https://github.com/armbian/rkbin
BUILD_REPOSITORY_COMMIT=3e533c9
DISTRIBUTION_CODENAME=buster
DISTRIBUTION_STATUS=supported
VERSION=20.02.1
LINUXFAMILY=sunxi
BRANCH=current
ARCH=arm
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm
KERNEL_IMAGE_TYPE=Image
IMAGE_UUID=762e78a7-343d-4711-b296-71c842ba145c
# PLEASE DO NOT EDIT THIS FILE
BOARD=orangepipc
BOARD_NAME="Orange Pi PC"
BOARDFAMILY=sun8i
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=428a20876-dirty
DISTRIBUTION_CODENAME=buster
DISTRIBUTION_STATUS=supported
VERSION=21.05.6
LINUXFAMILY=sunxi
ARCH=arm
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm
KERNEL_IMAGE_TYPE=Image
BRANCH=current
PRETTY_NAME="Armbian 21.05.6 Buster"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

root@orangepipc:/media/server/epicgames-freebies-claimer# cat  /etc/issue
Armbian 21.05.6 Buster \l

Thank you so much for your help, I am really trying to get this to work but I am clueless of what is happening, I never run into issues with running any container in my Orange Pi PC

jackblk commented 3 years ago

@SergioSV96 I did some digging and I found a lead.

Current image is based on Alpine 3.13. Alpine 3.13 requires host to have Docker 19.03.9 or greater, AND libseccomp 2.4.2. Unfortunately, Debian Buster has an outdated libseccomp AFAIK, maybe this is why you cannot use the current package and why my ARMv7 Emulator still works (I used Ubuntu, not Debian Buster).

There are 2 solutions for this:

Hidden 3rd option: install new OS based on Debian Bullseye 😄

I have built alpine 3.12 based image, please try this one:

docker run --rm --pull always -it \
    --volume "$(pwd)/device_auths.json:/app/device_auths.json" \
    ghcr.io/jackblk/epicgames-freebies-claimer:1.5.3-alpine3.12

Please let me know if it works, I will do a PR to revert back to alpine 3.12 to support Debian Buster users. If it doesn't work, please post the logs 😄 .


To upgrade libseccomp, you can follow the instruction here: https://github.com/alpinelinux/docker-alpine/issues/135#issuecomment-812287338 or sudo apt-get update && sudo apt-get install -y libseccomp-dev. After this, you should be able to run the command in wiki on alpine 3.13 image (I hope so).

Please try this after trying alpine 3.12 based image.

SergioSV96 commented 3 years ago

@jackblk

Sorry for the late response,

root@orangepipc:/media/server/epicgames-freebies-claimer# sudo apt-get install -y libseccomp-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libseccomp-dev is already the newest version (2.3.3-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I am using libseccomp2_2.5.1-1_armhf.deb and it works perfect with Alpine 3.13 !!! The command from the wiki.

Thank you very much for all the help, if I can help you in any way let me know!

jackblk commented 3 years ago

@SergioSV96 To support Debian Buster users, I deleted the 1.5.3-alpine3.12 tag, updated the 1.5.3 & latest tag in Dockerhub & GithubPackage according to the PR #119

Every device can use the latest tag now, it supports all platform that node supports. Debian Buster users will not need to update libseccomp anymore.