Hi,

I am evaluating the docker open-wisp and followed the instructions on quick 
setup for docker-compose 
<https://github.com/openwisp/docker-openwisp/blob/master/docs/QUICK_SETUP.md> 
on my local machine. I have modified the .env file and replaced the default 
domains with my own that are not yet in any DNS
---snip---
DASHBOARD_DOMAIN=dashboard.wifiction.de
API_DOMAIN=api.wifiction.de
RADIUS_DOMAIN=radius.wifiction.de
VPN_DOMAIN=openvpn.wifiction.de
---snap---
and added the hosts to my /etc/hosts file:

$ cat /etc/hosts
127.0.0.1       localhost
127.0.1.1       debhm01 dashboard.wifiction.de api.wifiction.de 
radius.wifiction.de openvpn.wifiction.de

The make start passed well:
$ sudo make start
Downloading OpenWISP images...
Starting Services...
Creating docker-openwisp_postgres_1 ... done
Creating docker-openwisp_redis_1    ... done
Creating docker-openwisp_postfix_1  ... done
Creating docker-openwisp_influxdb_1 ... done
Creating docker-openwisp_dashboard_1 ... done
Creating docker-openwisp_openvpn_1    ... done
Creating docker-openwisp_websocket_1  ... done
Creating docker-openwisp_api_1        ... done
Creating docker-openwisp_celery_1     ... done
Creating docker-openwisp_celerybeat_1 ... done
Creating docker-openwisp_radius_1     ... done
Creating docker-openwisp_nginx_1      ... done
Creating docker-openwisp_freeradius_1 ... done
*Success: OpenWISP should be available at your dashboard domain in 2 
minutes.*

When I want to open the dashbord the page is loading and I even can login. 
But not any css or java script can be found (all get a 404), e.g.
https://dashboard.wifiction.de/static/admin/css/base.css  --> 404
https://dashboard.wifiction.de/static/openwisp-notifications/js/notifications.js
 
--> 404

The html looks like this:
<!DOCTYPE html>
<html lang="en-gb" >
<head>
<title>Network administration | OpenWISP Admin</title>
<link rel="stylesheet" type="text/css" href="/static/admin/css/base.css">
<link rel="stylesheet" type="text/css" 
href="/static/admin/css/openwisp.css" />
 <link rel="icon" type="image/x-icon" 
href="/static/ui/openwisp/images/favicon.png" />
... 
<script type="text/javascript" 
src="/static/admin/js/vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" 
src="/static/admin/js/jquery.init.js"></script>
...

When I start a bash in the dashboard container I can see, that all the 
files exist:
$ sudo docker exec -it docker-openwisp_dashboard_1 bash
root@96b77f53366f:/opt/openwisp# ls ./static/admin/css/
autocomplete.css  changelists.css  firmware-upgrader.css  forms.css 
 nav_sidebar.css  responsive.css      rtl.css  widgets.css
base.css          dashboard.css    fonts.css              login.css 
 openwisp.css     responsive_rtl.css  vendor
root@96b77f53366f:/opt/openwisp# ls ./static/admin/js/
SelectBox.js      actions.min.js   calendar.js     collapse.js     
 inlines.js      menu.js            prepopulate.js       urlify.js
SelectFilter2.js  admin            cancel.js       collapse.min.js 
 inlines.min.js  nav_sidebar.js     prepopulate.min.js   vendor
actions.js        autocomplete.js  change_form.js  core.js         
 jquery.init.js  popup_response.js  prepopulate_init.js
root@96b77f53366f:/opt/openwisp#

Did anybody met the same problem? Any idea why the files are not found? 
Thank you!

Best regards.

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/1f8daaca-10d9-4771-b4db-201d5bb51fc0n%40googlegroups.com.

Reply via email to