R
Railway14mo ago
fafafa87

Volumes: permission denied with browserless

Project ID: 75c2d2e3-662e-4b72-bcde-32f446f024ba Steps: 1. Deploy browserless 2. Make sure you specify VERSION env variable 1-chrome-stable (do not use latest because it has a bug) 3. Create a volume called downloads 4. Add a environment variable called WORKSPACE_DIR with value /downloads (this is supposedly pointing to the volume created in the previous step) 5. Now try to do a CURL to workspaces
curl -X GET \
https://browserless-production-70a2.up.railway.app/workspace
stream timeout%
curl -X GET \
https://browserless-production-70a2.up.railway.app/workspace
stream timeout%
And in the server I get:
unhandled Rejection at: Promise {
<rejected> [Error: EACCES: permission denied, scandir '/downloads/lost+found'] {
errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/downloads/lost+found'
}
} reason: [Error: EACCES: permission denied, scandir '/downloads/lost+found'] {
errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/downloads/lost+found'
}
unhandled Rejection at: Promise {
<rejected> [Error: EACCES: permission denied, scandir '/downloads/lost+found'] {
errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/downloads/lost+found'
}
} reason: [Error: EACCES: permission denied, scandir '/downloads/lost+found'] {
errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/downloads/lost+found'
}
Any ideas?
2 Replies
Percy
Percy14mo ago
Project ID: 75c2d2e3-662e-4b72-bcde-32f446f024ba
Brody
Brody14mo ago
set a service variable RAILWAY_RUN_UID to 0
Want results from more Discord servers?
Add your server