Am trying my Pi 3 to make auto start for blynk server

hi hello,
Am trying my Pi 3 to make auto start for blynk server. But its not working. Can you reply me whats wrong in my installation. Blynk local server, NodeMCU, Router and mobile app all working fine, while connecting manually. I have pinned my blynk log below, Kindly reply far any solution…

04:15:34.741 INFO - Using data dir '/home/pi/Blynk'
04:15:38.117 INFO - Region : local. Host : 127.0.1.1.
04:15:38.176 INFO - Renaming of old reporting files started...
04:15:40.427 INFO - Initializing gmail smtp mail transport. Username : arvibluedragon@gmail.com. SMTP host : smtp.gmail.com:587
04:15:40.812 INFO - Reports : 0
04:15:40.814 INFO - Didn't find custom user certificates.
04:15:40.822 INFO - Didn't find Let's Encrypt certificates.
04:15:40.822 WARN - You didn't specified 'server.host' or 'contact.email' properties in server.properties file. 
Automatic certificate generation is turned off. Please specify above properties for automatic certificates retrieval.
04:15:40.823 WARN - ATTENTION. Server certificate paths (cert : '/home/pi/Blynk', key : '/home/pi/Blynk') not valid. 
Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
04:15:44.487 INFO - Hardware SSL server listening at 8441 port.
04:15:44.494 INFO - HTTP API and WebSockets server listening at 8080 port.
04:15:44.497 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
04:15:44.501 INFO - Mqtt hardware server listening at 8440 port.
04:15:57.666 WARN - User 'arvibluedragon@gmail.com' not registered. /192.168.225.21:48282
04:15:59.804 WARN - User 'arvibluedragon@gmail.com' not registered. /192.168.225.21:48284
04:16:16.904 WARN - User 'arvibluedragon@gmail.com' not registered. /192.168.225.21:48296
04:16:19.341 WARN - User 'arvibluedragon@gmail.com' not registered. /192.168.225.21:48298
04:16:28.928 WARN - User 'arvibluedragon@gmail.com' not registered. /192.168.225.21:48304
04:17:19.448 INFO - Trying register user : arvibluedragon@gmail.com, app : Blynk
04:17:19.496 INFO - Registered arvibluedragon@gmail.com.
04:17:19.726 INFO - arvibluedragon@gmail.com Blynk-app (android-22603) joined.
04:29:42.564 INFO - Using data dir '/home/pi/Blynk'
04:29:46.163 INFO - Region : local. Host : 127.0.1.1.
04:29:46.234 INFO - Renaming of old reporting files started...
04:29:48.643 INFO - Initializing gmail smtp mail transport. Username : arvibluedragon@gmail.com. SMTP host : smtp.gmail.com:587
04:29:49.026 INFO - Reports : 0
04:29:49.027 INFO - Didn't find custom user certificates.
04:29:49.035 INFO - Didn't find Let's Encrypt certificates.
04:29:49.035 WARN - You didn't specified 'server.host' or 'contact.email' properties in server.properties file. 
Automatic certificate generation is turned off. Please specify above properties for automatic certificates retrieval.
04:29:49.036 WARN - ATTENTION. Server certificate paths (cert : '/home/pi/Blynk', key : '/home/pi/Blynk') not valid. 
Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
04:29:53.385 INFO - Hardware SSL server listening at 8441 port.
04:29:53.391 INFO - HTTP API and WebSockets server listening at 8080 port.
04:29:53.394 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
04:29:53.397 INFO - Mqtt hardware server listening at 8440 port.
04:29:56.068 INFO - arvibluedragon@gmail.com Blynk-app (android-22603) joined.
04:29:59.690 INFO - arvibluedragon@gmail.com Blynk-app (android-22603) joined.
04:34:40.519 INFO - Using data dir '/home/pi/Blynk'
04:34:44.065 INFO - Region : local. Host : 127.0.1.1.
04:34:44.135 INFO - Renaming of old reporting files started...
04:34:46.606 INFO - Initializing gmail smtp mail transport. Username : arvibluedragon@gmail.com. SMTP host : smtp.gmail.com:587
04:34:46.999 INFO - Reports : 0
04:34:47.001 INFO - Didn't find custom user certificates.
04:34:47.009 INFO - Didn't find Let's Encrypt certificates.
04:34:47.009 WARN - You didn't specified 'server.host' or 'contact.email' properties in server.properties file. 
Automatic certificate generation is turned off. Please specify above properties for automatic certificates retrieval.
04:34:47.010 WARN - ATTENTION. Server certificate paths (cert : '/home/pi/Blynk', key : '/home/pi/Blynk') not valid. 
Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
04:34:50.446 INFO - Hardware SSL server listening at 8441 port.
04:34:50.452 INFO - HTTP API and WebSockets server listening at 8080 port.
04:34:50.455 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
04:34:50.458 INFO - Mqtt hardware server listening at 8440 port.
04:34:56.738 INFO - arvibluedragon@gmail.com Blynk-app (android-22603) joined.
04:52:56.063 INFO - Using data dir '/home/pi/Blynk'
04:52:59.601 INFO - Region : local. Host : 127.0.1.1.
04:52:59.669 INFO - Renaming of old reporting files started...
04:53:02.395 INFO - Initializing gmail smtp mail transport. Username : arvibluedragon@gmail.com. SMTP host : smtp.gmail.com:587
04:53:02.777 INFO - Reports : 0
04:53:02.778 INFO - Didn't find custom user certificates.
04:53:02.786 INFO - Didn't find Let's Encrypt certificates.
04:53:02.786 WARN - You didn't specified 'server.host' or 'contact.email' properties in server.properties file. 
Automatic certificate generation is turned off. Please specify above properties for automatic certificates retrieval.
04:53:02.787 WARN - ATTENTION. Server certificate paths (cert : '/home/pi/Blynk', key : '/home/pi/Blynk') not valid. 
Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
04:53:12.195 INFO - Hardware SSL server listening at 8441 port.
04:53:12.201 INFO - HTTP API and WebSockets server listening at 8080 port.
04:53:12.205 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
04:53:12.208 INFO - Mqtt hardware server listening at 8440 port.
04:53:19.013 INFO - arvibluedragon@gmail.com Blynk-app (android-22603) joined.

Hello, please don’t tack a “me to” issue onto someone else’s topic, thanks. I have moved your issue into its own topic.

Auto starting the server is a normal Linux issue, not Blynk specific… there are a few ways of starting a script upon reboot… you can Google for more info.

Blynk’s GitHub Server Documentation shows a couple methods…

I use the /etc/rc.local file method…

sudo java -jar /home/gunner/Blynk/server-0.38.4-java8.jar -dataFolder /home/gunner/Blynk &

1 Like