xxleevo / RDMonitor

RDMonitor is a simple Monitoring tool to track important infos from RDM - also supports Lorgnette (mysql & postgres)
4 stars 0 forks source link

Connection Failed: after lorgnette update "add pm2 ecosystem file." #1

Open focusbbs opened 4 years ago

focusbbs commented 4 years ago

After lorgnette Update may 10th, i had to Change the (lorgnette)Config: Accessing Admin UI to view device and level stats, reset accounts, or remove devices

  1. Inside Lorgnette venv, Add a user to database to access gui by running:

now, RDMonítor told me: Connection Failed:

xxleevo commented 4 years ago

i am sorry - my Lorgnette is not up2date so i cannot rely on this

What exactly changed for the database?

focusbbs commented 4 years ago

here are the Changes:

Accessing Admin UI to view device and level stats, reset accounts, or remove devices

  1. Inside Lorgnette venv, Add a user to database to access gui by running: python3.6 add_user.py 2.Follow prompts, enter username, then password. You should see "Success! User added to database." 3.Open a browser and go to http://lorgnetteip:config.port (Example: http://192.168.1.45:8887) 4.Enter username/password -To delete a user: login to database (psql or mysql), connect to lorgnette_db run query: DELETE FROM users WHERE user = 'usernametoremove'; *Users can be added without stopping scan.py.

These features are just UI to monitor status/accounts export etc and won't affect any performance of Lorgnette in terms of leveling. There is additional Parameter SECRET_KEY = 'changeme'for config.py to run properly. And from now on, I will keep maintaining only develop branch for both Lorgnette and UIControl since Niantic keeps changing things frequently and there never be stable master to keep up with Niantic changes. I use develop for my production leveling so the develop will always be stable and will have quick fix if there are issues/defects