Git Product home page Git Product logo

Comments (4)

PlebeiusGaragicus avatar PlebeiusGaragicus commented on June 9, 2024

Is this the code that's running here?

https://github.com/getumbrel/umbrel/blob/master/deps/app-proxy/bin/www

I'm sure the problem is with my app and Umbrel is trying to listen on the port and not hearing anything..

What is my app supposed to do here to make Umbrel happy?

from umbrel-community-app-store.

PlebeiusGaragicus avatar PlebeiusGaragicus commented on June 9, 2024

I kept digging and discovered that the container logs I was reading was actually the app proxy container that Umbrel sets up for me - it is waiting for the container I made to startup. So I read the logs of my app's container and it gave this:

[FATAL tini (7)] exec python failed: Exec format error

from umbrel-community-app-store.

PlebeiusGaragicus avatar PlebeiusGaragicus commented on June 9, 2024

Further digging: I'm running Umbrel via a Parallels VM on my M1 macbook and think I discovered the cause of the Exec format error:

sudo docker run plebeiusgaragicus/plebtools-hello-world:latest /bin/sh
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /bin/sh: exec format error

I'm sure my Dockerfile/build process is to blame - but I'm now confused about Docker not being able to run cross platform like this - I thought that was the benefit of Docker. Not sure how to modify to enable my Docker image to run on whatever platform Umbrel OS happens to be running on..

from umbrel-community-app-store.

PlebeiusGaragicus avatar PlebeiusGaragicus commented on June 9, 2024

This has been fixed - my app now runs!

I re-read the how-to example of deploying your own app:
https://github.com/getumbrel/umbrel-apps#a-good-dockerfile

Then, I re-worked my Github Action accordingly following this:
https://github.com/docker/build-push-action

and making sure to add the line:

platforms: linux/amd64,linux/arm64

from umbrel-community-app-store.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.