SFTP/SSH question

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?
Solution:
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...
Jump to solution
31 Replies
Percy
Percy2mo ago
Project ID: c102db65-5951-4f43-ac16-2f6fd4cf6376
Daniel Z
Daniel Z2mo ago
c102db65-5951-4f43-ac16-2f6fd4cf6376
Solution
Brody
Brody2mo 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
Daniel Z
Daniel Z2mo ago
is it "USE_VOLUME_ROOT"?
Brody
Brody2mo ago
correct
Daniel Z
Daniel Z2mo ago
okay, and do i just use any sftp client to connect to the file browser service then? Connecting to "34.32.135.56" port "22" - doesn't proceed, using username and pwd provided by the instance
Brody
Brody2mo ago
the filebrowser is a web gui, may I ask what made you think it was sftp?
Daniel Z
Daniel Z2mo ago
my bad then
Brody
Brody2mo ago
no worries
Daniel Z
Daniel Z2mo ago
excuse my asking but how do i upload folders or files there? preferrably folders
Brody
Brody2mo 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 I'll test it and get back to you if you don't figure it out before me
Daniel Z
Daniel Z2mo ago
drag and drop didn't work i'm afraid thats why i wanted to find a way to SFTP files there
Brody
Brody2mo ago
what's the structure of the files / folders you want to upload looking like?
Daniel Z
Daniel Z2mo ago
module_name/ ./assets/ ./lang/ ./packs/ ./scripts/ ./styles/ ./templates/ ./module.json its FoundryVTT modules, they're usually quite large in size like 500mb - 4gb
Brody
Brody2mo ago
what's the total size of everything you want to upload?
Daniel Z
Daniel Z2mo ago
preferrably i want to be able to upload more, but as of right now its 1.8gb
Brody
Brody2mo ago
okay cool, keep in mind that the hobby plan only allows for 5gb volumes
Daniel Z
Daniel Z2mo ago
yeah i'll upgrade when i need it, ofc
Brody
Brody2mo ago
drag and droping a folder worked for me kept the structure in tact and everything
Daniel Z
Daniel Z2mo ago
are you on mac or windows/linux? i'm on mac and it doesn accept any drag and drop attempts
Brody
Brody2mo ago
windows you did deploy the correct template right? if you cant drag and drop, you can still click the upload icon in the top right
Daniel Z
Daniel Z2mo ago
there is no icon im afraid
Brody
Brody2mo ago
screenshot please
Daniel Z
Daniel Z2mo ago
just a sec
Brody
Brody2mo ago
wrong template
Daniel Z
Daniel Z2mo ago
oh
Brody
Brody2mo ago
may i ask how you where able to deploy the wrong template?
Daniel Z
Daniel Z2mo ago
i judged by the downloads and percentage
Brody
Brody2mo ago
thats success rate, interesting that it shows both there this soles that issue haha
Daniel Z
Daniel Z2mo ago
yeah that worked, solved, thanks
Brody
Brody2mo ago
no problem!
Want results from more Discord servers?
Add your server
More Posts