We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unfortunately with the change to gvisor as a default, grist becomes unavailable unless gvisor is installed.
While the /dex and /auth/login endpoints worked, the main application did not, resulting in a Bad Gateway response.
/dex
/auth/login
Bad Gateway
2024-03-09 14:06:40.598 - info: Sandbox stderr: Problem: Traceback (most recent call last): Problem: File "/grist/sandbox/grist/main.py", line 18, in <module> sandboxPid=115, flavor=gvisor, command=undefined, entryPoint=(default) 2024-03-09 14:06:40.598 - info: Sandbox stderr: Problem: import engine Problem: File "/grist/sandbox/grist/engine.py", line 24, in <module> sandboxPid=115, flavor=gvisor, command=undefined, entryPoint=(default) 2024-03-09 14:06:40.599 - info: Sandbox stderr: Problem: from autocomplete_context import AutocompleteContext, lookup_autocomplete_options, eval_suggestion sandboxPid=115, flavor=gvisor, command=undefined, entryPoint=(default) 2024-03-09 14:06:40.600 - info: Sandbox stderr: Problem: File "/grist/sandbox/grist/autocomplete_context.py", line 14, in <module> sandboxPid=115, flavor=gvisor, command=undefined, entryPoint=(default) 2024-03-09 14:06:40.600 - info: Sandbox stderr: Problem: from table import UserTable Problem: File "/grist/sandbox/grist/table.py", line 11, in <module> sandboxPid=115, flavor=gvisor, command=undefined, entryPoint=(default) 2024-03-09 14:06:40.601 - info: Sandbox stderr: Problem: import docmodel sandboxPid=115, flavor=gvisor, command=undefined, entryPoint=(default) 2024-03-09 14:06:40.601 - info: Sandbox stderr: Problem: File "/grist/sandbox/grist/docmodel.py", line 12, in <module> sandboxPid=115, flavor=gvisor, command=undefined, entryPoint=(default) 2024-03-09 14:06:40.602 - info: Sandbox stderr: Problem: import functions Problem: File "/grist/sandbox/grist/functions/__init__.py", line 6, in <module> sandboxPid=115, flavor=gvisor, command=undefined, entryPoint=(default) 2024-03-09 14:06:40.602 - info: Sandbox stderr: Problem: File "/grist/sandbox/grist/functions/math.py", line 17, in <module> sandboxPid=115, flavor=gvisor, command=undefined, entryPoint=(default) 2024-03-09 14:06:40.603 - info: Sandbox stderr: Problem: ModuleNotFoundError: No module named 'roman' sandboxPid=115, flavor=gvisor, command=undefined, entryPoint=(default) info [grist-omnibus] I think everything has started up now info [grist-omnibus] Listening internally on 80/443, externally at https://...
I resolved this by switching to the unsandboxed version for docker run ... -e GRIST_SANDBOX_FLAVOR=unsandboxed
docker run
-e GRIST_SANDBOX_FLAVOR=unsandboxed
Please update the documentation to indicate that gvisor is now required by default.
The text was updated successfully, but these errors were encountered:
This issue also ccounts for the Grist image published from https://github.com/gristlabs/grist-core/blob/main/Dockerfile#L140 with https://github.com/gristlabs/grist-core/blob/main/.github/workflows/docker.yml when running on Docker without gVisor.
unsandboxed is also the default in there.
unsandboxed
Sorry, something went wrong.
No branches or pull requests
Unfortunately with the change to gvisor as a default, grist becomes unavailable unless gvisor is installed.
While the
/dex
and/auth/login
endpoints worked, the main application did not, resulting in aBad Gateway
response.I resolved this by switching to the unsandboxed version for
docker run
...-e GRIST_SANDBOX_FLAVOR=unsandboxed
Please update the documentation to indicate that gvisor is now required by default.
The text was updated successfully, but these errors were encountered: