[Support] silman - Foundry Virtual Tabletop (felddy docker image)


Recommended Posts

On 2/3/2023 at 3:19 PM, serhan said:

Hi, 

 

I am fairly new to Unraid but trying to get this running. 

 

I have once seen the Foundry screen in the webui, I closed the docker thinking I will set things up later. Now I cannot see anything on the webui, just an error. 

 

The logs say:

 

* The requested URL returned error: 403

 

Can anyone offer any guidance on why I can't see seem to access?

 

EDIT:
 

I found at least a problem. My download link had timed out from Foundry. Now I am not getting any errors but still can't see anything on the webui!

 

I also came here with the same problem. I install it for the first time and everything works fine. Then I restart the container and next thing I know it nothing is working. The container just stops and this is what I get in the logs.

 

Authenticate | 2023-06-03 21:15:12 | [debug] Saving cookies to: cookiejar.json
Authenticate | 2023-06-03 21:15:12 | [info] Requesting CSRF tokens from https://foundryvtt.com
Authenticate | 2023-06-03 21:15:12 | [debug] Fetching: https://foundryvtt.com
Authenticate | 2023-06-03 21:15:13 | [info] Logging in as: omit
Authenticate | 2023-06-03 21:15:13 | [debug] Fetching: https://foundryvtt.com/auth/login/
Authenticate | 2023-06-03 21:15:13 | [debug] Community URL: /community/omit
Authenticate | 2023-06-03 21:15:13 | [info] Successfully logged in as: omit
Entrypoint | 2023-06-03 21:15:10 | [warn] The container may not function properly with this version mismatch.
Entrypoint | 2023-06-03 21:15:10 | [info] Foundry Virtual Tabletop 11.300 is installed.
Entrypoint | 2023-06-03 21:15:10 | [info] Requested version () from FOUNDRY_VERSION differs.
Entrypoint | 2023-06-03 21:15:10 | [info] Uninstalling version 11.300.
Entrypoint | 2023-06-03 21:15:11 | [info] Using FOUNDRY_RELEASE_URL to download release.
Entrypoint | 2023-06-03 21:15:11 | [info] Using FOUNDRY_USERNAME and FOUNDRY_PASSWORD to authenticate.
Entrypoint | 2023-06-03 21:15:13 | [info] Using CONTAINER_CACHE: /data/container_cache
Entrypoint | 2023-06-03 21:15:13 | [info] Downloading Foundry Virtual Tabletop release.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 52.218.168.243:443...
* Connected to foundryvtt.s3.amazonaws.com (52.218.168.243) port 443 (#0)
* ALPN: offers h2,http/1.1
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [110 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4970 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / omit
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: CN=*.s3.amazonaws.com
*  start date: Mar 21 00:00:00 2023 GMT
*  expire date: Dec 19 23:59:59 2023 GMT
*  subjectAltName: host "foundryvtt.s3.amazonaws.com" matched cert's "*.s3.amazonaws.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
*  SSL certificate verify ok.
* using HTTP/1.1
} [5 bytes data]
> GET /releases/11.300/FoundryVTT-11.300.zip?AWSAccessKeyId=omit&Signature=omit&Expires=omit HTTP/1.1

> Host: foundryvtt.s3.amazonaws.com

> User-Agent: curl/8.1.1 (felddy/foundryvtt:11.299.0)

> Accept: */*

> If-Modified-Since: Sun, 04 Jun 2023 01:12:17 GMT

> 

{ [5 bytes data]
< HTTP/1.1 403 Forbidden

< x-amz-request-id: omit

< x-amz-id-2: omit

< Content-Type: application/xml

< Transfer-Encoding: chunked

< Date: Sun, 04 Jun 2023 01:15:14 GMT

< Server: AmazonS3

* The requested URL returned error: 403

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Closing connection 0
{ [5 bytes data]
* TLSv1.2 (OUT), TLS alert, close notify (256):
} [2 bytes data]
curl: (22) The requested URL returned error: 403

 

Link to comment
  • 2 weeks later...

Hi

 

I'm setting this up for the first time, and am struggling to get Foundry to run, I click on start and it runs for maybe 5 seconds before crashing.

 

Watching the logs during the period it's open I can see that it logs in successfully, but errors out
"Error('Unable to extract build number from version: ${foundry_version}')'

 

I have left both the "FOUNDRY_RELEASE_URL" & "FOUNDRY_VERSION" blank as I want to install the latest version using the Username/Password method.

Screenshot 2023-06-13 151451.png

Screenshot 2023-06-13 151421.png

Edited by Dark202
re-word
Link to comment
  • 4 weeks later...

Thank you for this container! It runs perfect so far. Is it somehow possible to upload avatars, images etc. through the webinterface or do I have to upload them via FTP to the data path? I am hosting this for a group of people that don't have access to my unraid but only have access to the URL and they want to use avatars etc.

Link to comment
  • 1 month later...
5 minutes ago, nox_uk said:

hi, what is the easiest way to backup my world?

 

The Game Data Path is where your worlds are stored (Specifically it's the world's folder within the Data that is contained inside the Game Data Path) back up the entire Game Data Path for ease and safety.

 

For me, I set Game Data Path to something stored on the Array. Then my array is backed up in any of the standard fashions (Personally I use Backblaze)

Edited by silman
Link to comment
2 minutes ago, nox_uk said:

I have my 'Game Data Path:' set to "/mnt/user/appdata/FoundryVTT/" (without the quotes) but when I browse to that share in windows I don't see the files. Do I need to specify server name or something?

 

maybe a permissions issue, make sure your user has read access to that contents. maybe SSH into your unraid server and check the permissions 

  • Thanks 1
Link to comment
13 minutes ago, nox_uk said:

absolutely bang on with that - i have put it back into my user folder, but i can't see the files with my account. but i can with root. now i just need to figure out how to make is so i can see them without breaking Foundry....  Thanks for the help so far

 

you can change the FOUNDRY_UID (under "show more settings) docker container environmental var to your own user if you wish. But maybe more appropriate would be the either change FOUNDRY_GID to a specific group you want the files to be create under or you can add your own user the `foundry` group which is the default. 

Link to comment

sorry to be a pain, i haven't got a foundry group on my system.  An ls -l lists the following:

 

drwxrwxrw- 1 421   421         8 Aug 20 06:18 FoundryVTT/

 

my usersname isn't 421. i figured it might be the UID, but don't have an account linked to that either. I'm not overly great with Linux, so am probably being a bit of a plum...  is there an easy fix?

Link to comment

solved it - you put me on the right track.  many many thanks

 

i figured out how to create a group called foundry, and specified a gid of 421, and added myself to it. if anyone else suffers the same probelem, i used:

 

groupadd -g -421 foundry

usermod -a -G foundry <myusername>

 

I don't think i'll ever become a linux admin at this rate!

 

Thanks again

 

Nox

Link to comment
2 hours ago, nox_uk said:

sorry to be a pain, i haven't got a foundry group on my system.  An ls -l lists the following:

 

drwxrwxrw- 1 421   421         8 Aug 20 06:18 FoundryVTT/

 

my usersname isn't 421. i figured it might be the UID, but don't have an account linked to that either. I'm not overly great with Linux, so am probably being a bit of a plum...  is there an easy fix?

 

this is because the group ID (and user ID) exist only inside the docker container, if you launch a console into the container you can see this  with `cat /etc/group`, the ID of the group is carried out of the container but unraid just sees the ID number and is like "well i guess its group ID 421 which isn't aliased to any group name"

 

So when you created the group manually with `groupadd -g -421 foundry` you were aliasing it on your unraid box. IDK if this will persist between boots, depends if the group config is stored on the unraid flash drive. But yeah for now you got it.

 

I should mention that you could have also used the plugin Appdata Backup to create backups of anything in the appdata share automatically which can include your foundry worlds if you have them placed there.

  • Thanks 1
Link to comment
  • 1 month later...

I'm new to all things docker.

I have a docker with Foundry VTT, that I cannot acces from the internet.


Let me first explain another scenario works:

Currently Foundry runs on a VM with windows server.
The physical Unraid machine have 192.168.11.47
That VM has 192.168.11.80 and in the settings it is Network Source: br0

Network Model: virtio-net

On my router I have made some portforwarding to 192.168.11.80:30000

All the above works just fine.

 

But if I try to use a docker (felddy) I'm only capable of accessing the docker from my LAN on 192.168.11.47:30000

On my router I have made a new forwardings and disabled the others

I have tried

Host: 192.168.11.47:30001/TCP <-> 192.168.11.47:30001

br0: 192.168.11.50:30000/TCP <-> 192.168.11.50:30000

What am I doing wrong?

Link to comment
16 hours ago, barnonline said:

I'm new to all things docker.

I have a docker with Foundry VTT, that I cannot acces from the internet.


Let me first explain another scenario works:

Currently Foundry runs on a VM with windows server.
The physical Unraid machine have 192.168.11.47
That VM has 192.168.11.80 and in the settings it is Network Source: br0

Network Model: virtio-net

On my router I have made some portforwarding to 192.168.11.80:30000

All the above works just fine.

 

But if I try to use a docker (felddy) I'm only capable of accessing the docker from my LAN on 192.168.11.47:30000

On my router I have made a new forwardings and disabled the others

I have tried

Host: 192.168.11.47:30001/TCP <-> 192.168.11.47:30001

br0: 192.168.11.50:30000/TCP <-> 192.168.11.50:30000

What am I doing wrong?

 

The reason was the router, it did not take the changes I made.
After rebooting the router, everything works as it should. And now the router takes the changes.

Link to comment
  • 3 weeks later...
On 9/26/2023 at 3:30 PM, thunderclap said:

Trying to install and I came across an issue with the version number. It says if you just enter the main version number (e.g. 9, 10, 11) that the latest version of that release will download. That doesn't happen, at least for me. I have to manually enter the version number (e.g. 11.309) to get it to install.

 

Same issue. I left the version blank and tried 11 but it would not download anything. This was using the Foundry Username + Password method. I had to specify the exact version for the installation to happen.

Link to comment
  • 4 weeks later...

I seem to be unable to establish an internet connection from the docker. not sure what I'm missing, I've port forwarded the port on my router and I have restarted the router, also have trued using upnp but to no avail. I do get the docker to work, I also manage to ping from the dockers console but not establish an internet connection for the invite link.

 

 

 

 

settings.jpg

port forward.jpg

foundry.jpg

Link to comment
  • 1 month later...
On 10/14/2023 at 8:29 AM, Magma said:

 

Same issue. I left the version blank and tried 11 but it would not download anything. This was using the Foundry Username + Password method. I had to specify the exact version for the installation to happen.


I was able to get this to work. What you need to do is delete the FOUNDRY VERSION variable and update it.

When the variable is present it is required but when removed it goes off the repository

Link to comment
On 12/28/2023 at 10:28 PM, ceverson said:


I was able to get this to work. What you need to do is delete the FOUNDRY VERSION variable and update it.

When the variable is present it is required but when removed it goes off the repository

I was also having problems with the username/password method, and specifying the foundry version is the only thing that worked for me as well.

 

Link to comment
On 1/3/2024 at 7:39 PM, varzaman said:

I was also having problems with the username/password method, and specifying the foundry version is the only thing that worked for me as well.

 

i had the problem until I physically deleted the variable from the container. I didn't make it empty I actually deleted it so it wasn't possible to fill in.

Screenshot 2024-01-04 at 10.29.14 PM.png

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.