Skip to content

Commit c5e7441

Browse files
hendisantikaclaude
andcommitted
fix: chown data directory to match container bot user (UID 1000)
Fixes SQLite "unable to open database file" error caused by volume permission mismatch between host deployer user and container bot user. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4848f22 commit c5e7441

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
5555
- name: Create app directory on server
5656
run: |
57-
ssh deployer@103.31.204.189 'mkdir -p ~/jvmid-bot/data'
57+
ssh deployer@103.31.204.189 'mkdir -p ~/jvmid-bot/data && chown 1000:1000 ~/jvmid-bot/data'
5858
5959
- name: Write .env file to server
6060
run: |

0 commit comments

Comments
 (0)