I have set up (against all recommendations, I know ) an Arch Linux station for which I want to use for a production system. The setup was a bit challenging but with all the available info on the forum, that part is mostly working.
The current minor problem is the appearance of the pages, and missing js functionality. I am not 100% sure which part(s)/port(s) to change. Port 8115 is to allow port forwarding on LAN/WAN for external access. Left side is how it looks and Right side is obviously how it should look, and the JS elements are not loading, which means it also doesn’t work. (Again, I understand that I should probably not have messed with this, but the system works so well in Dev/VM mode that I had to try it out in production)
Error message in nginx.log indicates that ownership/location is mismatched
GET /assets/erpnext/css/website.css HTTP/1.1" 404 169 “http://archerpnext:8115/”
some config info is below:
from nginx.conf (relevant piece - all the rest is standard)
server {
listen 8115;
server_name site1.local 192.168.0.115:8115 archERPNext:8115;
root /home/frappe/frappe-bench/sites;
All files in the /home/frappe/… are owned by frappe.frappe
from frappe-bench.conf/ini and supervisor.conf
[program:frappe-bench-frappe-web]
command=/home/frappe/frappe-bench/env/bin/gunicorn -b 127.0.0.1:8000 -w 2 -t 120 frappe.app:application --preload
upstream frappe-bench-frappe { server 127.0.0.1:8000 fail_timeout=0;}
upstream frappe-bench-socketio-server { server 127.0.0.1:9000 fail_timeout=0;}
and processes running (trimmed a little to make them smaller)
frappe 2520 /usr/bin/redis-server 127.0.0.1:11000
frappe 2521 /usr/bin/redis-server 127.0.0.1:13000
frappe 2522 /usr/bin/redis-server 127.0.0.1:12000
frappe 3088 /home/frappe/frappe-bench/env/bin/python -m e schedule
frappe 3089 /home/frappe/frappe-bench/env/bin/python -m e worker --queue default
frappe 3090 /home/frappe/frappe-bench/env/bin/python -m e worker --queue long
frappe 3091 /home/frappe/frappe-bench/env/bin/python -m e worker --queue short
frappe 3101 /home/frappe/frappe-bench/env/bin/python2 /h /gunicorn -b 127.0.0.1:8000 -w 2 -t 120 frappe.app: n --preload
frappe 3102 /usr/bin/node /home/frappe/frappe-bench/apps
frappe 3149 /home/frappe/frappe-bench/env/bin/python2 /h /gunicorn -b 127.0.0.1:8000 -w 2 -t 120 frappe.app: n --preload
frappe 3150 /home/frappe/frappe-bench/env/bin/python2 /h /gunicorn -b 127.0.0.1:8000 -w 2 -t 120 frappe.app: n --preload
root 3588 nginx: master process /usr/bin/nginx -g pid /run/nginx.pid; error_log stderr;
http 3589 nginx: worker process
Thanks