Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal server error #88

Open
xJCPMSx opened this issue Nov 27, 2024 · 1 comment
Open

Internal server error #88

xJCPMSx opened this issue Nov 27, 2024 · 1 comment

Comments

@xJCPMSx
Copy link

xJCPMSx commented Nov 27, 2024

Captura de tela de 2024-11-27 13-17-22
I've been trying to install it over Linux, Docker and Docker compose but i'm always getting Internal server error. What could i do?

@MegaTheLEGEND
Copy link

MegaTheLEGEND commented Dec 7, 2024

Same page displayed for me. Here are the logs from the docker container.

[2024-12-07 01:08:21,245] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 2528, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/ytdlp2STRM/ui/routes.py", line 15, in index
    crons = _ui.crons
            ^^^^^^^^^
  File "/opt/ytdlp2STRM/ui/ui.py", line 97, in crons
    with open(self.crons_file, 'r') as file:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'config/crons.json'

edit:

Once I created the cron file it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants