Kthulu120 / liquid_dl

Liquid-dl is a simple tool for utlities such as FFMPEG, youtube-dl, and scdl. It provides a simple framework with simple point and click options allowing users to just click on what they need and use the bare minimum commands to get the results needed.
MIT License
73 stars 7 forks source link

blank white page after updating docker #14

Closed ABrokenRadio closed 6 years ago

ABrokenRadio commented 6 years ago

was using the unraid template at https://github.com/lordchewie/liquid-dl-unraid

today it said there was an update so i updated and now i just get a white page with this in my logs.

[14/Sep/2017 21:12:28] "GET / HTTP/1.1" 200 896
[14/Sep/2017 21:12:28] "GET /static/bundles/main-6ed82cd24729439f6a7a.js HTTP/1.1" 404 1723
[14/Sep/2017 21:12:29] "GET /static/bundles/main-6ed82cd24729439f6a7a.js HTTP/1.1" 404 1723
[14/Sep/2017 21:12:34] "GET / HTTP/1.1" 200 896
[14/Sep/2017 21:12:35] "GET /static/js/utility/jquery.js HTTP/1.1" 304 0
[14/Sep/2017 21:12:35] "GET /static/bundles/main-6ed82cd24729439f6a7a.js HTTP/1.1" 404 1723
[14/Sep/2017 21:12:35] "GET /static/js/utility/materialize.js HTTP/1.1" 304 0
[14/Sep/2017 21:12:35] "GET /static/bundles/main-6ed82cd24729439f6a7a.js HTTP/1.1" 404 1723
[14/Sep/2017 21:12:49] "GET / HTTP/1.1" 200 896
[14/Sep/2017 21:12:49] "GET /static/bundles/main-6ed82cd24729439f6a7a.js HTTP/1.1" 404 1723
[14/Sep/2017 21:12:50] "GET /static/bundles/main-6ed82cd24729439f6a7a.js HTTP/1.1" 404 1723
[14/Sep/2017 21:17:34] "GET / HTTP/1.1" 200 896
[14/Sep/2017 21:17:34] "GET /static/bundles/main-6ed82cd24729439f6a7a.js HTTP/1.1" 404 1723
[14/Sep/2017 21:17:34] "GET /static/bundles/main-6ed82cd24729439f6a7a.js HTTP/1.1" 404 1723
[14/Sep/2017 21:18:28] "GET / HTTP/1.1" 200 896
[14/Sep/2017 21:18:28] "GET /static/js/utility/jquery.js HTTP/1.1" 304 0
[14/Sep/2017 21:18:28] "GET /static/js/utility/materialize.js HTTP/1.1" 304 0
[14/Sep/2017 21:18:28] "GET /static/bundles/main-6ed82cd24729439f6a7a.js HTTP/1.1" 404 1723
[14/Sep/2017 21:18:29] "GET /static/bundles/main-6ed82cd24729439f6a7a.js HTTP/1.1" 404 1723

my console also has this

Loading failed for the <script> with source “http://[ip]:[port]/static/bundles/main-6ed82cd24729439f6a7a.js”.

Kthulu120 commented 6 years ago

You need to CD into the folder and build a web pack bundle using the command in the readMe. For building a bundle, then refresh and viola!

ABrokenRadio commented 6 years ago

by into the folder ... do you mean into the docker container? Or a different folder?

If you mean into the container i seem to be able to get into it with docker exec -it Liquid-dl sh and i do see what looks to be the right folders but when i run ./node_modules/.bin/webpack --config webpack.config.js -p (this is the right command, correct?) I get permission denied so clearly i doing something wrong.

Sorry if i am being dense or stupid, i am new to all this and still getting my bearing and learning.

Kthulu120 commented 6 years ago

You'' need to cd into the liquid_dl folder then if your on Linux you'll need to execute sudo ./node_modules/.bin/webpack --config webpack.config.js -p this should get rid of any permission issues.

Alternatively go into liquid_dl/templates/ folder and edit the home.html inside it change

    <!--<script src="{% static 'distro/newest_prod_build.js' %}"></script> -->
    <!-- Our Development Build -->
    {% render_bundle 'main' %}

to

<!-- Our production build-->
   <script src="{% static 'distro/newest_prod_build.js' %}"></script>
    <!-- Our Development Build -->
   <!-- {% render_bundle 'main' %} -->

Also I must ask is this error occurring from the master branch or from the latest release?

ABrokenRadio commented 6 years ago

Cant seem to sudo inside docker containers. So first option doesn't work.

However, pulling out the home.html file from the container and editing what you said and then pushing it back into the container seems to have work.

I am on whatever dockerhub is supplying which seems to the the latest release. Unraid shows kthulu120/liquid_dl:latest and dockerhub has tags only for latest. So i would assume that means latest release.

Anyways, since editing the home.html page worked I will go ahead and close this.

Kthulu120 commented 6 years ago

Note for future reference for anyone looking at this, dockerhub build off of the latest master branch updates therefore you'll have to do this if downloading from dockerhub or you could download the zip of the latest release.