Comments (12)
Thanks I will work on it
from gps-tracker.
Yeah I think the problem is resolved.
Thanks.
from gps-tracker.
Hi, I've just been improving the server management tonight.
Once the server is created, you should start the server from servers status panel, after that, the cronjob will check the server status to starting it automatically in case of crash, you don't have to launch it manually from the console.
The --reset option is used to stop the server in case it is running and start a new one.
Upgrade your installation with php8.2 ./composer deploy
.
The code you have pasted looks like something in hexadecimal, it is strange, I would have to check it since in the documentation I think it does not show about that.
from gps-tracker.
Coban devices use two communication protocols they call it (in,out) and the custom command you send does not respond because the default code is set to IN, you must send them the command by sms to the gps: protocol123456 18 out. Then try sending the command again and it should work. Anyway, you could reconfigure my server to test the responses.
from gps-tracker.
The server is stopped again:
[2024-01-02T12:23:19+00:00] production.ERROR: No arguments expected for "server:start:port" command, got "{--port=6001}". {"url":"http://localhost","method":"GET","exception":"[object] (Symfony\\Component\\Console\\Exception\\RuntimeException(code: 0): No arguments expected for \"server:start:port\" command, got \"{--port=6001}\". at /var/www/html/GPS-Tracker/vendor/symfony/console/Input/ArgvInput.php:196)
from gps-tracker.
Do you have the cron configured? Are you executing the command from console?
from gps-tracker.
I have configured cron like this
* * * * * cd /var/www/html/GPS-Tracker && install -d storage/logs/artisan/$(date +"\%Y/\%m/\%d") && /usr/bin/php artisan schedule:run >> storage/logs/artisan/$(date +"\%Y/\%m/\%d")/schedule-run.log 2>&1
from gps-tracker.
Sorry the previous error was wrong. I deleted the logs and and rebooted the server.
I get this error:
[2024-01-02T16:29:33+00:00] production.ERROR: Connection refused {"url":"http://localhost","method":"GET","exception":"[object] (RedisException(code: 0): Connection refused at /var/www/html/GPS-Tracker/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:161)
while redis is running
redis-cli ping
PONG
└─801 "/usr/bin/redis-server 127.0.0.1:6379"
I tried manually restart in panel but I got this error:
[2024-01-02T16:42:40+00:00] production.ERROR: App\Domains\Server\Exception\PortBusy: The server could not be started because the 6001 is not free in /var/www/html/GPS-Tracker/app/Domains/Server/Action/StartPort.php:114
seems panel wants to run with www-data
user but cron runs as root
[2024-01-02T16:42:40+00:00] production.ERROR: App\Domains\Server\Exception\PortBusy: The server could not be started because the 6001 is not free in /var/www/html/GPS-Tracker/app/Domains/Server/Action/StartPort.php:114
from gps-tracker.
Do you have configured redis in .env
? Clear cache after config changes php artisan optimize
.
from gps-tracker.
I belive yes
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
redis-cli -h 127.0.0.1 -p 6379 ping
PONG
from gps-tracker.
Cron must run as webserver user (www-data
).
from gps-tracker.
Can this issue be closed?
from gps-tracker.
Related Issues (20)
- location jump during driving HOT 5
- ST-901 Current States, Alarms HOT 10
- redirect to this address http://127.0.0.1:8000/user/login HOT 4
- concox GT08 is not connected to my site HOT 20
- QUESTION Mobile App HOT 1
- Support Teltonika FMC003 HOT 2
- Add Hebrew Translation HOT 3
- Coban not save my data HOT 4
- Alarm Not Working HOT 17
- Instalacion fallida HOT 6
- Error al Iniciar Servidor HOT 4
- OBD II Datas HOT 3
- Support for Cncote CE-09N HOT 35
- Docker Build fail HOT 6
- teltonika fmb120 HOT 8
- Can't Seed database HOT 2
- Application doesn't start HOT 7
- Adding additional data to trips HOT 1
- Installation docker build error HOT 2
- New Protocol HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gps-tracker.