outdoorbits / little-backup-box

This software turns a single-board computer into a versatile, pocket-sized backup solution. Especially for digital photography, this is the solution for backing up images and media files on mass storage devices when traveling or at events. Media content can be viewed and rated for the subsequent process.
http://littlebackupbox.com
GNU General Public License v3.0
504 stars 103 forks source link

Log monitor not working #172

Closed caso1982 closed 1 year ago

caso1982 commented 1 year ago

I've just re-installed LBB and have noticed that it doesn't seem to be generating a .log file.

Screenshot 2022-12-04 220249
outdoorbits commented 1 year ago

Did you start any job before?

outdoorbits commented 1 year ago

After boot lbb generates an empty logfile and sets the first entry: "Little Backup Box". Did you click on Refresh?

caso1982 commented 1 year ago

I'd tried starting a transfer job (USB - USB) and it works fine. There was no log file generated though. Also tried to refresh and download the log. No result from either.

outdoorbits commented 1 year ago

Strange thing. Just to understand, This is a new installation on a newly installed latest version of Raspberry Pi OS Lite? Did you do any special configuration (including the settings of lbb)? Could you check for the logfile by

ls -la /var/www/little-backup-box/tmp/little-backup-box.log

just to check permissions.

caso1982 commented 1 year ago

This was an update that was overwritten over an older version of LBB (not sure which version) Output of ls -la /var/www/little-backup-box/tmp/little-backup-box.log is below.

-rw-r--r-- 1 root root 337 Dec 5 20:19 /var/www/little-backup-box/tmp/little-backup-box.log

caso1982 commented 1 year ago

I've just set up the pi again from scratch and completed a fresh install of LBB. All is working and the log is now visible. Seems as though trying to update from an older version of LBB using the installer script didn't work properly. Thanks for your help.

outdoorbits commented 1 year ago

Strange, the file should be owned by user www-data and the install-/update-script should set this. Something went wrong, maybe the script didn't finish. We'll never know... Have fun!