Local Blynk Server - Login

Pete,

now I´m confused. My Synology NAS DS220 did not support Java 11.
When I look on your page to install Blynk Server on Raspberry Pi I find message 404

On my NAS it is impossible to run till today a local Blynk Server.
For Raspberry Pi it shows that their is no available Software.

Mike

Which url gives a 404 message?

Pete.

Pete;

this website gives a 404 message:
https://github.com/Peterkn2001/blynk-server/releases/download/v0.41.16/server-0.41.16-java8.jar

Mike

Well, when I click on that link it starts downloading the .jar file.

Pete.

Pete;

I have deleted all files in dic Blynk and have new installed from your page

When I log in via SSH I get these results:
DS220@DS220:/volume1/Blynk$ java -version
openjdk version “1.8.0_275”
and then I get these result:
/volume1/Blynk$ java -jar server-0.41.16-java8.jar -dataFolder logs
Error starting Blynk server. Stopping.
The directory /Blynk/logs is their

Whats the reason for Stopping?

What’s the rest of this message?
Is the /Blynk/logs path valid, and does it have write permissions for all users?
What happens if you don’t specify the -dataFolder ?

Pete.

What’s the rest of this message? → Their is no more message on my SSH Terminal.

So is that a comment from you, which should have read “there” rather than “their”?

Pete.

Pete;
sorry I don´t understand your comment.

This is on my ssh terminal to see:

DS220@DS220:/volume1/Blynk$ java -jar server-0.41.16-java8.jar -dataFolder logs
Error starting Blynk server. Stopping.

All files in the directory Blynk have read and write permission.

Mike

The way you presented the data made it appear that “ The directory /Blynk/logs is their” was part of the error message. It seems that it wasn’t, and it’s a comment added by you, which should have read “The directory /Blynk/logs is there”, meaning that the /Blynk/logs folder exists.

Pete.

Pete I copy my last messages from Terminal:

DS220@DS220:/volume1/Blynk$ ls
apiary.apib integration-tests #recycle
checkstyle.xml license.txt scripts
client logs server
CODE_OF_CONDUCT.md mail.properties server-0.41.16.jar
CONTRIBUTING.md new_server_install.md server-0.41.16-java8.jar
docs pom.xml server.properties
@eaDir README.md static
DS220@DS220:/volume1/Blynk$ java -jar server-0.41.16-java8.jar -dataFolder logs
Error starting Blynk server. Stopping.

What does the log file show?

I’ve asked this question three times previously, but you don’t seem to want to reply. Makes it difficult to help track down the issue.

Pete.

sorry, I have tested it with java -jar server-0.41.16-java8.jar -dataFolder and I get the same result:
Error starting Blynk server. Stopping.

But you’re still appending -dataFolder
Why?

Pete.

Pete,
I have stopped to install Blynk Server on Synology NAS!

Now I have tried to install local Blynk Server on Raspberry Pi Zero W:
Something is wrong on your tutorial:

You wrote:

 

and next

<java -jar server-0.41.15-java8.jar -dataFolder /home/pi/Blynk

it must be ... 0.41.16-java8.jar ....

Please have a look on my terminal messages:
pi@raspberrypi:~ $ java -jar server-0.41.15-java8.jar -dataFolder /home/pi/Blynk
Error: Unable to access jarfile server-0.41.15-java8.jar
pi@raspberrypi:~ $ ls
server-0.41.16-java8.jar
pi@raspberrypi:~ $ java -jar server-0.41.16-java8.jar -dataFolder /home/pi/Blynk


Blynk Server  successfully started.
All server output is stored in folder '/home/pi/logs' file.
Admin password not specified. Random password generated.
Your Admin url is https://127.0.1.1:9443/admin
Your Admin login email is admin@blynk.cc
Your Admin password is d.....a>

I think you need to read the text you’ve just posted, it makes no sense to me.

Pete.

Pete here you wrote:

wget "https://github.com/Peterkn2001/blynk-server/releases/download/v0.41.16/server-0.41.16-java8.jar"

and in the next tow lines
Run the server on default 'hardware port 8080' and default 'application port 9443' (SSL port)

  java -jar server-0.41.15-java8.jar -dataFolder /home/pi/Blynk

please compare "v0.41.16" vs. "0.41.15": 

This wrong version makes this as result
pi@raspberrypi:~ $ java -jar server-0.41.15-java8.jar -dataFolder /home/pi/Blynk
Error: Unable to access jarfile server-0.41.15-java8.jar



Okay, I understand now.
GitHub updated to fix the problem.

Pete.

Pete,
the install on Rasberry Pi Zero W did not work without
“sudo apt update && sudo apt full-upgrade -y” after installation Rasbian 2021-05-07-raspios-buster-armhf-lite.zip

Mike

Pete;
the local Blynk Server runs only if I log in over SSH with sssh pi@xxx.xxx.xxx.xxx and PW
In the contab I have wrote

<@reboot java -jar /home/pi/server-0.41.16-java8.jar -dataFolder /home/pi/Blynk &>

That is no good idea I think.

I would like to run the local Blynk server when Raspberry Pi Zero W has voltage.
What can I do?