Skip to content

Builds but container exits on errors #6

@Ikarias

Description

@Ikarias

Log file

FoundryVTT | 2023-12-31 15:28:08 | [info] Running on Node.js - Version 16.20.2
FoundryVTT | 2023-12-31 15:28:08 | [info] Foundry Virtual Tabletop - Version 11 Build 313
FoundryVTT | 2023-12-31 15:28:08 | [info] User Data Directory - "/home/foundry/data"
FoundryVTT | 2023-12-31 15:28:08 | [error] A fatal error occurred while trying to start the Foundry Virtual Tabletop server: 
You do not have permission to create content in /home/foundry/data: EACCES: permission denied, open '/home/foundry/data/.permission-test.txt'

Error: A fatal error occurred while trying to start the Foundry Virtual Tabletop server: You do not have permission to create content in /home/foundry/data: EACCES: permission denied, open '/home/foundry/data/.permission-test.txt'
    at Object.openSync (node:fs:590:3)
    at Object.writeFileSync (node:fs:2202:35)
    at _testPermissions (file:///home/foundry/app/resources/app/dist/init.mjs:1:3508)
    at _initializeCriticalFunctions (file:///home/foundry/app/resources/app/dist/init.mjs:1:2547)
    at Module.initialize (file:///home/foundry/app/resources/app/dist/init.mjs:1:1570)
    at file:///home/foundry/app/resources/app/main.mjs:30:15

Like title : Build without a problem, but when i start container with docker run --name fvtt -p 30000:30000 -v /dockerdata/foundry:/home/foundry/data -d foundryvtt it stops with errors.
Ive tested 310 to 315, same results.

Halp!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions