streetwriters / notesnook

A fully open source & end-to-end encrypted note taking alternative to Evernote.
https://notesnook.com/
GNU General Public License v3.0
10.05k stars 618 forks source link

Notesnook crashes at boot #6734

Open streetwriters[bot] opened 3 weeks ago

streetwriters[bot] commented 3 weeks ago

Hello!

At boot of my macbook, I have Notesnook (among other apps) configured to automatically launch.

Everytime Notesnook crashes with the error:

Error: EPERM: operation not permitted, open '//2024-10-21-09-52-40.nnbackupz'

The backup path is correct, the permissions of the folder are 755.

I have to click on "Reload app", it reloads and starts without error.

Thanks!

Device information: App version: 3.0.18-5f0d14f-desktop OS: OS X 10.15.7 Browser: Electron 30.5.1 Pro: true

rclavel commented 3 weeks ago

Hello - It's my issue, I just wanted to clarify that the error message is:

Error: EPERM: operation not permitted, open '/<backup path>/2024-10-21-09-52-40.nnbackupz'

I have removed the backup path from the message and replaced by the characters < and >, and they were removed when I submitted the ticket.

Thanks!

thecodrr commented 1 week ago

@rclavel try resetting the backup directory path. The app probably doesn't have the necessary permissions to write to that directory.