Today I installed successfully the version-13.beta-7 on Debian 10.
1.
The usual:
sudo apt update && sudo apt upgrade --yes
2.
Added frappe user and give it access to sudo
(For security - always create a user other than “frappe” for security!)
sudo adduser your-username
sudo usermod -aG sudo your-username
3.
export LC_ALL=C.UTF-8
4.
Get the install script install.py
wget https://raw.githubusercontent.com/frappe/bench/develop/install.py
5.
Edit the install.py to enforce V13-beta branch to make the version 13 beta the default branch for installation.
Edit line 432 (line no. may differ make sure the text is the same as below):
From:
parser.add_argument('--frappe-branch', dest='frappe_branch', action='store', help='Clone a particular branch of frappe')
To:
parser.add_argument('--frappe-branch', dest='frappe_branch', action='store', default='version-13-beta', help='Clone a particular branch of frappe')
Edit line 434:
From:
parser.add_argument('--erpnext-branch', dest='erpnext_branch', action='store', help='Clone a particular branch of erpnext')
To:
parser.add_argument('--erpnext-branch', dest='erpnext_branch', action='store', default='version-13-beta', help='Clone a particular branch of erpnext')
Make sure you save the file!
6.
Run the Easy Install script.
If you are running it after a failed installation, better to use --overwrite
option.
Also, make sure to use --verbose
option to make sure you get enough debug info in case of failures.
So, the command will look something like this:
python3 install.py --verbose --production --user your-username
That’s it. Just visit the new site!