GenieACS 1.2.5's gui cannot be login with correct username and password

Can anyone help?

Can visit http://ipaddress:3000, but cannot login by any username and password.

sudo systemctl edit --force --full genieacs-ui

[Unit]
Description=GenieACS UI
After=network.target

[Service]
User=genieacs
EnvironmentFile=/opt/genieacs/genieacs.env
ExecStart=/usr/local/bin/genieacs-ui --ui-jwt-secret secret
KillMode=process

[Install]
#WantedBy=default.target
WantedBy=multi-user.target

sudo vim genieacs.env

GENIEACS_CWMP_ACCESS_LOG_FILE=/var/log/genieacs/genieacs-cwmp-access.log
GENIEACS_NBI_ACCESS_LOG_FILE=/var/log/genieacs/genieacs-nbi-access.log
GENIEACS_FS_ACCESS_LOG_FILE=/var/log/genieacs/genieacs-fs-access.log
GENIEACS_UI_ACCESS_LOG_FILE=/var/log/genieacs/genieacs-ui-access.log
GENIEACS_DEBUG_FILE=/var/log/genieacs/genieacs-debug.yaml
NODE_OPTIONS=–enable-source-maps
GENIEACS_EXT_DIR=/opt/genieacs/ext
GENIEACS_UI_JWT_SECRET=secret

Hi golden,

Can you connect to mongo DB?. If you can, set this values in ‘genieacs’ database, ‘users’ table:
“_id”:“admin”,
“password”:“c2072a39b51bd929fd5540ce52545598a6f4e0a1c1e57176468a9b4af1263aa531f575102a05c8d42753b83e5dcdc6178368e3db865daa2bc0affdb78c0aba063f9d241c2eb99d4c78926e55ea01555402bf04dc1a2044ec9a5c6c13da10e20b2088e156e489d3f4b995fa90e8a694b3f4beaf7ab4b82e24cbf83a2ca08699cd”,
“roles”:“admin”,
“salt”:“c3283aaf1c8a593e2679070c921d68fcb6a6a3b55881e1b61b1bfef4bd33db81b936adadaf0e55c2a51bb7e91027d8b61214a00bc46a93c048ec00645138ab21”

And try to log in with admin/admin

Regards

Hi

you have to give secret as string

GENIEACS_UI_JWT_SECRET = ‘secret’

Give like, u can do login