ERPNext Fresh Install Question

Good Day,

Hello Everyone,

I’m new using ERPNext and I try to install using Easy Install in documentation, please allow me to ask questions for confirmation only thank you in advance.

1st Question
The easy install method is only supported Linux Ubuntu 16.04? because I successfully installed in ubuntu 16.04 and got an error when i try in 18.04.

2nd Question
I followed the instruction of easy install and I successfully connected via local and saw the pre flight cofiguration (production setup) but I’m confused because in documentation I need to connect using localhost or ip with port 8000 but in my case i only type is the localhost or ip and I connected and if I used the port 8000 I cant connect.

3rd Question
And I saw this error is this normal in fresh install or I miss some steps or because I need to configure other settings.

erpnext.setup.doctype.email_digest.email_digest.send

{‘event’: u’daily’, ‘retry’: 0, ‘log’: <function log at 0x7f383e3f1578>, ‘site’: u’site1.local’, ‘job_name’: u’erpnext.setup.doctype.email_digest.email_digest.send’, ‘method_name’: u’erpnext.setup.doctype.email_digest.email_digest.send’, ‘method’: <function send at 0x7f383e3a22a8>, ‘user’: u’Administrator’, ‘kwargs’: {}, ‘is_async’: True}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 103, in execute_job
method(**kwargs)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/email_digest/email_digest.py”, line 539, in send
ed_obj.send()
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/email_digest/email_digest.py”, line 65, in send
unsubscribe_message = _(“Unsubscribe from this Email Digest”))
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 464, in sendmail
inline_images=inline_images, header=header, print_letterhead=print_letterhead)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/queue.py”, line 69, in send
email_account = get_outgoing_email_account(True, append_to=reference_doctype, sender=sender)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/smtp.py”, line 86, in get_outgoing_email_account
frappe.OutgoingEmailError)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 352, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 338, in msgprint
_raise_exception()
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 311, in _raise_exception
raise raise_exception(msg)
OutgoingEmailError: Please setup default Email Account from Setup > Email > Email Accoun

Thank You and More power

The easy install works on Ubuntu server 14.04, 16.04 or 18.04. Did you update your repository and install the correct python dependencies before installing?

I use this line pasted into the terminal:

sudo apt-get update && sudo apt-get install python-dev python-setuptools build-essential && wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py && sudo python install.py --production --user frappe --mysql-root-password MYPASSWORD --admin-password MYPASSWORD

Thank you Sir @mslake I will try Sir your instruction,

Sir how about the port 8000 why I connected without using the port 8000 ?

I think that is a production default when you install the first site. When I set up multiple sites with specific ports I use this:

Create a script named install-erp.sh

#!/bin/bash -x

cd /home/frappe/frappe-bench
sudo yes y | sudo bench new-site $2 --mariadb-root-password l200589 --admin-password l200589
sudo yes y | sudo bench set-nginx-port $2 $1
sudo yes y | sudo bench --site $2 install-app erpnext
sudo yes y | sudo bench setup nginx
sudo service nginx reload
sudo yes y | sudo bench setup production frappe

notes: substitute “mysqlpa55w00rd” and “mysqlpa55w00rd” as needed

Run the script with the following parameters:

$ port=8080
$ erpname=mysite
$ ./install-erp.sh $port $erpname

where erpname is the name of the site instance and the port 8080 is the port number.

Let the installer finish. The resulting installation is going to be on the droplet ip and the port number like:
http://yourip:8080

That mean Sir @mslake if I don’t need to create another site or don’t need a site. my configuration is already ok? even not use the port 8000 mentioned in documentation?

I want to use ERPNext only for internal use and for the Purchasing purposes and stock feature of the system.