Try open page on Chrome, Chromium, Firefox (debian11) and from
smartphone android.
Black pages for all browsers.
I ran the playbook with the original organization cloned from
https://github.com/openwisp/openwisp-wifi-login-pages
Copied in files with the direcotories owlp_i18n and owlp_organizations.
The logs are ok, the console reports this error:
A page or script is accessing at least one of navigator.userAgent,
navigator.appVersion, and navigator.platform. Starting in Chrome 101, the
amount of information available in the User Agent string will be reduced.
To fix this issue, replace the usage of navigator.userAgent,
navigator.appVersion, and navigator.platform with feature detection,
progressive enhancement, or migrate to navigator.userAgentData.
Note that for performance reasons, only the first access to one of the
properties is shown.
1 fonte
onloadwff.js:1
Attached is the output diff between the original org and my org.
My playbook is:
- hosts: CaptivePortal
become: "{{ become | default('yes') }}"
roles:
- geerlingguy.certbot
- openwisp-wifi-login-pages
vars:
# Captive Portal
wifi_login_pages_domains: ["wifi.nnxx.ninux.org"]
wifi_login_pages_ssl_cert: "/etc/letsencrypt/live/{{ inventory_hostname
}}/fullchain.pem"
wifi_login_pages_ssl_key: "/etc/letsencrypt/live/{{ inventory_hostname
}}/privkey.pem"
# certbot configuration
certbot_auto_renew_minute: "20"
certbot_auto_renew_hour: "5"
certbot_create_if_missing: true
certbot_auto_renew_user: "root"
certbot_certs:
- email:"[email protected]"
domains:
- "{{ inventory_hostname }}"
Il 26/05/22 15:55, Federico Capoano ha scritto:
I recommend looking at the logs of the application and also look at
the javascript browser console if you can find anything.
Did you define the organization YAML file correctly?
If you're in doubt, follow the install instructions in the README
<https://github.com/openwisp/openwisp-wifi-login-pages#install> to run
the app locally on your machine, play with it a little bit there and
then try to deploy it again.
Federico
--
Informativa Privacy - Ai sensi del D. Lgs n. 196/2003 (Codice Privacy) si
precisa che le informazioni contenute in questo messaggio sono riservate e ad
uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse
pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non
inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie.
Privacy Information - This message, for the D. Lgs n. 196/2003 (Privacy Code),
may contain confidential and/or privileged information. If you are not the
addressee or authorized to receive this for the addressee, you must not use,
copy, disclose or take any action based on this message or any information
herein. If you have received this message in error, please advise the sender
immediately by reply e-mail and delete this message. Thank you for your
cooperation.
--
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/8267d220-a025-da2d-78b0-02bf92b97369%40gmail.com.
2c2
< name: "default name"
---
> name: "Basilicata"
7c7
< subscriptions: false
---
> subscriptions: true
13,14c13,14
< uuid: organization_uuid
< secret_key: organization_secret_key
---
> uuid: "cc07a8ae-2026-42ff-a9f1-bb050bd8bf8e"
> secret_key: "vvWb7rgYqeAm41q9Vbc0ifO3eaWbaguq"
42,43c42,43
< url: "openwisp-logo-black.svg" # logo url
< alternate_text: "openwisp"
---
> url: "ninux-logo.svg" # logo url
> alternate_text: "ninux"
46a47
> it: "Accedi"
50a52
> it: "Iscriviti"
54a57
> it: "Cambia password"
64,65c67,69
< en: "link-1"
< url: "https://link-1.com"
---
> en: "Ninux"
> it: "Ninux"
> url: "https://ninux.org"
68,69c72,74
< en: "link-2"
< url: "https://link-2.com"
---
> en: "FB Ninux Basilicata"
> it: "FB Ninux Basilicata"
> url: "https://www.facebook.com/groups/ninux.basilicata"
73a79
> it: "link-3"
78a85
> it: "Copyright"
130,132c137,139
< email: "[email protected]"
< helpdesk: "+789 948 564"
< social_links:
---
> email: "[email protected]"
> helpdesk: "+39 349 5432617"
> social_link:
134a142
> it: "twitter"
136c144
< url: "https://twitter.com/openwisp"
---
> url: "https://twitter.com/ninuxorg"
138a147
> it: "facebook"
140c149
< url: "https://facebook.com/openwisp"
---
> url: "https://www.facebook.com/ninuxorg"
145a155
> it: "Cambia password"
152a163
> it: "Login con Facebook"
156a168
> it: "Login con Google"
160a173
> it: "Login con Twitter"
215a229
> it: "privacy-it.md"
217a232
> it: "termini-condizioni.md"