-
Notifications
You must be signed in to change notification settings - Fork 19
Troubleshooting
In release mode (Debug=False), Django stops fetching static
and media
resources, the responsibility now falls upon the web server (e.g. Apache, Nginx) to fetch these files. If you are using a web server, you have to map the /static
URLs to the folder app/YtManagerApp/static
, and the /media
URL to the folder data/media
. An example is provided for Nginx (under /docker/nginx/nginx.conf
).
If you are only using manage.py runserver
, you can force Django to fetch the resource files, by passing the --insecure
argument (i.e. manage.py runserver --insecure
), or simply set Debug=True
in config/config.ini
.
A possible issue is that YouTube changed its layout, breaking the currently installed version of youtube-dl. Try to upgrade youtube-dl, by running pip install --upgrade youtube-dl
(pip3 on Ubuntu) in a command prompt.