bench
bench copied to clipboard
Easy Install Failing: Debian 11
Issue: Easy Install
Distro Information (Required)
uname -a
Linux erpnext-stg-deb11 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 GNU/Linux
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
Command Run (Required) sudo python3 install.py --production
Log File (Required) log.txt
Additional context Installer has already been run - fails in the same place but some dependency show as being installed in the log.
Possible Solution Do the full manual install for now
I've managed to use the Easy Install on Debian 11, but I had to tweak both the installer script and a few of the Ansible playbooks a bit. I could see if I can put together a PR for this.
@reswild have you a diff file that can be used in the meantime?
Here is the code I was using: https://github.com/reswild/bench/commit/85415ebde7fe97a91920f4fdc6a53f89f4fb7ea9
If you want to test it, you can try:
wget https://raw.githubusercontent.com/reswild/bench/debian-11/install.py
sudo python3 install.py --production --bench-branch debian-11 --repo-url https://github.com/reswild/bench
I did get an error with setting up supervisor at the end of the install, so I had to run bench setup production
afterwards in order to finish the installation.