diff --git a/README.md b/README.md index 06a0ae6..fdd16f7 100644 --- a/README.md +++ b/README.md @@ -182,51 +182,6 @@ Ver [docs/INSTALACION.md](docs/INSTALACION.md) para instrucciones detalladas. **Nexus Autoparts** -- Tu conexion directa con las partes que necesitas -Instance: Strada Autopartes -Tenant DB: tenant_strada (ID: ) -Owner PIN: 1234 -Local IP: 192.168.10.152 - -To start the POS: - systemctl start nexus-pos - # or manually: cd /home/Autopartes/pos && gunicorn -w 2 -b 0.0.0.0:5001 app:app - -To add peers, edit: /home/Autopartes/pos/peers.json -To import inventory: python3 /home/Autopartes/scripts/import_inventory.py --tenant= --csv=inventario.csv - -Access: http://192.168.10.152:5001/pos/login -nexus-1@raspberrypi:/home/Autopartes $ sudo systemctl start 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 01:56:18 EDT; 4s ago - Invocation: 54c1853247fb4292879389d5351f578e - Process: 15945 ExecStart=/usr/local/bin/gunicorn -w 2 -b 0.0.0.0:5001 --timeout 120 app:app (code=exited, stat> - Main PID: 15945 (code=exited, status=1/FAILURE) - CPU: 386ms - -nexus-1@raspberrypi:/home/Autopartes $ systemctl start 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 01:57:50 EDT; 2s ago - Invocation: 959db685f7da471ba4caa6cdce91bcfe - Process: 16013 ExecStart=/usr/local/bin/gunicorn -w 2 -b 0.0.0.0:5001 --timeout 120 app:app (code=exited, stat> - Main PID: 16013 (code=exited, status=1/FAILURE) - CPU: 419ms - -nexus-1@raspberrypi:/home/Autopartes $ sudo journalctl -u nexus-pos -f -abr 18 01:57:55 raspberrypi systemd[1]: nexus-pos.service: Scheduled restart job, restart counter is at 18. -abr 18 01:57:55 raspberrypi systemd[1]: Started nexus-pos.service - Nexus Autoparts POS. -abr 18 01:57:55 raspberrypi gunicorn[16020]: Error: Error: '/var/log/nexus-pos/error.log' isn't writable [FileNotFoundError(2, 'No such file or directory')] -abr 18 01:57:56 raspberrypi systemd[1]: nexus-pos.service: Main process exited, code=exited, status=1/FAILURE -abr 18 01:57:56 raspberrypi systemd[1]: nexus-pos.service: Failed with result 'exit-code'. -abr 18 01:58:01 raspberrypi systemd[1]: nexus-pos.service: Scheduled restart job, restart counter is at 19. -abr 18 01:58:01 raspberrypi systemd[1]: Started nexus-pos.service - Nexus Autoparts POS. -abr 18 01:58:01 raspberrypi gunicorn[16022]: Error: Error: '/var/log/nexus-pos/error.log' isn't writable [FileNotFoundError(2, 'No such file or directory')] -abr 18 01:58:01 raspberrypi systemd[1]: nexus-pos.service: Main process exited, code=exited, status=1/FAILURE -abr 18 01:58:01 raspberrypi systemd[1]: nexus-pos.service: Failed with result 'exit-code'. -abr 18 01:58:06 raspberrypi systemd[1]: nexus-pos.service: Scheduled restart job, restart counter is at 20. -abr 18 01:58:06 raspberrypi systemd[1]: Started nexus-pos.service - Nexus Autoparts POS. -abr 18 01:58:07 raspberrypi gunicorn[16030]: Error: Error: '/var/log/nexus-pos/error.log' isn't writable [FileNotFoundError(2, 'No such file or directory')] - + sudo mkdir -p /var/log/nexus-pos + sudo systemctl restart nexus-pos + sudo systemctl status nexus-pos