Did you define an organization as explained in the README of the wifi login
pages app?

Il gio 26 mag 2022, 16:15 Michele Salerno <[email protected]> ha scritto:

> 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]" <[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
> <https://groups.google.com/d/msgid/openwisp/8267d220-a025-da2d-78b0-02bf92b97369%40gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAGgX6Kw9_BU%3DH%2BL%3DgOjxPiJGDwQtw6mdVvPYVYVDXL0qS--PQ%40mail.gmail.com.

Reply via email to