raspiblitz: SCB not send to DropBox when new channel backup is generated.

I should mention i am still on 1.7 Dev RC2

I set up DropBoxBackup and the db.file is send to dropbox right away. But get not updatet after new channels are opened.

 sudo journalctl -f -u background
-- Logs begin at Sun 2021-05-02 06:08:50 BST. --
May 02 12:29:14 raspberrypi _background.sh[1370]: Blockchain Sync Monitoring: peers=20
May 02 12:29:14 raspberrypi sudo[23751]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/ls /mnt/hdd/lnd/data/chain/bitcoin/mainnet/channel.backup
May 02 12:29:14 raspberrypi sudo[23751]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 02 12:29:14 raspberrypi sudo[23751]: pam_unix(sudo:session): session closed for user root
May 02 12:29:14 raspberrypi sudo[23756]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/md5sum /mnt/hdd/lnd/data/chain/bitcoin/mainnet/channel.backup
May 02 12:29:14 raspberrypi sudo[23756]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 02 12:29:14 raspberrypi sudo[23756]: pam_unix(sudo:session): session closed for user root
May 02 12:29:14 raspberrypi sudo[23761]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/md5sum /home/admin/backups/scb/channel.backup
May 02 12:29:14 raspberrypi sudo[23761]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 02 12:29:14 raspberrypi sudo[23761]: pam_unix(sudo:session): session closed for user root
May 02 12:30:15 raspberrypi sudo[26055]:     root : TTY=unknown ; PWD=/ ; USER=admin ; COMMAND=/home/admin/config.scripts/network.monitor.sh peer-status
May 02 12:30:15 raspberrypi sudo[26055]: pam_unix(sudo:session): session opened for user admin by (uid=0)
May 02 12:30:15 raspberrypi sudo[26055]: pam_unix(sudo:session): session closed for user admin
May 02 12:30:15 raspberrypi _background.sh[1370]: Blockchain Sync Monitoring: peers=20
May 02 12:30:15 raspberrypi sudo[26062]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/ls /mnt/hdd/lnd/data/chain/bitcoin/mainnet/channel.backup
May 02 12:30:15 raspberrypi sudo[26062]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 02 12:30:15 raspberrypi sudo[26062]: pam_unix(sudo:session): session closed for user root
May 02 12:30:15 raspberrypi sudo[26067]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/md5sum /mnt/hdd/lnd/data/chain/bitcoin/mainnet/channel.backup
May 02 12:30:15 raspberrypi sudo[26067]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 02 12:30:15 raspberrypi sudo[26067]: pam_unix(sudo:session): session closed for user root
May 02 12:30:15 raspberrypi sudo[26075]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/md5sum /home/admin/backups/scb/channel.backup
May 02 12:30:15 raspberrypi sudo[26075]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 02 12:30:15 raspberrypi sudo[26075]: pam_unix(sudo:session): session closed for user root

I see the backup gets triggerd but on DropBox its still 3 days old. Are there more related logs? Maybe this is just a access issue with dropbox ?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (3 by maintainers)

Commits related to this issue

Most upvoted comments

I’m not sure if this is the answer, but I had a similar problem with the scb upload to dropbox working temporarily and then stopping. I also noticed a few people on the Raspiblitz Telegram commenting the same. If you exactly follow the instructions provided at https://github.com/rootzoll/raspiblitz#a-dropbox-backup-target - then you will leave the access token expiration as ‘short lived’. I changed it to ‘no expiration’ (as it was set for previous dropbox tokens on blitz instances I had last year). I’m hoping this fixes things for me. Maybe addresses the above (was going to raise a new Issue that the instructions might need an update, but saw this Issue).