Closed ABrokenRadio closed 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!
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.
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?
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.
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.
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.
my console also has this
Loading failed for the <script> with source “http://[ip]:[port]/static/bundles/main-6ed82cd24729439f6a7a.js”.