Comments (5)
The offending line is an operating system call to os.homedir(). This is happening because I have the FOUNDRY_UID and FOUNDRY_GID env vars set. The entrypoint script does not create the user and group if they do not exist, causing this error.
from foundryvtt-docker.
Thanks for the report. I'm looking into it.
I set FOUNDRY_UID=1000
and FOUNDRY_GID=100
on my actual server and was not seeing this behavior:
...
foundry_1 | 'foundryvtt-0.6.4.zip' saved
foundry_1 | Installing Foundry Virtual Tabletop 0.6.4
foundry_1 | Switching uid:gid to 1000:100 and restarting.
foundry_1 | Starting felddy/foundryvtt container v0.6.4
foundry_1 | Foundry Virtual Tabletop 0.6.4 is installed.
foundry_1 | Generating options.json file.
foundry_1 | Setting 'Admin Access Key'.
foundry_1 | Starting Foundry Virtual Tabletop.
foundry_1 | FoundryVTT | 2020-06-23 15:19:45 | [info] Foundry Virtual Tabletop - Version 0.6.4
foundry_1 | FoundryVTT | 2020-06-23 15:19:45 | [info] Running on Node.js - Version 12.18.1
foundry_1 | FoundryVTT | 2020-06-23 15:19:45 | [info] Loading data from user directory - /data
foundry_1 | FoundryVTT | 2020-06-23 15:19:45 | [info] Application Options:
...
But I am able to reproduce it when I use FOUNDRY_UID=111
and FOUNDRY_GID=115
: 🎉
...
foundry_1 | 'foundryvtt-0.6.4.zip' saved
foundry_1 | Installing Foundry Virtual Tabletop 0.6.4
foundry_1 | Applying license key.
foundry_1 | Switching uid:gid to 111:115 and restarting.
foundry_1 | Starting felddy/foundryvtt container v0.6.4
foundry_1 | Foundry Virtual Tabletop 0.6.4 is installed.
foundry_1 | Generating options.json file.
foundry_1 | Setting 'Admin Access Key'.
foundry_1 | Starting Foundry Virtual Tabletop.
foundry_1 | SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_homedir returned ENOENT (no such file or directory)
foundry_1 | at _getEnvDataPath (/home/foundry/resources/app/main.js:128:22)
foundry_1 | at getPaths (/home/foundry/resources/app/main.js:55:23)
foundry_1 | at Object.<anonymous> (/home/foundry/resources/app/main.js:158:18)
foundry_1 | at Module._compile (internal/modules/cjs/loader.js:1138:30)
foundry_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
foundry_1 | at Module.load (internal/modules/cjs/loader.js:986:32)
foundry_1 | at Function.Module._load (internal/modules/cjs/loader.js:879:14)
foundry_1 | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
foundry_1 | at internal/main/run_main_module.js:17:47
...
Thanks again for reporting this. I'll get a fix for this up as soon as possible.
from foundryvtt-docker.
@TimPansino I just published v0.6.4+a
I believe that this will fixes the issue you reported. After updating I am no longer able to reproduce the error.
Please pull
the new image from Docker hub, test, and let me know how it goes.
from foundryvtt-docker.
@TimPansino were you able to test the proposed fix?
from foundryvtt-docker.
I had not, I just tried with the latest build and that is working.
Unrelated but there's an issue with your CONTAINER_PATCHES logic. Seems you're testing a potentially unset variable for truth instead of testing if it's set. I can open a different issue for that though.
./entrypoint.sh: line 107: CONTAINER_PATCHES: parameter not set
from foundryvtt-docker.
Related Issues (20)
- Auth Page not loading correctly HOT 8
- Can't use webm images because the container space is to small. HOT 2
- Remaining `config.json.lock` folder after stopping the container HOT 12
- Allow backup/world uploads HOT 2
- FOUNDRY_UID crashes running chown HOT 6
- Add support for `--nobackup` flag and configuration option
- Automate container_cache cleanup HOT 3
- ERROR: request returned Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2Fdocker_engine/_ping, check if the server supports the requested API version HOT 3
- Install Breaks when Admin provides Windows Install URL causing container to store the exe file in cache as zip file blocking further start after putting the correct Linux NODE URL. HOT 3
- SSL key not found HOT 1
- Foundry website login change broke authentication helper utility HOT 10
- Foundry login screen field name changes results in failed login attempts HOT 1
- Fatal error in Docker on a Raspberry Pi 4 HOT 8
- Health Check for docker container falsely reports unhealthy when foundryvtt is running with inbuilt https server
- Missing 10.312 tag HOT 1
- Shutting down the docker keeps the packs locked HOT 4
- container_patches directory cannot be accessed by container patch script
- Restarting causes it to download and install again HOT 1
- Container not working HOT 3
- user: 5000:5000 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundryvtt-docker.