d-code-hub / erpnext-installation-guide Goto Github PK
View Code? Open in Web Editor NEWThe complete guide to install ERPNext in your Ubuntu system
The complete guide to install ERPNext in your Ubuntu system
Installation of the tutorial generates a GUI environment. Erpnext is not started for some reason (is this because of the VUE.js missing?). The GUI has no terminal so I changed
sudo apt-get install xvfb libfontconfig wkhtmltopdf
to
sudo apt-get install gnome-terminal xvfb libfontconfig wkhtmltopd
Work around: 1. set authentication and login in the GUI for your user to auto (right top of the screen>settings>user, 2. write simple bash script to start erpnext 3. add the script to startup application preferences in the gui
STEP 13 initilise the frappe bench & install frappe latest version
bench init frappe-bench --frappe-branch version-13
cd frappe-bench/
for Proxmox VM:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
bench start
Nodejs v14 is deprecated, causing the script to take exceedingly long to run. Once it does run, you learn that Ubuntu 20.04 no longer has a release file.
I had previously evaluated ERPNext for commercial use, these type of issues are why I opted against it. Please refresh your install processes.
After following every step till step 17, I open the server's ip address and get the following error,
ModuleNotFoundError : No module named 'erpnext'
Tried erasing and installing erpnext using this guide, over 3 times.... Still no luck...
I believe that easy install script does some tweaks in the mariadb settings for performance improvements. Do you consider it also?
PS: Great script by the way.
UNRESOLVED_IMPORT : 'vue/dist/vue.js' is imported by ../erpnext/erpnext/public/js/hub/marketplace.js,
tried npm install vue followed by bench update --reset but no improvement
I have successfully executed all commands
But the browser did not open 0.0.0.0:8000
What's the reason
bench get-app erpnext --branch version-13
###OR
bench get-app https://github.com/frappe/erpnext --branch version-13
bench --site dcode.com install-app erpnext
bench start
There is an error when run this command :
sudo apt-get install python3-dev
Error.txtor :
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libc-dev-bin libc6-dev libcrypt-dev libexpat1-dev libpython3-dev
libpython3.8-dev linux-libc-dev manpages-dev python3.8-dev zlib1g-dev
Suggested packages:
glibc-doc
The following NEW packages will be installed:
libc-dev-bin libc6-dev libcrypt-dev libexpat1-dev libpython3-dev
libpython3.8-dev linux-libc-dev manpages-dev python3-dev python3.8-dev
zlib1g-dev
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 52.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-dev-bin amd64 2.31-0ubuntu9.2 [71.8 kB]
Ign:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-91.102
Get:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal/main amd64 libcrypt-dev amd64 1:4.4.10-10ubuntu4 [104 kB]
Get:4 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 libc6-dev amd64 2.31-0ubuntu9.2 [2520 kB]
Get:5 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal/main amd64 libexpat1-dev amd64 2.2.9-1build1 [116 kB]
Ign:6 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8-dev amd64 3.8.10-0ubuntu120.04.120.04.1
Err:2 http://security.ubuntu.com/ubuntu focal-updates/main amd64 linux-libc-dev amd64 5.4.0-91.102
404 Not Found [IP: 52.15.155.232 80]
Get:7 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal/main amd64 libpython3-dev amd64 3.8.2-0ubuntu2 [7236 B]
Get:8 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal/main amd64 manpages-dev all 5.05-1 [2266 kB]
Err:6 http://security.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8-dev amd64 3.8.10-0ubuntu1
404 Not Found [IP: 52.15.155.232 80]
Get:9 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu1.2 [155 kB]
Ign:10 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3.8-dev amd64 3.8.10-0ubuntu120.04.120.04.1
Get:11 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal/main amd64 python3-dev amd64 3.8.2-0ubuntu2 [1212 B]
**Error.txt:**10 http://security.ubuntu.com/ubuntu focal-updates/main amd64 python3.8-dev amd64 3.8.10-0ubuntu1
404 Not Found [IP: 52.15.155.232 80]
Fetched 5241 kB in 0s (28.2 MB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_5.4.0-91.102_amd64.deb 404 Not Found [IP: 52.15.155.232 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/python3.8/libpython3.8-dev_3.8.10-0ubuntu1~20.04.1_amd64.deb 404 Not Found [IP: 52.15.155.232 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/python3.8/python3.8-dev_3.8.10-0ubuntu1~20.04.1_amd64.deb 404 Not Found [IP: 52.15.155.232 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.