Hello, I have a problem running the server via the command:
Sudo java -jar server-0.41.2-java8.jar -dataFolder /home/adam/BLYNK/datas
because then the text will appear that the server has successfully turned on and saved it to the
/home/adam/logs
Can you help?
PS. Server is on Ubuntu PC
You can set logs dir location in server.properties
I had this problem as well. I think there is a tiny bug with the -dataFolder option. its been a while now, but try it again with a non-capitalized directory. sorry, i dont remember what i did to fix it. maybe i added a “/” at the end of the directory in the datafolder option?
-dataFolder /home/adam/BLYNK/datas/
The path in the command IS case sensitive (AKA must use same capitisation as in the directory structure) otherwise no bugs that I am aware of.
As I like to keep everything Blynk Server related in the Blynk folder…
I use this in my /etc/rc.local
file…
# Blynk Local Server
sudo java -jar /home/pi/Blynk/server-0.41.2-java8.jar -dataFolder /home/pi/Blynk &
And this in my /home/pi/Blynk/server.properties
file…
# folder for logs.
logs.folder=/home/pi/Blynk/logs