-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Describe the bug
I deployed DumbPad on my Docker host and i get the following Error:
dumbpad | > dumbpad@1.0.4 start
dumbpad | > node server.js
dumbpad |
dumbpad | ALLOWED ORIGINS: *
dumbpad | Asset manifest generated! [
dumbpad | '/Assets/asset-manifest.json',
dumbpad | '/Assets/dumbpad.png',
dumbpad | '/Assets/dumbpad.svg',
dumbpad | '/Assets/manifest.json',
dumbpad | '/Assets/preview-styles.css',
dumbpad | '/Assets/styles.css',
dumbpad | '/app.js',
dumbpad | '/index.html',
dumbpad | '/login.html',
dumbpad | '/managers/collaboration.js',
dumbpad | '/managers/confirmation.js',
dumbpad | '/managers/cursor-manager.js',
dumbpad | '/managers/operations.js',
dumbpad | '/managers/preview.js',
dumbpad | '/managers/search.js',
dumbpad | '/managers/settings.js',
dumbpad | '/managers/storage.js',
dumbpad | '/managers/toaster.js',
dumbpad | '/service-worker.js'
dumbpad | ]
dumbpad | PWA manifest generated! {
dumbpad | name: 'DumbPad',
dumbpad | short_name: 'DumbPad',
dumbpad | description: 'A simple notepad application',
dumbpad | start_url: '/',
dumbpad | display: 'standalone',
dumbpad | background_color: '#ffffff',
dumbpad | theme_color: '#000000',
dumbpad | icons: [
dumbpad | { src: 'dumbpad.png', type: 'image/png', sizes: '192x192' },
dumbpad | { src: 'dumbpad.png', type: 'image/png', sizes: '512x512' }
dumbpad | ],
dumbpad | orientation: 'any'
dumbpad | }
dumbpad | Checking for notepad files to migrate...
dumbpad | Server is running on port 3000
dumbpad | Base URL: http://localhost:3301
dumbpad | Environment: production
dumbpad | Version: 1.0.4
dumbpad | Creating new notepads.json
dumbpad | Error initializing data directory: Error: EACCES: permission denied, open '/app/data/notepads.json'
dumbpad | at async open (node:internal/fs/promises:641:25)
dumbpad | at async Object.writeFile (node:internal/fs/promises:1215:14)
dumbpad | at async ensureDataDir (/app/server.js:562:13)
dumbpad | at async getNotepadsFromDir (/app/server.js:581:5)
dumbpad | at async loadNotepadsList (/app/server.js:576:26)
dumbpad | at async /app/server.js:739:22 {
dumbpad | errno: -13,
dumbpad | code: 'EACCES',
dumbpad | syscall: 'open',
dumbpad | path: '/app/data/notepads.json'
dumbpad | }
dumbpad | node:internal/process/promises:394
dumbpad | triggerUncaughtException(err, true /* fromPromise */);
dumbpad | ^
dumbpad |
dumbpad | Error: EACCES: permission denied, open '/app/data/notepads.json'
dumbpad | at async open (node:internal/fs/promises:641:25)
dumbpad | at async Object.writeFile (node:internal/fs/promises:1215:14)
dumbpad | at async ensureDataDir (/app/server.js:562:13)
dumbpad | at async getNotepadsFromDir (/app/server.js:581:5)
dumbpad | at async loadNotepadsList (/app/server.js:576:26)
dumbpad | at async /app/server.js:739:22 {
dumbpad | errno: -13,
dumbpad | code: 'EACCES',
dumbpad | syscall: 'open',
dumbpad | path: '/app/data/notepads.json'
dumbpad | }
dumbpad |
dumbpad | Node.js v22.19.0
dumbpad exited with code 1
Compose File
services:
dumbpad:
image: dumbwareio/dumbpad:latest
container_name: dumbpad
restart: unless-stopped
ports:
- 3301:3000
volumes:
# Where your notes will be stored
- ./data:/app/data
environment:
# The title shown in the web interface
SITE_TITLE: DumbPad
# Optional PIN protection (leave empty to disable)
#DUMBPAD_PIN: 1234
# The base URL for the application
BASE_URL: http://localhost:3301
networks: {}To Reproduce
Steps to reproduce the behavior:
- Deployed Container
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Fresh Deployed Container
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels