BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Local server shut down

The server runs for several hours and shuts down.
ubuntu 18.04
java -jar server-0.41.14.jar -dataFolder./var/www/blynk
I didn’t see anything in the logs …

Does that mean that nothing at all is being written to logs/blynk.log or that you don’t see anything in the logs which could indicate why the Blynk server is shutting down?

What is your log.level set to in server.properties?

Pete.

Yes, logs are written.

But I don’t see anything (09:53 manual start):
00:42:47.595 INFO - xxxx Blynk-app (iOS-22605) joined.
00:43:28.715 INFO - xxxxxxx Blynk-app (iOS-22605) joined.
00:43:43.833 ERROR- Error sending email auth token to user : 6924094@gmail.com. Error: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
09:53:13.371 INFO - Using data dir ‘/var/www/blynk’
09:53:14.071 INFO - Region : local. Host : x x x x x.
09:53:14.183 INFO - Using native epoll transport.

02:05:49.403 - Ticked widgets for 1 minute : 0. Per second : 0, total time : 0 ms
02:06:49.402 - Ticked widgets for 1 minute : 0. Per second : 0, total time : 0 ms
09:53:14.959 - Timers : 0
09:54:01.015 - Backup for user DB started…
09:54:01.026 - Backup for user DB finished.

log.level=info

Maybe increasing your logging level to debug may help?

Have you enabled auto restart?..

Pete.

Thanks!
Yes, set:
log.level=trace
watching…

“Have you enabled auto restart?..” ---- > YES, modify to /etc/rc.local