You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
Here is the error that pops up when I run the app:
***@***:~$ vnstat-client
20:40:26.790 › [PRODUCTION] vnStat Client is Running.
20:40:27.350 › Getting data...
20:40:27.351 › APPIMAGE env is not defined, current application is not an AppImage
20:40:27.457 › Error: Command failed:
if grep -q "$(systemctl is-active vnstat)" <<< "active" ;
then echo "true"
else echo "false"
fi
/bin/sh: 2: Syntax error: redirection unexpected
at ChildProcess.exithandler (node:child_process:408:12)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1092:16)
at Socket.<anonymous> (node:internal/child_process:451:11)
at Socket.emit (node:events:526:28)
at Pipe.<anonymous> (node:net:687:12)
20:40:27.461 › Getting data is successfully
20:40:29.980 › vnStat-client has been closed.
And the app is unable to read data from the database however vnstat works perfectly and shows data in the terminal.
Possible solution:
After some research, it looks like that the script is using Dash instead of Bash (because I use Ubuntu) so it may solve the problem if Bash is used instead of using the default shell in the script.
This may not be the best solution and you should consider other possible solutions if found.
The text was updated successfully, but these errors were encountered:
When I tried your suggestion, I got typically the same result I provided earlier.
Anyway here's the neofetch you asked for, If you need more info, just tell me.
Problem:
Here is the error that pops up when I run the app:
And the app is unable to read data from the database however vnstat works perfectly and shows data in the terminal.
Possible solution:
After some research, it looks like that the script is using Dash instead of Bash (because I use Ubuntu) so it may solve the problem if Bash is used instead of using the default shell in the script.
This may not be the best solution and you should consider other possible solutions if found.
The text was updated successfully, but these errors were encountered: