Installing for centos 6 amd64
In case you encounter an error, you can post on https://discuss.frappe.io
Adding centos mariadb repo
Installing packages for centos. This might take time...
Installing wkhtmltopdf
Installing supervisor
Starting supervisord:
Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.
For help, use /usr/bin/supervisord -h
frappe:frappe-web RUNNING pid 2076, uptime 2:01:49
frappe:frappe-worker RUNNING pid 2075, uptime 2:01:49
frappe:frappe-workerbeat RUNNING pid 2077, uptime 2:01:49
node-socketio RUNNING pid 2079, uptime 2:01:49
redis-async-broker RUNNING pid 2078, uptime 2:01:49
redis-cache FATAL Exited too quickly (process log may have details)
Configuring CentOS services
Starting services
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
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.
@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?