felddy / foundryvtt-docker

An easy-to-deploy Dockerized Foundry Virtual Tabletop server.
https://hub.docker.com/r/felddy/foundryvtt
MIT License
612 stars 118 forks source link

Unable to Launch any World after Upgrading to V11.299.0 on Raspberry Pi 4B #705

Closed DasOcko closed 1 year ago

DasOcko commented 1 year ago

Bug description

After Upgrading to V11.299.0 on my Raspberry Pi 4B i am unable to launch any world in my instance of docker. the Loading circle spins indefinately and the container ends with "[error] Node process exited with code 139".

Steps to reproduce

  1. Setup a new docker-compose.txt (username,password and hostname censored) on a raspberry pi 4B running Raspbian GNU/Linux 11 (bullseye) armv7l.
  2. run "docker compose up" as root
  3. access the web-UI with firefox
  4. install any system (in my case DnD 5e, Savage Worlds Adventure Edition and FateX were used)
  5. create a world with the aforementioned system
  6. Launch the world

Expected behavior

I expected the world to launch and the canvas to appear.

Container metadata

com.foundryvtt.version = "11.299"
org.opencontainers.image.authors = "markf+github@geekpad.com"
org.opencontainers.image.created = "2023-05-26T01:33:20.124Z"
org.opencontainers.image.description = "An easy-to-deploy Dockerized Foundry Virtual Tabletop server."
org.opencontainers.image.licenses = "MIT"
org.opencontainers.image.revision = "349bc278fa92049dd2b480b322fc30a0842221fb"
org.opencontainers.image.source = "https://github.com/felddy/foundryvtt-docker"
org.opencontainers.image.title = "foundryvtt-docker"
org.opencontainers.image.url = "https://github.com/felddy/foundryvtt-docker"
org.opencontainers.image.vendor = "Geekpad"
org.opencontainers.image.version = "11.299.0"

Relevant log output

root@ockberry:/home/pi/Docker/foundryvtt2# docker compose up
[+] Building 0.0s (0/0)
[+] Running 2/2
 ✔ Network foundryvtt2_default      Created                                                                                                     0.6s
 ✔ Container foundryvtt2-foundry-1  Created                                                                                                     1.3s
Attaching to foundryvtt2-foundry-1
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:09 | [debug] Timezone set to: UTC
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:09 | [info] Starting felddy/foundryvtt container v11.299.0
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:09 | [debug] CONTAINER_VERBOSE set.  Debug logging enabled.
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:09 | [debug] Running as: uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:09 | [debug] Environment: CONTAINER_PRESERVE_CONFIG=true
foundryvtt2-foundry-1  | CONTAINER_VERBOSE=true
foundryvtt2-foundry-1  | FOUNDRY_ADMIN_KEY=[REDACTED]
foundryvtt2-foundry-1  | FOUNDRY_HOME=/home/foundry
foundryvtt2-foundry-1  | FOUNDRY_Hostname=ockodock.de
foundryvtt2-foundry-1  | FOUNDRY_PASSWORD=[REDACTED]
foundryvtt2-foundry-1  | FOUNDRY_PROXY_SSL=true
foundryvtt2-foundry-1  | FOUNDRY_Proxy_Port=443
foundryvtt2-foundry-1  | FOUNDRY_USERNAME=DasOcko
foundryvtt2-foundry-1  | FOUNDRY_VERSION=11.299
foundryvtt2-foundry-1  | HOME=/root
foundryvtt2-foundry-1  | HOSTNAME=my_foundry_host_2
foundryvtt2-foundry-1  | NODE_VERSION=18.16.0
foundryvtt2-foundry-1  | PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
foundryvtt2-foundry-1  | PWD=/home/foundry
foundryvtt2-foundry-1  | SHLVL=1
foundryvtt2-foundry-1  | YARN_VERSION=1.22.19
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:09 | [info] No Foundry Virtual Tabletop installation detected.
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:09 | [info] Using FOUNDRY_USERNAME and FOUNDRY_PASSWORD to authenticate.
foundryvtt2-foundry-1  | Authenticate | 2023-06-04 17:02:10 | [debug] Saving cookies to: cookiejar.json
foundryvtt2-foundry-1  | Authenticate | 2023-06-04 17:02:10 | [info] Requesting CSRF tokens from https://foundryvtt.com
foundryvtt2-foundry-1  | Authenticate | 2023-06-04 17:02:10 | [debug] Fetching: https://foundryvtt.com
foundryvtt2-foundry-1  | Authenticate | 2023-06-04 17:02:11 | [info] Logging in as: dasocko
foundryvtt2-foundry-1  | Authenticate | 2023-06-04 17:02:11 | [debug] Fetching: https://foundryvtt.com/auth/login/
foundryvtt2-foundry-1  | Authenticate | 2023-06-04 17:02:13 | [debug] Community URL: /community/dasocko
foundryvtt2-foundry-1  | Authenticate | 2023-06-04 17:02:13 | [info] Successfully logged in as: dasocko
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:13 | [info] Using authenticated credentials to download release.
foundryvtt2-foundry-1  | ReleaseURL | 2023-06-04 17:02:14 | [debug] Loading cookies from: cookiejar.json
foundryvtt2-foundry-1  | ReleaseURL | 2023-06-04 17:02:14 | [info] Fetching S3 pre-signed release URL for build 299...
foundryvtt2-foundry-1  | ReleaseURL | 2023-06-04 17:02:14 | [debug] Attempt 1 of 1
foundryvtt2-foundry-1  | ReleaseURL | 2023-06-04 17:02:14 | [debug] Fetching: https://foundryvtt.com/releases/download?build=299&platform=linux
foundryvtt2-foundry-1  | ReleaseURL | 2023-06-04 17:02:15 | [debug] S3 presigned URL: https://foundryvtt.s3.amazonaws.com/releases/11.299/FoundryVTT-11.299.zip?AWSAccessKeyId=AKIA2KJE5YZ3BCQQ6DH3&Signature=zVfEs857ObdbIGRhOZ5CpSDbjv8%3D&Expires=1685898435
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:15 | [info] Using CONTAINER_CACHE: /data/container_cache
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:15 | [info] Downloading Foundry Virtual Tabletop release.
foundryvtt2-foundry-1  |   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
foundryvtt2-foundry-1  |                                  Dload  Upload   Total   Spent    Left  Speed
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  |   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 52.218.205.139:443...
foundryvtt2-foundry-1  | * Connected to foundryvtt.s3.amazonaws.com (52.218.205.139) port 443 (#0)
foundryvtt2-foundry-1  | * ALPN: offers h2,http/1.1
foundryvtt2-foundry-1  | } [5 bytes data]
foundryvtt2-foundry-1  | * TLSv1.3 (OUT), TLS handshake, Client hello (1):
foundryvtt2-foundry-1  | } [512 bytes data]
foundryvtt2-foundry-1  | *  CAfile: /etc/ssl/certs/ca-certificates.crt
foundryvtt2-foundry-1  | *  CApath: none
foundryvtt2-foundry-1  | { [5 bytes data]
foundryvtt2-foundry-1  | * TLSv1.3 (IN), TLS handshake, Server hello (2):
foundryvtt2-foundry-1  | { [110 bytes data]
foundryvtt2-foundry-1  | * TLSv1.2 (IN), TLS handshake, Certificate (11):
foundryvtt2-foundry-1  | { [4970 bytes data]
foundryvtt2-foundry-1  | * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
foundryvtt2-foundry-1  | { [333 bytes data]
foundryvtt2-foundry-1  | * TLSv1.2 (IN), TLS handshake, Server finished (14):
foundryvtt2-foundry-1  | { [4 bytes data]
foundryvtt2-foundry-1  | * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
foundryvtt2-foundry-1  | } [70 bytes data]
foundryvtt2-foundry-1  | * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
foundryvtt2-foundry-1  | } [1 bytes data]
foundryvtt2-foundry-1  | * TLSv1.2 (OUT), TLS handshake, Finished (20):
foundryvtt2-foundry-1  | } [16 bytes data]
foundryvtt2-foundry-1  | * TLSv1.2 (IN), TLS handshake, Finished (20):
foundryvtt2-foundry-1  | { [16 bytes data]
foundryvtt2-foundry-1  | * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
foundryvtt2-foundry-1  | * ALPN: server accepted http/1.1
foundryvtt2-foundry-1  | * Server certificate:
foundryvtt2-foundry-1  | *  subject: CN=*.s3.amazonaws.com
foundryvtt2-foundry-1  | *  start date: Mar 21 00:00:00 2023 GMT
foundryvtt2-foundry-1  | *  expire date: Dec 19 23:59:59 2023 GMT
foundryvtt2-foundry-1  | *  subjectAltName: host "foundryvtt.s3.amazonaws.com" matched cert's "*.s3.amazonaws.com"
foundryvtt2-foundry-1  | *  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
foundryvtt2-foundry-1  | *  SSL certificate verify ok.
foundryvtt2-foundry-1  | * using HTTP/1.1
foundryvtt2-foundry-1  | } [5 bytes data]
foundryvtt2-foundry-1  | > GET /releases/11.299/FoundryVTT-11.299.zip?AWSAccessKeyId=AKIA2KJE5YZ3BCQQ6DH3&Signature=zVfEs857ObdbIGRhOZ5CpSDbjv8%3D&Expires=1685898435 HTTP/1.1
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | > Host: foundryvtt.s3.amazonaws.com
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | > User-Agent: curl/8.1.1 (felddy/foundryvtt:11.299.0)
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | > Accept: */*
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | > If-Modified-Since: Sun, 04 Jun 2023 16:38:27 GMT
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | >
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | { [5 bytes data]
foundryvtt2-foundry-1  | < HTTP/1.1 304 Not Modified
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | < x-amz-id-2: ZOtW5qoBSCp+JAUb4exTJHjeyroYMtMCXu0quaDDaSEanSfN5vWGu3tbyHjYuZAEYhYqCOQtEBQ=
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | < x-amz-request-id: S3DA7S3BCDKC9X6W
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | < Date: Sun, 04 Jun 2023 17:02:16 GMT
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | < Last-Modified: Wed, 24 May 2023 21:57:23 GMT
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | < ETag: "12e90c15672a752f9bfac16b802839fd-42"
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | < x-amz-version-id: null
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | < Server: AmazonS3
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  | <
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  |
foundryvtt2-foundry-1  |   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
foundryvtt2-foundry-1  | * Connection #0 to host foundryvtt.s3.amazonaws.com left intact
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:02:16 | [info] Installing Foundry Virtual Tabletop 11.299
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:03:33 | [debug] Installation completed.
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:03:33 | [info] Preserving release archive file in cache.
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:03:33 | [debug] Patching GUI update and configuration messages.
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:03:34 | [info] Not modifying existing installation license key.
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:03:34 | [info] Setting data directory permissions.
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:03:34 | [debug] Setting ownership of /data to foundry:foundry.
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:03:34 | [debug] Completed setting directory permissions.
foundryvtt2-foundry-1  | Entrypoint | 2023-06-04 17:03:34 | [info] Starting launcher with uid:gid as foundry:foundry.
foundryvtt2-foundry-1  | Launcher | 2023-06-04 17:03:34 | [debug] Ensuring /data/Config directory exists.
foundryvtt2-foundry-1  | Launcher | 2023-06-04 17:03:34 | [warn] CONTAINER_PRESERVE_CONFIG is set: Not updating options.json
foundryvtt2-foundry-1  | Launcher | 2023-06-04 17:03:34 | [warn] CONTAINER_PRESERVE_CONFIG is set: Not updating admin.txt
foundryvtt2-foundry-1  | Launcher | 2023-06-04 17:03:34 | [info] Starting Foundry Virtual Tabletop.
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:03:39 | [info] Running on Node.js - Version 18.16.0
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:03:39 | [info] Foundry Virtual Tabletop - Version 11 Build 299
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:03:39 | [info] User Data Directory - "/data"
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:03:40 | [info] Application Options:
foundryvtt2-foundry-1  | {
foundryvtt2-foundry-1  |   "awsConfig": null,
foundryvtt2-foundry-1  |   "compressSocket": false,
foundryvtt2-foundry-1  |   "compressStatic": false,
foundryvtt2-foundry-1  |   "fullscreen": false,
foundryvtt2-foundry-1  |   "hostname": null,
foundryvtt2-foundry-1  |   "hotReload": false,
foundryvtt2-foundry-1  |   "language": "en.core",
foundryvtt2-foundry-1  |   "localHostname": null,
foundryvtt2-foundry-1  |   "passwordSalt": null,
foundryvtt2-foundry-1  |   "port": 30000,
foundryvtt2-foundry-1  |   "protocol": null,
foundryvtt2-foundry-1  |   "proxyPort": null,
foundryvtt2-foundry-1  |   "proxySSL": true,
foundryvtt2-foundry-1  |   "routePrefix": null,
foundryvtt2-foundry-1  |   "sslCert": null,
foundryvtt2-foundry-1  |   "sslKey": null,
foundryvtt2-foundry-1  |   "telemetry": false,
foundryvtt2-foundry-1  |   "updateChannel": "stable",
foundryvtt2-foundry-1  |   "upnp": false,
foundryvtt2-foundry-1  |   "upnpLeaseDuration": null,
foundryvtt2-foundry-1  |   "world": null,
foundryvtt2-foundry-1  |   "cssTheme": "foundry",
foundryvtt2-foundry-1  |   "deleteNEDB": false,
foundryvtt2-foundry-1  |   "serviceConfig": null,
foundryvtt2-foundry-1  |   "adminPassword": "••••••••••••••••"
foundryvtt2-foundry-1  | }
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:03:40 | [info] Software license verification succeeded
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:03:40 | [info] Server started and listening on port 30000
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:03:50 | [info] Created client session c2e639475e4580b128f26517
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:03:50 | [warn] module "dice-so-nice" declares media.link which is unsupported, media.url should be used
foundryvtt2-foundry-1  | Deprecated since Version 11
foundryvtt2-foundry-1  | Backwards-compatible support will be removed in Version 13
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:03:57 | [info] Administrator authentication successful for session c2e639475e4580b128f26517
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:04:02 | [info] Created client session 991a0bd75603164625f85ac3
foundryvtt2-foundry-1  | FoundryVTT | 2023-06-04 17:04:08 | [warn] module "dice-so-nice" declares media.link which is unsupported, media.url should be used
foundryvtt2-foundry-1  | Deprecated since Version 11
foundryvtt2-foundry-1  | Backwards-compatible support will be removed in Version 13
foundryvtt2-foundry-1  | Segmentation fault (core dumped)
foundryvtt2-foundry-1  | Launcher | 2023-06-04 17:04:15 | [error] Node process exited with code 139
foundryvtt2-foundry-1 exited with code 0
root@ockberry:/home/pi/Docker/foundryvtt2#

Code of Conduct

felddy commented 1 year ago

@DasOcko, thank you for the detailed report.
I believe this is the same node segfault issue we are working on in issue #697 .
I'm going to mark this as a duplicate for now. Please watch #697 for details and hopefully a resolution.

See: