Also, you seem to have existing setup on port 8000. Are you trying to install 2 benches on the same server?
Second time i was trying to install. mysql failed the first time too.
I’m still getting the same error, despite entering the password for mysql
Start with a clean and minimal install of CentOS and Ubuntu, and run the script.
Try using the latest CentOS
Thanks!
I installed the latest CentOS, and the script ran successfully.
But now, I’m unable to access the site either via “localhost”, localhost:8000"or through the IP of the server followed by “:8000”
Please help!
Thank You!
SSH into your centos server and run curl localhost
or curl localhost:8000
and check its output
Hi @anand
I’m not with the server anymore, but curl gave me the html file of what I assume is ERPNext.
The netstat output showed the following:
Is this correct?
could be firewall issue.
Best,
Anand Doshi
ERPNext
Hi @anand!
Thanks a lot for your help!
I opened ports 80 and 8000, and I can load the ERPNext through port 80.
But the site doesn’t look right.
I’ve restarted bench, but that doesn’t help.
Any suggestions?
Thank you!
Check your browser’s console and network tab. Look for requests in red.
Also, try refreshing the browser or clearing its cache.
Best,
Anand Doshi
ERPNext
I’ve been trying to upload a screenshot of the error console since my last post, but the uploading is stuck at 100%.
The following errors are shown:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery.min.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (website.css, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (frappe-web.min.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.css, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (frappe-web.css, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (erpnext-web.min.js, line 0)
[Warning] Invalid CSS property declaration at: / (website_theme.css, line 130)
[Error] ReferenceError: Can’t find variable: $
(anonymous function)
[Error] ReferenceError: Can’t find variable: $
(anonymous function)
[Error] ReferenceError: Can’t find variable: __
(anonymous function)
(anonymous function)
Those are odd errors.
On Centos 7 I use the minimal install then install the epel and update both.
To make sure you are protected from GHOST run sudo yum update glibc
Before I run the frappe script I would make sure MySQL is uninstalled or not installed. Also make sure you are not running any firewall at this piont.
I would then install the latest version of MariaDB,
Then install Pillow:
sudo yum install libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel
Then run the frappe script.
Once finished make note of the password located in you top directory, Log out and log back in as user frappe.
You will be in /home/frappe/ so cd into ~/frappe/frappe-bench/ and then run bench update and see if works.
Good Luck.
Also make sure you have at least 1 GB RAM. 2GB is better.
@System19 Thanks for your advice
Followed those exact instructions.
- Did a clean install of CentOS 7 - Minimal (On a server this time)
- Installed glibc
- Stopped firewalld.service
- Installed Pillow
- Ran the frappe script and updated it
BUT still getting the exact same 404 problem.
@Tanuj Can you post the 404 errors that you are getting on the new server?
Did you Install epel?
sudo yum install epel-release
Also you did all of this as root or su?
Just fixed it with the following:
chmod o+x /home/frappe
chmod o+r /home/frappe
Thanks so much!
Oh Cool
Was just about to put a link to an excelent vagrant box made by Luis Fernandes.
It does run on Ubuntu but it is a great way to run a local test server instance.
Here is the link in case.
Actually there is a frappe VM somewhere as well thats probably more recent.