felddy/foundryvtt-docker

Unraid; Will only build from Timed URL

tymanthius opened this issue · 1 comments

Bug description

When I install this on Docker, it will not build if I use just user/pass. If I put in the timed URL it will build, but does not store in the Cache folder, so on restart for any reason I have to recreate the timed URL.

Steps to reproduce

  • Install on Unraid
  • Put in timed url and user/pass and cache dir in /Data folder
  • let build
  • wait for timed url to expire
  • make no changes but restart docker

Expected behavior

I expect that on a restart it will simply come back up and work. I should not have to have rebuild the docker ever time.

Container metadata

com.foundryvtt.version = "12.331"
org.opencontainers.image.authors = "markf+github@geekpad.com"
org.opencontainers.image.created = "2024-08-16T01:48:32.610Z"
org.opencontainers.image.description = "An easy-to-deploy Dockerized Foundry Virtual Tabletop server."
org.opencontainers.image.licenses = "MIT"
org.opencontainers.image.revision = "61a1ac11d7bd298b93fa6cebb102158ddb1d020e"
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 = "12.331.0"

Relevant log output

Successful setup:


< etag: "a0413e8a134d6db99581d20ec5a8088f-28"

< last-modified: Thu, 15 Aug 2024 15:26:54 GMT

< vary: Accept-Encoding

< cache-control: max-age=14400

< cf-cache-status: MISS

< accept-ranges: bytes

< server: cloudflare

< cf-ray: 8bce3c29ab1b477e-DFW

< 

{ [5 bytes data]

 13  221M   13 30.2M    0     0  33.9M      0  0:00:06 --:--:--  0:00:06 33.9M
 37  221M   37 84.1M    0     0  44.5M      0  0:00:04  0:00:01  0:00:03 44.5M
 60  221M   60  134M    0     0  46.7M      0  0:00:04  0:00:02  0:00:02 46.7M
 89  221M   89  198M    0     0  50.8M      0  0:00:04  0:00:03  0:00:01 50.8M
100  221M  100  221M    0     0  52.5M      0  0:00:04  0:00:04 --:--:-- 52.5M
* Connection #0 to host r2.foundryvtt.com left intact
Entrypoint | 2024-09-02 07:36:58 | [info] Installing Foundry Virtual Tabletop 
Entrypoint | 2024-09-02 07:36:58 | [debug] Checking mime-type of release file.
Entrypoint | 2024-09-02 07:36:58 | [debug] Found mime-type: application/zip
Entrypoint | 2024-09-02 07:36:58 | [debug] Extracting release file.
Entrypoint | 2024-09-02 07:37:02 | [debug] Installation completed.
Entrypoint | 2024-09-02 07:37:02 | [info] Preserving release archive file in cache.
Entrypoint | 2024-09-02 07:37:02 | [debug] CONTAINER_CACHE_SIZE is not set. Skipping cache cleanup.
Entrypoint | 2024-09-02 07:37:02 | [debug] Patching GUI update and configuration messages.
Entrypoint | 2024-09-02 07:37:02 | [info] Not modifying existing installation license key.
Entrypoint | 2024-09-02 07:37:02 | [info] Setting data directory permissions.
Entrypoint | 2024-09-02 07:37:02 | [debug] Setting ownership of /data to foundry:foundry.
Entrypoint | 2024-09-02 07:37:07 | [debug] Completed setting directory permissions.
Entrypoint | 2024-09-02 07:37:07 | [info] Starting launcher with uid:gid as foundry:foundry.
Entrypoint | 2024-09-02 07:37:07 | [debug] Waiting for child pid: 75 to exit.
Launcher | 2024-09-02 07:37:07 | [debug] Ensuring /data/Config directory exists.
Launcher | 2024-09-02 07:37:07 | [info] Generating options.json file.
Launcher | 2024-09-02 07:37:07 | [info] Setting 'Admin Access Key'.
Launcher | 2024-09-02 07:37:07 | [info] Starting Foundry Virtual Tabletop.
FoundryVTT | 2024-09-02 14:37:08 | [info] Running on Node.js - Version 18.20.3
FoundryVTT | 2024-09-02 14:37:08 | [info] Foundry Virtual Tabletop - Version 12 Build 331
FoundryVTT | 2024-09-02 14:37:08 | [info] User Data Directory - "/data"
FoundryVTT | 2024-09-02 14:37:08 | [info] Application Options:
{
  "awsConfig": null,
  "compressSocket": false,
  "compressStatic": true,
  "cssTheme": "foundry",
  "fullscreen": false,
  "hostname": null,
  "hotReload": false,
  "language": "en.core",
  "localHostname": null,
  "passwordSalt": null,
  "port": 30000,
  "protocol": null,
  "proxyPort": null,
  "proxySSL": false,
  "routePrefix": null,
  "sslCert": null,
  "sslKey": null,
  "updateChannel": "stable",
  "upnp": false,
  "upnpLeaseDuration": null,
  "world": null,
  "adminPassword": "••••••••••••••••",
  "deleteNEDB": false,
  "noBackups": false,
  "serviceConfig": null
}
FoundryVTT | 2024-09-02 14:37:08 | [error] Software license verification failed. Please confirm your Foundry Virtual Tabletop software license
FoundryVTT | 2024-09-02 14:37:08 | [info] Server started and listening on port 30000
FoundryVTT | 2024-09-02 14:37:09 | [info] Created client session e22a9063902861a18b9ef169
FoundryVTT | 2024-09-02 14:37:16 | [warn] Could not reach IP discovery service
FoundryVTT | 2024-09-02 14:37:23 | [info] Created client session a82d92e224e89cbe5ff6eac7
FoundryVTT | 2024-09-02 14:37:26 | [info] License signature successfully created. Thank you and please enjoy Foundry Virtual Tabletop.
FoundryVTT | 2024-09-02 14:37:26 | [info] Software license verification succeeded
FoundryVTT | 2024-09-02 14:37:35 | [info] Administrator authentication successful for session e22a9063902861a18b9ef169
FoundryVTT | 2024-09-02 14:37:36 | [warn] The system "wfrp4e" is using "gridDistance" which is deprecated in favor of "grid.distance".
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
FoundryVTT | 2024-09-02 14:37:36 | [warn] The system "wfrp4e" is using "gridUnits" which is deprecated in favor of "grid.units".
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
FoundryVTT | 2024-09-02 14:37:42 | [info] Saved application configuration options to /data/Config/options.json


10 minutes later restarted the container:


< etag: "a0413e8a134d6db99581d20ec5a8088f-28"

< last-modified: Thu, 15 Aug 2024 15:26:54 GMT

< vary: Accept-Encoding

< cache-control: max-age=14400

< cf-cache-status: MISS

< accept-ranges: bytes

< server: cloudflare

< cf-ray: 8bce3c29ab1b477e-DFW

< 

{ [5 bytes data]

 13  221M   13 30.2M    0     0  33.9M      0  0:00:06 --:--:--  0:00:06 33.9M
 37  221M   37 84.1M    0     0  44.5M      0  0:00:04  0:00:01  0:00:03 44.5M
 60  221M   60  134M    0     0  46.7M      0  0:00:04  0:00:02  0:00:02 46.7M
 89  221M   89  198M    0     0  50.8M      0  0:00:04  0:00:03  0:00:01 50.8M
100  221M  100  221M    0     0  52.5M      0  0:00:04  0:00:04 --:--:-- 52.5M
* Connection #0 to host r2.foundryvtt.com left intact
Entrypoint | 2024-09-02 07:36:58 | [info] Installing Foundry Virtual Tabletop 
Entrypoint | 2024-09-02 07:36:58 | [debug] Checking mime-type of release file.
Entrypoint | 2024-09-02 07:36:58 | [debug] Found mime-type: application/zip
Entrypoint | 2024-09-02 07:36:58 | [debug] Extracting release file.
Entrypoint | 2024-09-02 07:37:02 | [debug] Installation completed.
Entrypoint | 2024-09-02 07:37:02 | [info] Preserving release archive file in cache.
Entrypoint | 2024-09-02 07:37:02 | [debug] CONTAINER_CACHE_SIZE is not set. Skipping cache cleanup.
Entrypoint | 2024-09-02 07:37:02 | [debug] Patching GUI update and configuration messages.
Entrypoint | 2024-09-02 07:37:02 | [info] Not modifying existing installation license key.
Entrypoint | 2024-09-02 07:37:02 | [info] Setting data directory permissions.
Entrypoint | 2024-09-02 07:37:02 | [debug] Setting ownership of /data to foundry:foundry.
Entrypoint | 2024-09-02 07:37:07 | [debug] Completed setting directory permissions.
Entrypoint | 2024-09-02 07:37:07 | [info] Starting launcher with uid:gid as foundry:foundry.
Entrypoint | 2024-09-02 07:37:07 | [debug] Waiting for child pid: 75 to exit.
Launcher | 2024-09-02 07:37:07 | [debug] Ensuring /data/Config directory exists.
Launcher | 2024-09-02 07:37:07 | [info] Generating options.json file.
Launcher | 2024-09-02 07:37:07 | [info] Setting 'Admin Access Key'.
Launcher | 2024-09-02 07:37:07 | [info] Starting Foundry Virtual Tabletop.
FoundryVTT | 2024-09-02 14:37:08 | [info] Running on Node.js - Version 18.20.3
FoundryVTT | 2024-09-02 14:37:08 | [info] Foundry Virtual Tabletop - Version 12 Build 331
FoundryVTT | 2024-09-02 14:37:08 | [info] User Data Directory - "/data"
FoundryVTT | 2024-09-02 14:37:08 | [info] Application Options:
{
  "awsConfig": null,
  "compressSocket": false,
  "compressStatic": true,
  "cssTheme": "foundry",
  "fullscreen": false,
  "hostname": null,
  "hotReload": false,
  "language": "en.core",
  "localHostname": null,
  "passwordSalt": null,
  "port": 30000,
  "protocol": null,
  "proxyPort": null,
  "proxySSL": false,
  "routePrefix": null,
  "sslCert": null,
  "sslKey": null,
  "updateChannel": "stable",
  "upnp": false,
  "upnpLeaseDuration": null,
  "world": null,
  "adminPassword": "••••••••••••••••",
  "deleteNEDB": false,
  "noBackups": false,
  "serviceConfig": null
}
FoundryVTT | 2024-09-02 14:37:08 | [error] Software license verification failed. Please confirm your Foundry Virtual Tabletop software license
FoundryVTT | 2024-09-02 14:37:08 | [info] Server started and listening on port 30000
FoundryVTT | 2024-09-02 14:37:09 | [info] Created client session e22a9063902861a18b9ef169
FoundryVTT | 2024-09-02 14:37:16 | [warn] Could not reach IP discovery service
FoundryVTT | 2024-09-02 14:37:23 | [info] Created client session a82d92e224e89cbe5ff6eac7
FoundryVTT | 2024-09-02 14:37:26 | [info] License signature successfully created. Thank you and please enjoy Foundry Virtual Tabletop.
FoundryVTT | 2024-09-02 14:37:26 | [info] Software license verification succeeded
FoundryVTT | 2024-09-02 14:37:35 | [info] Administrator authentication successful for session e22a9063902861a18b9ef169
FoundryVTT | 2024-09-02 14:37:36 | [warn] The system "wfrp4e" is using "gridDistance" which is deprecated in favor of "grid.distance".
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
FoundryVTT | 2024-09-02 14:37:36 | [warn] The system "wfrp4e" is using "gridUnits" which is deprecated in favor of "grid.units".
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
FoundryVTT | 2024-09-02 14:37:42 | [info] Saved application configuration options to /data/Config/options.json

Code of Conduct

  • I agree to follow this project's Code of Conduct

And I've manually checked - there's nothing in my Cache folder. At least not the path that's assigned in the Unraid configs.

Edit:
The main reason this is an issue for me is that I have a process that backs up all my dockers on a schedule. It has to stop the container to do so. FoundryVTT doesn't restart properly.