SFTP/SSH question
sengokudaikon
TRIALOP

2 years ago

Hello everyone, is there a way to telnet/ssh to a deployed instance? i'm trying to set up FoundryVTT but it doesn't seem to have a user-pass for SSH to it, and the attached storage also seemingly doesn't have an option to connect to it via SFTP to upload files. Is there any quick solution to this?

40 Replies

sengokudaikon
TRIALOP

2 years ago

c102db65-5951-4f43-ac16-2f6fd4cf6376


brody
EMPLOYEE

2 years ago

There's no option to SSH into a container, they are empherial containers so anything done in SSH would not be saved.

as for seeding a volume with data, deploy the filebrowser template with the use volume root variable set to 1, upload your data, and then unmount its volume and mount it to your desired service


sengokudaikon
TRIALOP

2 years ago

is it "USEVOLUMEROOT"?


brody
EMPLOYEE

2 years ago

correct


sengokudaikon
TRIALOP

2 years ago

okay, and do i just use any sftp client to connect to the file browser service then?


sengokudaikon
TRIALOP

2 years ago

Connecting to "34.32.135.56" port "22" - doesn't proceed, using username and pwd provided by the instance


brody
EMPLOYEE

2 years ago

the filebrowser is a web gui, may I ask what made you think it was sftp?


sengokudaikon
TRIALOP

2 years ago

my bad then


brody
EMPLOYEE

2 years ago

no worries


sengokudaikon
TRIALOP

2 years ago

excuse my asking but how do i upload folders or files there? preferrably folders


brody
EMPLOYEE

2 years ago

drag and drop? I'm not sure tbh I haven't used filebrowser to upload bulk files, only to edit files on a volume


brody
EMPLOYEE

2 years ago

I'll test it and get back to you if you don't figure it out before me


sengokudaikon
TRIALOP

2 years ago

drag and drop didn't work i'm afraid


sengokudaikon
TRIALOP

2 years ago

thats why i wanted to find a way to SFTP files there


brody
EMPLOYEE

2 years ago

what's the structure of the files / folders you want to upload looking like?


sengokudaikon
TRIALOP

2 years ago

module_name/
./assets/
./lang/
./packs/
./scripts/
./styles/
./templates/
./module.json

its FoundryVTT modules, they're usually quite large in size


sengokudaikon
TRIALOP

2 years ago

like 500mb - 4gb


brody
EMPLOYEE

2 years ago

what's the total size of everything you want to upload?


sengokudaikon
TRIALOP

2 years ago

preferrably i want to be able to upload more, but as of right now its 1.8gb


brody
EMPLOYEE

2 years ago

okay cool, keep in mind that the hobby plan only allows for 5gb volumes


sengokudaikon
TRIALOP

2 years ago

yeah i'll upgrade when i need it, ofc


brody
EMPLOYEE

2 years ago

drag and droping a folder worked for me


brody
EMPLOYEE

2 years ago

kept the structure in tact and everything


sengokudaikon
TRIALOP

2 years ago

are you on mac or windows/linux?


sengokudaikon
TRIALOP

2 years ago

i'm on mac and it doesn accept any drag and drop attempts


brody
EMPLOYEE

2 years ago

windows


brody
EMPLOYEE

2 years ago

you did deploy the correct template right?


brody
EMPLOYEE

2 years ago

if you cant drag and drop, you can still click the upload icon in the top right


sengokudaikon
TRIALOP

2 years ago

there is no icon im afraid


brody
EMPLOYEE

2 years ago

screenshot please


sengokudaikon
TRIALOP

2 years ago

just a sec


sengokudaikon
TRIALOP

2 years ago

1242120032352338200


brody
EMPLOYEE

2 years ago

wrong template


sengokudaikon
TRIALOP

2 years ago

oh


brody
EMPLOYEE

2 years ago

may i ask how you where able to deploy the wrong template?

1242120311135142000


sengokudaikon
TRIALOP

2 years ago

i judged by the downloads and percentage

1242120606728716300


brody
EMPLOYEE

2 years ago

thats success rate, interesting that it shows both there


brody
EMPLOYEE

2 years ago

this soles that issue haha

1242120878276477000


sengokudaikon
TRIALOP

2 years ago

yeah that worked, solved, thanks


brody
EMPLOYEE

2 years ago

no problem!


Loading...