- Add recordings directory structure with .gitkeep, .gitignore, and README - Update deployment script to set chmod 777 on recordings directory - Fixes ENOENT/EACCES errors when discord-gateway tries to create user subdirectories - Ensures container app user (UID 100) can write recording files This resolves the crash on voice channel connection where the service failed to create user-specific recording directories like: - recordings/<user-id>/ - recordings/sessions/ Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
16 lines
401 B
Markdown
16 lines
401 B
Markdown
# Recordings Directory
|
|
|
|
This directory is mounted as a volume in the discord-gateway container.
|
|
Voice recordings are stored here with the following structure:
|
|
|
|
```
|
|
recordings/
|
|
├── <user-id>/
|
|
│ ├── <timestamp>.ogg
|
|
│ └── <timestamp>.json
|
|
└── sessions/
|
|
└── <session-id>.json
|
|
```
|
|
|
|
The directory must be writable by UID 1000 (app user in the container).
|