DumbPad icon indicating copy to clipboard operation
DumbPad copied to clipboard

Blanking out entry

Open rsisente opened this issue 1 year ago • 8 comments

Describe the bug When returning to Dumbpad, several previously entered items, are now blank

To Reproduce Steps to reproduce the behavior:

  1. Go to dumbpad docker container (web interface)
  2. click previously save item
  3. It is blank

Expected behavior There should be the previously entered item shown

Screenshots

Image

Desktop (please complete the following information):

  • OS: running in Unraid accessed by Brave browser, from a windows 11 machine Have tried other browsers

rsisente avatar Aug 31 '25 00:08 rsisente

This is interesting. To confirm, you have mounted/mapped the volume path correct?

abiteman avatar Aug 31 '25 18:08 abiteman

using the default that installed with Unraid

Image

Other items, are still there. I have had this happen 3 times so far. The first two, I thought I had maybe cut instead of copy when I would refer to the info for other things I was working on. But the third time, I knew something was wrong. I currently have a total of 11 items

rsisente avatar Aug 31 '25 21:08 rsisente

Same here, setup in Portainer. After the recent update changes were not saved anymore, even so the "saved" message popped up. No errors in the container log file.

volumes:
           - /opt/docker/dumbpad/data:/app/data

Solution: For some reasons i had to change the permissions to my app folder from root to my user: after chown 1000:1000 /opt/docker/dumbpad/ -R it worked again

OldBavarian avatar Sep 04 '25 12:09 OldBavarian

after these changes: https://github.com/DumbWareio/DumbPad/pull/76

  • requires change ownership of the data directory like mentioned by @OldBavarian
  • sudo chown -R 1000:1000 /path/to/dumbpad/dataDirectory

we'll keep this open until this is properly documented in the readme

gitmotion avatar Sep 11 '25 18:09 gitmotion

I modified the permissions, but the notes I had issues with previously, I re-entered the data, and it went missing again. I had to delete the note, and create a new one.

rsisente avatar Sep 11 '25 22:09 rsisente

Been dealing with this for some time. Finally ran across this thread. It should be added to the documentation.

dudefoxlive avatar Sep 28 '25 01:09 dudefoxlive

So that's why!

I've spent several hours thinking I've lost my mind and I'm dumb AF, experimenting and tinkering with older build of the image that worked ... please, add this to the documentation asap, as it is hair-pulling experience for the uninitiated who just want to use your app.

Thank you!

For those who didn't catch the memo and/or just stumbled upon this, once again, the latest version of DumbPad won't start correctly unless you execute this command on your host machine (credit to @gitmotion from above):

sudo chown -R 1000:1000 /path/to/dumbpad/dataDirectory

Symptoms you have the same problem -> Open the logs of the container and if you see this you haven't fixed the above:

Error: EACCES: permission denied, open '/app/data/notepads.json'
  at async open (node:internal/fs/promises:641:25)
  at async Object.writeFile (node:internal/fs/promises:1215:14)
  at async ensureDataDir (/app/server.js:562:13)
  at async getNotepadsFromDir (/app/server.js:581:5)
  at async loadNotepadsList (/app/server.js:576:26)
  at async /app/server.js:739:22 {
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/app/data/notepads.json'
}

God bless @gitmotion!

StoyanBorisovBG avatar Oct 15 '25 12:10 StoyanBorisovBG

Anddddd 84 years later it has been added to the readme!

abiteman avatar Nov 04 '25 03:11 abiteman