diff --git a/README.md b/README.md index fdd16f7..11a88ec 100644 --- a/README.md +++ b/README.md @@ -182,6 +182,30 @@ Ver [docs/INSTALACION.md](docs/INSTALACION.md) para instrucciones detalladas. **Nexus Autoparts** -- Tu conexion directa con las partes que necesitas - sudo mkdir -p /var/log/nexus-pos - sudo systemctl restart nexus-pos - sudo systemctl status nexus-pos +nexus-1@raspberrypi:/home/Autopartes $ sudo mkdir -p /var/log/nexus-pos +nexus-1@raspberrypi:/home/Autopartes $ sudo systemctl restart nexus-pos +nexus-1@raspberrypi:/home/Autopartes $ sudo systemctl status nexus-pos +● nexus-pos.service - Nexus Autoparts POS + Loaded: loaded (/etc/systemd/system/nexus-pos.service; enabled; preset: enabled) + Active: activating (auto-restart) (Result: exit-code) since Sat 2026-04-18 02:01:06 EDT; 2s ago + Invocation: 53ad2c78e4da4d35abfdff6f6b664394 + Process: 16135 ExecStart=/usr/local/bin/gunicorn -w 2 -b 0.0.0.0:5001 --timeout 120 app:app (code=exited, stat> + Main PID: 16135 (code=exited, status=4) + CPU: 1.740s + +nexus-1@raspberrypi:/home/Autopartes $ sudo journalctl -u nexus-pos -f +abr 18 02:01:06 raspberrypi systemd[1]: nexus-pos.service: Main process exited, code=exited, status=4/NOPERMISSION +abr 18 02:01:06 raspberrypi systemd[1]: nexus-pos.service: Failed with result 'exit-code'. +abr 18 02:01:06 raspberrypi systemd[1]: nexus-pos.service: Consumed 1.740s CPU time. +abr 18 02:01:11 raspberrypi systemd[1]: nexus-pos.service: Scheduled restart job, restart counter is at 1. +abr 18 02:01:11 raspberrypi systemd[1]: Started nexus-pos.service - Nexus Autoparts POS. +abr 18 02:01:12 raspberrypi gunicorn[16146]: Failed to find attribute 'app' in 'app'. +abr 18 02:01:12 raspberrypi gunicorn[16147]: Failed to find attribute 'app' in 'app'. +abr 18 02:01:13 raspberrypi systemd[1]: nexus-pos.service: Main process exited, code=exited, status=4/NOPERMISSION +abr 18 02:01:13 raspberrypi systemd[1]: nexus-pos.service: Failed with result 'exit-code'. +abr 18 02:01:13 raspberrypi systemd[1]: nexus-pos.service: Consumed 1.524s CPU time. +abr 18 02:01:18 raspberrypi systemd[1]: nexus-pos.service: Scheduled restart job, restart counter is at 2. +abr 18 02:01:18 raspberrypi systemd[1]: Started nexus-pos.service - Nexus Autoparts POS. +abr 18 02:01:19 raspberrypi gunicorn[16156]: Failed to find attribute 'app' in 'app'. +abr 18 02:01:19 raspberrypi gunicorn[16157]: Failed to find attribute 'app' in 'app'. +abr 18 02:01:19 raspberrypi systemd[1]: nexus-pos.service: Main process exited, code=exited, status=4/NOPERMISSION