Hi,

In a new installation I have the blank page.

I copy default organization ed i modify only this vars:
---
name: "Basilicata"
slug: "default"

settings:
  mobile_phone_verification: false
  subscriptions: false

# configuration variables for the server app
server:
  # put the URL of openwisp-radius here
  host: "http://127.0.0.1:8000";
  uuid: "UID-OF-MY-ORG"
  secret_key: "TOKEN-MY-ORG-RADIUS-SETTINGS"

I looked in the logs and: cat /opt/openwisp2/wifi-login-pages/log/server.log

yarn run v1.22.19
$ node config/setup.js && node config/build-translations.js
node:internal/fs/utils:345
    throw err;
    ^

Error: EACCES: permission denied, open '/opt/openwisp2/wifi-login-pages/client/configs/default.json'
    at Object.openSync (node:fs:585:3)
    at Object.writeFileSync (node:fs:2170:35)
    at /opt/openwisp2/wifi-login-pages/config/setup.js:238:8
    at Array.forEach (<anonymous>)
    at writeConfigurations (/opt/openwisp2/wifi-login-pages/config/setup.js:236:17)     at Object.<anonymous> (/opt/openwisp2/wifi-login-pages/config/setup.js:275:1)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
  errno: -13,
  syscall: 'open',
  code: 'EACCES',
  path: '/opt/openwisp2/wifi-login-pages/client/configs/default.json'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

--
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/99b5e849-393d-c06b-baff-20781cd86732%40gmail.com.

Reply via email to