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

ARM64 image via docker-compose doesn't work on Raspberry Pi 4 #487

Closed
cinetube opened this issue Dec 28, 2021 · 15 comments
Closed

ARM64 image via docker-compose doesn't work on Raspberry Pi 4 #487

cinetube opened this issue Dec 28, 2021 · 15 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@cinetube
Copy link

nitter not working

@zedeus
Copy link
Owner

zedeus commented Dec 28, 2021

How was Nitter compiled? What OS/distro is this? How are you running it?

@zedeus zedeus closed this as completed Dec 28, 2021
@zedeus zedeus reopened this Dec 28, 2021
@cinetube
Copy link
Author

How was Nitter compiled? What OS/distro is this? How are you running it?

I am using ubuntu server on raspberry pi.

I am using the latest Nitter image that was pushed to docker hub within last 30 minutes.

@zedeus
Copy link
Owner

zedeus commented Dec 28, 2021

It works fine for me when I run redis-server and docker run -d --network host zedeus/nitter:latest
What commands are you using?

@cinetube
Copy link
Author

It works fine for me when I run redis-server and docker run -d --network host zedeus/nitter:latest What commands are you using?

Here is my docker compose:

version: '3.3'
services:
    nitter:
        image: zedeus/nitter:latest
        container_name: nitter
        volumes:
            - /mnt/nitter/nitter.conf:/src/nitter.conf
        ports:
            - 8039:8080
        restart: unless-stopped 

@zedeus
Copy link
Owner

zedeus commented Dec 28, 2021

Are you running Redis separately?

@cinetube
Copy link
Author

Are you running Redis separately?

I am not running Redis.

@zedeus
Copy link
Owner

zedeus commented Dec 28, 2021

Running Redis baremetal, or via docker compose (as described in the readme and the provided docker-compose.yml) is required. From your screenshot this looks more like your CPU architecture isn't supported. What Raspberry Pi is it? We only provide prebuilt Docker images for AMD64 and ARM64.

@cinetube
Copy link
Author

I am using Raspberry Pi 4

@zedeus
Copy link
Owner

zedeus commented Dec 28, 2021

It should support ARM64 (armv8) just fine then. Can you confirm docker-compose fetched the correct image? With the latest tag, it should be 8e5fd3d52255
image

@cinetube
Copy link
Author

Untitled

Please check it.

@zedeus
Copy link
Owner

zedeus commented Dec 28, 2021

The size and id doesn't match any of the latest tags, not sure what that's about. I don't have RPi4 to test this out so I'm afraid I can't really help, but it's clear that the errors in your first screenshot are due to an incompatible executable format not understood by the OS. On that note, can you confirm you're running a 64-bit version of Ubuntu?

@cinetube
Copy link
Author

Yeah I am running 64 bit version of Ubuntu

@cinetube
Copy link
Author

Update: Nitter isn't working on my Raspberry Pi 4 (getting syntax error) but it is working fine on my Ubuntu VMware and another ubuntu server.

@zedeus zedeus changed the title Nitter not working ARM64 image via docker-compose doesn't work on Raspberry Pi 4 Dec 28, 2021
@zedeus zedeus added bug Something isn't working help wanted Extra attention is needed labels Dec 30, 2021
@zedeus
Copy link
Owner

zedeus commented Dec 31, 2021

Please try the Docker image linked here #399 (comment)

@cinetube
Copy link
Author

cinetube commented Jan 1, 2022

@zedeus Thank you very much. Nitter is now working on my raspberry pi.

@cinetube cinetube closed this as completed Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants