How to prevent prompt to accept license when container is recreated. #159
-
Hi, is there any way to automatically accept the license on startup? I feel like if I've already done it, I shouldn't have to do it again. Mabye this is more of a foundry quirk, than something related to your container? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hey @yougotborked . Once you accept the license you should not need to accept it again unless you delete the signed license file, or the license changes. This happened between I know accepting a license is annoying, but that isn't something that I would want to automate. It serves a purpose, and hiding it from the user would be a disservice. That said, I do appreciate the issue. I understand how this would be useful. But I think you'll find that it is rare that you'll need to reaccept it. Again, thank you for the issue, and let me know if there are any other ways I can make the container more useful to you. |
Beta Was this translation helpful? Give feedback.
-
Sorry if I was not clear, I am caching the license (I think?), but for some reason every time I restart the container I have to re-accept the licence. the version did not upgrade or change. These are the env vars I am setting, version: '3.8'
services:
foundry:
image: felddy/foundryvtt:release
container_name: foundry
init: true
restart: unless-stopped
environment:
- PUID
- PGID
- TZ
- TIMEZONE
- FOUNDRY_HOSTNAME
- CONTAINER_CACHE
- FOUNDRY_PROXY_PORT
- FOUNDRY_PROXY_SSL
- FOUNDRY_UID
- FOUNDRY_UPNP
- FOUNDRY_ADMIN_KEY=${FOUNDRY_ADMIN_KEY}
- FOUNDRY_USERNAME=${FOUNDRY_USERNAME}
- FOUNDRY_PASSWORD=${FOUNDRY_PASSWORD}
ports:
- 30000:30000/tcp
volumes:
- ${DOCKER_NFS}/var/foundry:/data And some lines from the startup log logs
Entrypoint | 2021-03-12 20:52:03 | [info] Starting felddy/foundryvtt container v0.7.9
Entrypoint | 2021-03-12 20:52:03 | [info] Foundry Virtual Tabletop 0.7.9 is installed.
Entrypoint | 2021-03-12 20:52:03 | [info] Not modifying existing installation license key.Entrypoint | 2021-03-12 20:52:03 | [info] Setting data directory permissions.
Entrypoint | 2021-03-12 20:53:48 | [info] Starting launcher with uid:gid as 65534:foundry.Launcher | 2021-03-12 20:53:48 | [info] Generating options.json file.
Launcher | 2021-03-12 20:53:48 | [info] Setting 'Admin Access Key'.
Launcher | 2021-03-12 20:53:48 | [info] Starting Foundry Virtual Tabletop.
FoundryVTT | 2021-03-12 20:53:50 | [info] Foundry Virtual Tabletop - Version 0.7.9
FoundryVTT | 2021-03-12 20:53:50 | [info] Running on Node.js - Version 12.20.0
FoundryVTT | 2021-03-12 20:53:50 | [info] Loading data from user directory - /data
FoundryVTT | 2021-03-12 20:53:50 | [info] Application Options:
{
"port": 30000,
"upnp": true,
"fullscreen": false,
"hostname": "foundry.----------",
"routePrefix": null,
"sslCert": null,
"sslKey": null,
"awsConfig": null,
"dataPath": "/data",
"proxySSL": true,
"proxyPort": 443,
"minifyStaticFiles": false,
"updateChannel": "release",
"language": "en.core",
"world": null,
"serviceConfig": null,
"isElectron": false,
"isNode": true,
"isSSL": false,
"demo": false,
"noupdate": true,
"adminKey": "****************"
}
FoundryVTT | 2021-03-12 20:53:50 | [error] License verification failed. Please confirm your Foundry Virtual Tabletop software license
FoundryVTT | 2021-03-12 20:53:50 | [info] Requesting UPnP port forwarding to destination 30000
FoundryVTT | 2021-03-12 20:53:51 | [info] Server started and listening on port 30000
FoundryVTT | 2021-03-12 20:54:10 | [info] Created client session f7vag3yimwcjgtg0nlzm8p62
FoundryVTT | 2021-03-12 20:57:10 | [info] Created client session 6pme3i1a6u6ae2huj776inb6
FoundryVTT | 2021-03-12 21:02:50 | [info] License signature successfully created. Thank you and please enjoy Foundry Virtual Tabletop.
FoundryVTT | 2021-03-12 21:02:50 | [info] License verification |
Beta Was this translation helpful? Give feedback.
-
I can add a case where this would be useful. I run foundry under and Azure App Service and have no control over what hostname gets assigned to the app (it does not honor what is on the compose file), so every time the app restart I have to hit the OK button. I have an automation doing that for me now but if would be nice if the container could do it. Thanks. |
Beta Was this translation helpful? Give feedback.
Sorry if I was not clear,
I am caching the license (I think?), but for some reason every time I restart the container I have to re-accept the licence. the version did not upgrade or change.
These are the env vars I am setting,