Hi,
I’m trying use loraserver-setup but I’m having some issues, after update the BAND configuration I run on the terminal:
vagrant up
Looking in the logs I see the next.
POSTGRES LOG
----------------------
[11884] loraserver_as@loraserver_as ERROR: relation "user" does not exist at character 27
[11884] loraserver_as@loraserver_as STATEMENT: select password_hash from "user" where username = $1 and is_active = true limit 1
MOSQUITTO LOG
----------------------
1509237012: mosquitto_auth_unpwd_check(loraserver_gw)
1509237012: ** checking backend files
1509237012: ** checking backend postgres
1509237012: GETTING USERS: loraserver_gw
1509237012: ERROR: relation "user" does not exist
LINE 1: select password_hash from "user" where username = $1 and is_...
Checking with PSQL
postgres=# \list
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
---------------+---------------+----------+-------------+-------------+-----------------------
loraserver_as | loraserver_as | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
loraserver_ns | loraserver_ns | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
(5 rows)
postgres=# \c loraserver_as
You are now connected to database "loraserver_as" as user "postgres".
loraserver_as=# \dt
No relations found.
postgres=# \c loraserver_ns
You are now connected to database "loraserver_as" as user "postgres".
loraserver_ns=# \dt
No relations found.
Anybody with the same issue?
Environment:
- vagrant 2.0.0
- virtual box 5.1.30
- MacOS High Sierra