vindard / lnd-backup

A script that backs up the channel state for the lnd daemon
7 stars 2 forks source link

Dropbox - No journal files were opened due to insufficient permissions. #3

Open bastelpingu opened 5 years ago

bastelpingu commented 5 years ago

hello I tried this tutorial: https://stadicus.github.io/RaspiBolt/raspibolt_73_static_backup_dropox.html Unfortunately it does not work

admin@RaspiBolt:~ $ journalctl -fu backup-channels Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions.

in the 3rd line of $ sudo nano lnd-channel-backup.sh

i have try DROPBOX_APITOKEN="mytoken". is this correct? I tried it with: "or without".

Thanks for your help!

greeting waffi

vindard commented 5 years ago

Hi, just to clarify, did you literally have DROPBOX_APITOKEN="mytoken" included in the lnd-channel-backup.sh file?

Can you try running the following commands from the directory/folder where you have the lnd-channel-backup.sh file stored and share what error messages you are getting?

$ sudo chmod u+x lnd-channel-backup.sh
$ ./lnd-channel-backup.sh

(p.s. tagging cross-post of this issue here as well)

bastelpingu commented 5 years ago

Hello. Thanks for the answer!

yes i am sure that the dropbox is right, i copied and pasted it. then confirmed with:

$ sudo chmod +x lnd-channel-backup.sh $ sudo mv lnd-channel-backup.sh /usr/local/bin

It's been there for a few minutes:

admin@RaspiBolt:~/download $ sudo chmod u+x lnd-channel-backup.sh admin@RaspiBolt:~/download $ ./lnd-channel-backup.sh Setting up watches. Watches established.

dropbox is still empty.

thanks again for the help :)