a year ago
Hi, I'm trying to expose the file root of my FileBrowser project using
filebrowser -r /srv/filebrowser -p 8080 --enable-webdav
My goal is to access it locally, but I'm not sure if this setup is possible on Railway. Could anyone clarify if this can be done or offer guidance? Any help would be greatly appreciated!
49 Replies
a year ago
I don't see why that wouldn't work. What's the issue you're having?
# filebrowser -r /srv/filebrowser -p 8080 --enable-webdav
sh: filebrowser: not foundI can't use dir to figure out where I am within my project, I haven't used linux is ages, and I'm just really confused...
a year ago
Where are you running that?
I run the SSH command to access my project and then run it directly from my terminal
a year ago
ls is the directory command btw
a year ago
Every time you restart your deployment your filebrowser will be removed though
Thank you, I'm really not used to linux anymore. I've been getting back into gaming so Windows has been my only use for a while
a year ago
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
Run this
/ # curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh |
bash
sh: bash: not found
curl: (23) Failure writing output to destinationa year ago
apt-get install bash
a year ago
the hell
a year ago
What image is the base here
a year ago
What is your service
I'm just using the filebrowser template from https://ghcr.io/brody192/filebrowser-template
a year ago
Oh 🍭
a year ago
I thought this was for another service
a year ago
https://railway.com/deploy/Nan7Bs
Did you deploy using the marketplace?
When creating I selected the templates option, typed in filebrowser and selected it
a year ago
Yeah they're the same. Testing myself right now.
Getting the feeling I should get back into linux so I dont have to worry about this again <:TuckerLaugh:1307921762859880518>
a year ago
a year ago
What's the problem here?
a year ago
I don't even see WebDav as an option for Filebrowser
a year ago

a year ago
It was never added...
Funny thing about linux, unlike windows you have to add ./ before the executable you're trying to run commands with
a year ago
okay...
Well my original problem is solved now I gotta find a filebrowser replacement with WebDAV support
a year ago
You wouldn't need to run that command at all because the template does it for you
a year ago
I don't know what issue you had in the first place
My initial issue is I forgot to use ./ and I thought Filebrowser supported WebDAV
a year ago
Yeah but you don't need to run that command at all
a year ago
You would either set that as the start command
a year ago
It wouldn't run because it's already running in the container
This is currently just testing for a large project coming up so I wasn't intending to do anything permanent
Status changed to Solved conneradamsmaine • 11 months ago