file storage and image
hppedeaf
HOBBYOP

2 years ago

Please help, I can't figure out how the file view and /Images folder work. The images don't download to the disk path when using Filebrowser. They also don't show up or update.

Solved

46 Replies

2 years ago

Have you set USE_VOLUME_ROOT to 1 in filebrowser?


hppedeaf
HOBBYOP

2 years ago

oh it 0


2 years ago

try setting it to 1 and see if that helps you


hppedeaf
HOBBYOP

2 years ago

i will try


hppedeaf
HOBBYOP

2 years ago

when i uploaded the image , retrieved it and made visible in the website but the issue is after re deploying my web all the images are gone.


2 years ago

from what I'm seeing, I'm assuming you want the images you uploaded through filebrowser to show up on your app after you've uploaded them


2 years ago

if so, make sure you've:

  1. Disconnected the volume from filebrowser and reconnected it to your app
  2. Mounted the volume on the right path /app/Images in this case

hppedeaf
HOBBYOP

2 years ago

i need edit script this path /app/Images ?


2 years ago

well if your app is trying to use the /Images folder then you need to mount the volume to /app/Images because your app itself is located in the /app folder


hppedeaf
HOBBYOP

2 years ago

Filebrowser don't show up when upload image

i did mount the volume to /app/Images

and USE_VOLUME_ROOT is 1


2 years ago

if you're only using Filebrowser and not some other service as I mentioned before then you'll want to keep the path set to /data when mounted to Filebrowser


2 years ago

I'm confused on what you're trying to achieve here, mind explaining?


2 years ago

USE_VOLUME_ROOT is still set to 0


hppedeaf
HOBBYOP

2 years ago

this same question way here

https://help.railway.com/questions/non-persistant-volume-storage-7f4d1014

i dont got it work ..

1323351627935252480


2 years ago

^^


hppedeaf
HOBBYOP

2 years ago

i did but not work upload / download in folder /Images


2 years ago

I'd just like to clarify that you need to set USE_VOLUME_ROOT to 1


2 years ago

I don't know what your question was but I still believe you're trying to upload images to a volume through Filebrowser and then have that volume serve as the source of images for your service, which if this is the case then you need to follow these steps:

0. (Make sure territory-volume is mounted to /data on Filebrowser

  1. Set USE_VOLUME_ROOT to 1, Brody mentioned it's still set to 0
  2. Wait for the service to redeploy
  3. Upload the images to Filebrowser, do not create folders or anything just upload the images
  4. Disconnect the Volume
  5. Mount the volume to VRCMedia on /app/Images
  6. Wait for VRCMedia to finish deploying

2 years ago

If you're trying to achieve what I think you're trying to achieve and followed my steps correctly then it this should work fine for you


hppedeaf
HOBBYOP

2 years ago

this 6 same territory-volume or new ?


2 years ago

the same one of course


hppedeaf
HOBBYOP

2 years ago

then cant ... to VRCMedia

1323359328761024543


2 years ago

Make sure VRCMedia is in a non-metal region (you can set the region in the service settings)


2 years ago

metal regions don't have support for volumes


hppedeaf
HOBBYOP

2 years ago

ooh....


hppedeaf
HOBBYOP

2 years ago

already used

1323360073581334608


hppedeaf
HOBBYOP

2 years ago

or i can change different service which bettre ?


2 years ago

try again please


hppedeaf
HOBBYOP

2 years ago

which again ?


2 years ago

^


hppedeaf
HOBBYOP

2 years ago

oh . work


hppedeaf
HOBBYOP

2 years ago

i got it work i see image in Filebrowser

but this show me fail ....

1323362711479779408


2 years ago

thats fine, there is no volume attached so it crashes


hppedeaf
HOBBYOP

2 years ago

i let it forever ?


2 years ago

its served its purpose, you can delete it if you dont need it for now


hppedeaf
HOBBYOP

2 years ago

just i need check in Filebrowser for clean

and question railway have limite 5Gb that not many for me , i need more over 100 Gb ? any idea ?


2 years ago

5GB is the limit on the Hobby plan, for 100GB you would need to be on the Pro plan


hppedeaf
HOBBYOP

2 years ago

more then 100 ? for in future


2 years ago

on the pro plan you can self serve up to 250GB anything past that and we would have to talk to you about being on a custom priced plan


hppedeaf
HOBBYOP

2 years ago

alright , thank you many for help !


2 years ago

all good? any more questions?


hppedeaf
HOBBYOP

2 years ago

all good , will more question later


2 years ago

fragly, feel free to mark as solved


2 years ago

thank you!


hppedeaf
HOBBYOP

2 years ago

oh yeah


2 years ago

!s


Status changed to Solved dev over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...