ERPNext 4 Installation Problem

This is great. This works perfectly fine with Digital Ocean Ubuntu 14+ Server.

One thing I want to add is, it still needs “bench start” command for the first time.

It’s good to run it to test but is not a requirement.

Hey @peterschmidler,
Can you submit the steps to the wiki? Maybe also on digital ocean’s wiki too…

Yes I will, as soon as I’ll have my setup completed. BTW great to see that you switched to Discuss!Did you migrate all data from Google Groups?Bst, PS

Thanks! :slight_smile:
Yes we migrated from google groups.
Wasn’t very straight forward, will post a blog.

Hi,
just noticed https://github.com/frappe/bench/issues/12Isn’t it as simple as https://github.com/frappe/bench/blob/master/install_scripts/setup_frappe.sh#L84for ubuntu, too?
Bst, Max

Yes, install libxrender, fontconfig and the deb package.

Can you please help me out with the unix commands to install wkhtmltopdf?
Should I install it as root or frappe user?

Hi,

some more questions to finish the setup on DO,
and to be able to publish the instructions.

1. Multi-tenant-setup ngnix issue

I named my two sites site1.local and site2.local.

su frappe
cd ~/frappe-bench
bench set-default-site site1.local
bench config dns_multitenant on
bench new-site site2.local
bench set-nginx-port site1.local 80
bench set-nginx-port site2.local 82
bench setup nginx

This all worked fine but …

sudo nginx reload

… gives me this error …

Sorry, user frappe is not allowed to execute '/usr/sbin/nginx reload' as root on ...

2. DNS setup question

Since I named my sites site1.local and site2.local and I don’t know how to rename the apps )if possible at all), I would like to point two different subdomains to the ports 80 and 82 via ngnix. Is there an easy “bench” way to achieve this?

Thanks,

PS

Install the debian package from wkhtmltopdf using

dpkg -i packagename.deb #as root

If it complains of any deps not installed,

apt-get install libxrender fontconfig #as root

I am on Unbuntu 14.04 64bit. Should I still use the Debian package?

I meant the deb package for Ubuntu (your distro). This one, wkhtmltopdf - Browse Files at SourceForge.net

Hey, thanks! But I had to wget wkhtmltopdf - Browse Files at SourceForge.net first. I’ll put it on my list and publish it soon.

Thanks for sharing such a valuable information. I really like it a lot. keep posting such topics further also. www.simpalm.com