FileBrowser support
conneradamsmaine
HOBBYOP

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!

Solved

49 Replies

a year ago

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


conneradamsmaine
HOBBYOP

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


a year ago

Where are you running that?


conneradamsmaine
HOBBYOP

a year ago

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


conneradamsmaine
HOBBYOP

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

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


a year ago

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

Run this


conneradamsmaine
HOBBYOP

a year ago

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

a year ago

apt-get install bash


conneradamsmaine
HOBBYOP

a year ago

apt-get not found


a year ago

the hell


a year ago

What image is the base here


a year ago

What is your service


conneradamsmaine
HOBBYOP

a year ago

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?


conneradamsmaine
HOBBYOP

a year ago

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


conneradamsmaine
HOBBYOP

a year ago

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


a year ago

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


conneradamsmaine
HOBBYOP

a year ago

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



conneradamsmaine
HOBBYOP

a year ago

Yup


a year ago

What's the problem here?


conneradamsmaine
HOBBYOP

a year ago

Just trying to setup WebDav for windows virtual disks


conneradamsmaine
HOBBYOP

a year ago

But I can't run the command to do so


a year ago

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




conneradamsmaine
HOBBYOP

a year ago

I figured out my problem anyway


a year ago

1439329383390122205


a year ago

It was never added...


conneradamsmaine
HOBBYOP

a year ago

😭 course not


conneradamsmaine
HOBBYOP

a year ago

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


conneradamsmaine
HOBBYOP

a year ago

...


conneradamsmaine
HOBBYOP

a year ago

Completely forgot about that


a year ago

okay...


conneradamsmaine
HOBBYOP

a year ago

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


conneradamsmaine
HOBBYOP

a year ago

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


conneradamsmaine
HOBBYOP

a year ago

Which I now know it does not


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


conneradamsmaine
HOBBYOP

a year ago

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


conneradamsmaine
HOBBYOP

a year ago

But I see what you mean


Status changed to Solved conneradamsmaine • 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...