How to access the LoRa App Server web-interface?


#1

hi!
how to access the LoRa App Server web-interface?
I’ve already read some information on BBS. I did it according to this:https://www.loraserver.io/guides/debian-ubuntu/
When I use this command
sudo journalctl -f -n 100 -u loraserver
The situation is as follows. I think there may be some problems
[
1月 31 11:04:56 richard-virtual-machine loraserver[6638]: time=“2019-01-31T11:04:56+08:00” level=error msg=“ping database error, will retry in 2s: pq: password authentication failed for user “loraserver””
1月 31 11:04:58 richard-virtual-machine loraserver[6638]: time=“2019-01-31T11:04:58+08:00” level=error msg=“ping database error, will retry in 2s: pq: password authentication failed for user “loraserver””
1月 31 11:05:00 richard-virtual-machine loraserver[6638]: time=“2019-01-31T11:05:00+08:00” level=error msg=“ping database error, will retry in 2s: pq: password authentication failed for user “loraserver””
1月 31 11:05:02 richard-virtual-machine loraserver[6638]: time=“2019-01-31T11:05:02+08:00” level=error msg=“ping database error, will retry in 2s: pq: password authentication failed for user “loraserver””
1月 31 11:05:04 richard-virtual-machine loraserver[6638]: time=“2019-01-31T11:05:04+08:00” level=error msg=“ping database error, will retry in 2s: pq: password authentication failed for user “loraserver””
1月 31 11:05:06 richard-virtual-machine loraserver[6638]: time=“2019-01-31T11:05:06+08:00” level=error msg=“ping database error, will retry in 2s: pq: password authentication failed for user “loraserver””
]

I hope to get your reply.
Thank You!


#3

sorry!
I already know the problem is here:
After installation, modify the configuration file which is located at /etc/lora-app-server/lora-app-server.toml . Given you used the password dbpassword when creating the PostgreSQL database, you want to change the config variable postgresql.dsn into:
postgres://loraserver_as:dbpassword@localhost/loraserver_as?sslmode=disable

There may be other problems. I’ll try to solve them by myself. Let’s see


#5

Please check the forum for previously asked questions. You may find help for your issue in this topic: Error, will retry in 2s: pq: password authentication failed for user “loraserver”".


closed #6