Install fails; informs that ARM64 ist not supported #9558
-
I am trying to install InvenTree on a Raspberry Pi 4 running Ubuntu 20.04 LTS (64-bit). The Quick Script fails, saying that ARM64 is not supported. This is the transcript: pi@InvenTree:~$ sudo wget -qO install.sh https://get.inventree.org && sudo bash install.sh Installer for InvenTree - source: inventree/stableDetected distribution: Ubuntu 20.04Installing required packages for downloadGetting and adding keyAdding package sourceUpdating package listsHit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease Setting installer argsInstalling InvenTreeReading package lists... Done Should I be running the 32-bit version of Ubuntu? I read somewhere earlier that the 64-bit version was required. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Arm is not directly supported but you could run it in a docker container, it has worked for me in the past. |
Beta Was this translation helpful? Give feedback.
-
If you can find it, I'd appreciate getting it. I'm a beginner with Docker and have never used it, so this will be a learning experience.
|
Beta Was this translation helpful? Give feedback.
-
Thank you! I'm now up and running using Docker on the Raspberry Pi.
…________________________________
From: sufyan-mukadam ***@***.***>
Sent: Monday, April 28, 2025 2:13 AM
To: inventree/InvenTree ***@***.***>
Cc: solarmax1 ***@***.***>; Author ***@***.***>
Subject: Re: [inventree/InvenTree] Install fails claiming ARM64 not supported (Discussion #9558)
Install docker using apt as shown in:
https://docs.docker.com/engine/install/debian/
Run through the post install steps as shown in:
https://docs.docker.com/engine/install/linux-postinstall/
Create the required directories in your desired destination as shown:
mkdir inventree
cd inventree
mkdir inventree-data
Download the requried files from github using wget:
wget https://raw.githubusercontent.com/inventree/inventree/stable/contrib/container/docker-compose.yml
wget https://raw.githubusercontent.com/inventree/inventree/stable/contrib/container/.env
wget https://raw.githubusercontent.com/inventree/inventree/stable/contrib/container/Caddyfile
Edit the .env file with the appropriate substitutions:
# InvenTree environment variables for docker compose deployment
# Specify the location of the external data volume
# By default, placed in local directory 'inventree-data'
INVENTREE_EXT_VOLUME=/path_to_your_directory_created_above
# Ensure debug is false for a production setup
INVENTREE_DEBUG=False
INVENTREE_LOG_LEVEL=WARNING
# InvenTree admin account details
# Un-comment (and complete) these lines to auto-create an admin acount
INVENTREE_ADMIN_USER=admin
INVENTREE_ADMIN_PASSWORD=password
***@***.***
# Database configuration options
INVENTREE_DB_ENGINE=postgresql
INVENTREE_DB_NAME=inventree
INVENTREE_DB_HOST=inventree-db
INVENTREE_DB_PORT=5432
# Database credentials - These should be changed from the default values!
INVENTREE_DB_USER=pguser
INVENTREE_DB_PASSWORD=pgpassword
# Redis cache setup (disabled by default)
# Un-comment the following lines to enable Redis cache
# Note that you will also have to run docker-compose with the --profile redis command
# Refer to settings.py for other cache options
#INVENTREE_CACHE_ENABLED=True
#INVENTREE_CACHE_HOST=inventree-cache
#INVENTREE_CACHE_PORT=6379
# Options for gunicorn server
INVENTREE_GUNICORN_TIMEOUT=90
# Enable custom plugins?
INVENTREE_PLUGINS_ENABLED=True
# Run migrations automatically?
INVENTREE_AUTO_UPDATE=True
# Image tag that should be used
INVENTREE_TAG=stable
# Site URL - update this to match your host
INVENTREE_SITE_URL="http://yourdeviceip"
COMPOSE_PROJECT_NAME=inventree
Pull the latest image:
docker compose pull
Update database contents:
docker compose run --rm inventree-server invoke update --skip-backup
Start Containers:
docker compose up -d
________________________________
To restore a backup simply use:
docker compose run inventree-server invoke restore
And then follow up by starting the containers using:
docker compose up -d
—
Reply to this email directly, view it on GitHub<#9558 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABYYXT3LPIXTI7D4ND6CSFL23XPKVAVCNFSM6AAAAAB3SL2XU2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOJWGY3TONQ>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
Arm is not directly supported but you could run it in a docker container, it has worked for me in the past.