frappe / easy_install

Install script for Frappe. ⚠️ This is DEPRECATED and unmaintained. ⚠️
5 stars 8 forks source link

Easy Install Failing: Debian 11 #4

Open sissieadmin opened 2 years ago

sissieadmin commented 2 years ago

Issue: Easy Install

Distro Information (Required)

uname -a

Linux erpnext-stg-deb11 5.10.0-14-amd64 frappe/bench#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

reswild commented 2 years ago

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.

marchrius commented 2 years ago

@reswild have you a diff file that can be used in the meantime?

reswild commented 2 years ago

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.