[BUG] Failure to build app on RPi4, Ubuntu 21.10 Server. Log: Error: Unsupported system: cpu-linux-arm64 #37

Closed
opened 2026-02-04 16:54:22 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @darrylgibbs on GitHub (Mar 30, 2022).

Describe the bug
Following the install instructions exactly, I get an error when building the app.

The error is as follows, on steap 7/9: RUN npm install
The command '/bin/sh -c npm install' returned a non-zero code: 1
ERROR: Service 'immich_microservices' failed to build : Build failed

Docker-compose.yml is unchanged, and .env has a DB name entered, a JWT code and commented out MAPBOX.

Desktop (please complete the following information):

  • OS: Ubuntu Server 20.10 Raspberry Pi 4 edition

Additional context
Add any other context about the problem here.
Screenshot 2022-03-30 113956

How do I procede? am I doing something wrong here?

Originally created by @darrylgibbs on GitHub (Mar 30, 2022). **Describe the bug** Following the install instructions exactly, I get an error when building the app. The error is as follows, on steap 7/9: RUN npm install The command '/bin/sh -c npm install' returned a non-zero code: 1 ERROR: Service 'immich_microservices' failed to build : Build failed Docker-compose.yml is unchanged, and .env has a DB name entered, a JWT code and commented out MAPBOX. **Desktop (please complete the following information):** - OS: Ubuntu Server 20.10 Raspberry Pi 4 edition **Additional context** Add any other context about the problem here. ![Screenshot 2022-03-30 113956](https://user-images.githubusercontent.com/9167471/160861565-3a18ed25-a079-40f4-8b1d-9f83e3c947e8.png) How do I procede? am I doing something wrong here?
Author
Owner

@alextran1502 commented on GitHub (Mar 30, 2022):

You are not doing anything wrong, TensorFlow 2 currently doesn't support Rpi4 64bit

Can you comment out the section below in docker-compose file and try again? This will run the server for core backup operation but the object detection and image tagging will be disabled.

I am following the process of supporting Tensorflow 2 in Docker for arm64-v7

  immich_microservices:
    image: immich-microservices:1.4.0
    build:
      context: ../microservices
      dockerfile: ../microservices/Dockerfile
    entrypoint: ["/bin/sh", "./entrypoint.sh"]
    expose:
      - "3001"
    volumes:
      - ../microservices:/usr/src/app
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /usr/src/app/node_modules
    env_file:
      - .env
    environment:
      - NODE_ENV=production
    depends_on:
      - database
    networks:
      - immich_network
@alextran1502 commented on GitHub (Mar 30, 2022): You are not doing anything wrong, TensorFlow 2 currently doesn't support Rpi4 64bit Can you comment out the section below in `docker-compose` file and try again? This will run the server for core backup operation but the object detection and image tagging will be disabled. I am following the process of supporting Tensorflow 2 in Docker for arm64-v7 ``` immich_microservices: image: immich-microservices:1.4.0 build: context: ../microservices dockerfile: ../microservices/Dockerfile entrypoint: ["/bin/sh", "./entrypoint.sh"] expose: - "3001" volumes: - ../microservices:/usr/src/app - ${UPLOAD_LOCATION}:/usr/src/app/upload - /usr/src/app/node_modules env_file: - .env environment: - NODE_ENV=production depends_on: - database networks: - immich_network ```
Author
Owner

@alextran1502 commented on GitHub (Apr 2, 2022):

@darrylgibbs Any progress on this?

@alextran1502 commented on GitHub (Apr 2, 2022): @darrylgibbs Any progress on this?
Author
Owner

@darrylgibbs commented on GitHub (Apr 2, 2022):

Not yet, it still keeps crashing. I've got a few more ideas to try and then I'll report back. Hopefully today still.

@darrylgibbs commented on GitHub (Apr 2, 2022): Not yet, it still keeps crashing. I've got a few more ideas to try and then I'll report back. Hopefully today still.
Author
Owner

@darrylgibbs commented on GitHub (Apr 30, 2022):

Well, after switching to RPi OS 64bit, it builds now, but I'm getting errors to load the web page. I'll fiddle more and load an issue if I can't figure it out.

@darrylgibbs commented on GitHub (Apr 30, 2022): Well, after switching to RPi OS 64bit, it builds now, but I'm getting errors to load the web page. I'll fiddle more and load an issue if I can't figure it out.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#37