FileBrowser support
conneradamsmaine
HOBBYOP

a month 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!

Solved

49 Replies

I don't see why that wouldn't work. What's the issue you're having?


conneradamsmaine
HOBBYOP

a month ago

# filebrowser -r /srv/filebrowser -p 8080 --enable-webdav
sh: filebrowser: not found

I 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…


Where are you running that?


conneradamsmaine
HOBBYOP

a month ago

I run the SSH command to access my project and then run it directly from my terminal


ls is the directory command btw


Every time you restart your deployment your filebrowser will be removed though


conneradamsmaine
HOBBYOP

a month ago

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


conneradamsmaine
HOBBYOP

a month ago

It's standalone and I don't really ever intend to reset it


curl -fsSL [https://raw.githubusercontent.com/filebrowser/get/master/get.sh](https://raw.githubusercontent.com/filebrowser/get/master/get.sh) | bash

Run this


conneradamsmaine
HOBBYOP

a month ago

/ # curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh |
 bash
sh: bash: not found
curl: (23) Failure writing output to destination

apt-get install bash


conneradamsmaine
HOBBYOP

a month ago

apt-get not found



What image is the base here


What is your service


conneradamsmaine
HOBBYOP

a month ago

I'm just using the filebrowser template from https://ghcr.io/brody192/filebrowser-template



I thought this was for another service


https://railway.com/deploy/Nan7Bs

Did you deploy using the marketplace?


conneradamsmaine
HOBBYOP

a month ago

When creating I selected the templates option, typed in filebrowser and selected it


conneradamsmaine
HOBBYOP

a month ago

Assuming they're the same cause it looks… exactly the same


Yeah they're the same. Testing myself right now.


conneradamsmaine
HOBBYOP

a month ago

Getting the feeling I should get back into linux so I dont have to worry about this again <:TuckerLaugh:1307921762859880518>



conneradamsmaine
HOBBYOP

a month ago

Yup


What's the problem here?


conneradamsmaine
HOBBYOP

a month ago

Just trying to setup WebDav for windows virtual disks


conneradamsmaine
HOBBYOP

a month ago

But I can't run the command to do so


I don't even see WebDav as an option for Filebrowser




conneradamsmaine
HOBBYOP

a month ago

I figured out my problem anyway



It was never added…


conneradamsmaine
HOBBYOP

a month ago

😭 course not


conneradamsmaine
HOBBYOP

a month ago

Funny thing about linux, unlike windows you have to add ./ before the executable you're trying to run commands with


conneradamsmaine
HOBBYOP

a month ago


conneradamsmaine
HOBBYOP

a month ago

Completely forgot about that



conneradamsmaine
HOBBYOP

a month ago

Well my original problem is solved now I gotta find a filebrowser replacement with WebDAV support


You wouldn't need to run that command at all because the template does it for you


I don't know what issue you had in the first place


conneradamsmaine
HOBBYOP

a month ago

My initial issue is I forgot to use ./ and I thought Filebrowser supported WebDAV


conneradamsmaine
HOBBYOP

a month ago

Which I now know it does not


Yeah but you don't need to run that command at all


You would either set that as the start command


It wouldn't run because it's already running in the container


conneradamsmaine
HOBBYOP

a month ago

This is currently just testing for a large project coming up so I wasn't intending to do anything permanent


conneradamsmaine
HOBBYOP

a month ago

But I see what you mean


Status changed to Solved conneradamsmaine 29 days ago


Loading...