label-studio crashing during deployment
Anonymous
PROOP

a month ago

Deployed label-studio from template https://railway.com/deploy/label-studio

and it's crashing with following error

=> Hostname correctly is set to: https://label-studio-staging.up.railway.app

=> Database and media directory: /label-studio/data

=> Static URL is set to: /static/

Traceback (most recent call last):

File "/label-studio/.venv/bin/label-studio", line 3, in <module>

from label_studio.server import main

File "/label-studio/label_studio/server.py", line 23, in <module>

from label_studio.core.argparser import parse_input_args

File "/label-studio/label_studio/core/argparser.py", line 5, in <module>

from .settings.base import EXPORT_DIR

File "/label-studio/label_studio/core/settings/base.py", line 479, in <module>

os.makedirs(MEDIA_ROOT, exist_ok=True)

~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "<frozen os>", line 228, in makedirs

PermissionError: [Errno 13] Permission denied: '/label-studio/data/media'

Solved$10 Bounty

2 Replies

Railway
BOT

a month ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


ray-chen
EMPLOYEE

a month ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open ray-chen about 1 month ago


Anonymous
PROOP

a month ago

Owner of the template fixed the issue and I was able to deploy it successfully now.


Status changed to Solved noahd about 1 month ago


Loading...