SFTP/SSH question

sengokudaikonTRIAL

a year 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?

0 Replies

sengokudaikonTRIAL

a year ago

c102db65-5951-4f43-ac16-2f6fd4cf6376


a year 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


sengokudaikonTRIAL

a year ago

is it "USEVOLUMEROOT"?


a year ago

correct


sengokudaikonTRIAL

a year ago

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


sengokudaikonTRIAL

a year ago

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


a year ago

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


sengokudaikonTRIAL

a year ago

my bad then


a year ago

no worries


sengokudaikonTRIAL

a year ago

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


a year 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


a year ago

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


sengokudaikonTRIAL

a year ago

drag and drop didn't work i'm afraid


sengokudaikonTRIAL

a year ago

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


a year ago

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


sengokudaikonTRIAL

a year ago

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

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


sengokudaikonTRIAL

a year ago

like 500mb - 4gb


a year ago

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


sengokudaikonTRIAL

a year ago

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


a year ago

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


sengokudaikonTRIAL

a year ago

yeah i'll upgrade when i need it, ofc


a year ago

drag and droping a folder worked for me


a year ago

kept the structure in tact and everything


sengokudaikonTRIAL

a year ago

are you on mac or windows/linux?


sengokudaikonTRIAL

a year ago

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


a year ago

windows


a year ago

you did deploy the correct template right?


a year ago

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


sengokudaikonTRIAL

a year ago

there is no icon im afraid


a year ago

screenshot please


sengokudaikonTRIAL

a year ago

just a sec


sengokudaikonTRIAL

a year ago

1242120032352338200


a year ago

wrong template


sengokudaikonTRIAL

a year ago

oh


a year ago

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

1242120311135142000


sengokudaikonTRIAL

a year ago

i judged by the downloads and percentage

1242120606728716300


a year ago

thats success rate, interesting that it shows both there


a year ago

this soles that issue haha

1242120878276477000


sengokudaikonTRIAL

a year ago

yeah that worked, solved, thanks


a year ago

no problem!


SFTP/SSH question - Railway Help Station