canonical / firmware-updater

An experimental firmware updater UI based on fwupd
GNU General Public License v3.0
109 stars 14 forks source link

Firmware updater cannot write to log file #242

Open tim-hm opened 9 months ago

tim-hm commented 9 months ago

The firmware updater is trying to write its logs to a location it does not have access to:

Dec 13 10:17:03 mercury firmware-updater.firmware-updater-app[11286]: flutter: ERROR firmware-updater: Logging to /snap/firmware-updater/119/bin/.firmware-updater/firmware-updater.log failed (Creation failed)
tim-hm commented 9 months ago

From the App Center logging: flutter: INFO snap-store: Logging to /home/seb128/snap/snap-store/1075/.local/share/snap-store/snap-store.log

So the path we should follow is: /home/$USER/snap/$SNAP/current/.local/share/$snap