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

Blynk server on Raspberry Pi problem with start

Hy guys. Sorry for my bad english. I have problem with running server on Raspberry
I use this command for starting server:
pi@raspberrypi:~ $ java -jar server-0.41.12-java8.jar - dataFolder home/pi/Blynk
and error is here.
Exception in thread “main” java.lang.RuntimeException: Error unpacking static files.
at cc.blynk.utils.JarUtil.unpackStaticFiles(JarUtil.java:64)
at cc.blynk.utils.properties.ServerProperties.(ServerProperties.java:34)
at cc.blynk.utils.properties.ServerProperties.(ServerProperties.java:42)
at cc.blynk.server.launcher.ServerLauncher.main(ServerLauncher.java:55)
Caused by: java.nio.file.AccessDeniedException: /home/pi/static/report-email.html
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:245)
at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
at java.base/java.nio.file.Files.deleteIfExists(Files.java:1180)
at cc.blynk.utils.JarUtil.unpackStaticFiles(JarUtil.java:49)
… 3 more

i need help very quickly!

Also i have java 11.0.3 but server is on java 8 I think because I don’ make server I just configure server. I try deinstalled java and instal now (8.0) but then write again 11.0.3. (comand java -version)

Sounds like either a missing file, or a permissions issue.
Mine looks like this when viewed in WinSCP…

Also, I wouldn’t normally have a space betetween the “-” and the word “dataFolder”

Pete.

All what you need is start server as a ROOT. In terminal write sudo pcmanfm . Then open folder in terminal and run server!