Skip to content

Changing of passwords in config.ini does not set them in settings.ini or emonhub config #181

@g0lgs

Description

@g0lgs

I am building a new monitor node (without emonpi hardware) using these scripts, but found that if I change the default passwords for mysl_password and mqtt_password in config.ini then the passwords I entrered are not placed into settings.ini or the emonhub conf and so things do not run without correcting these files.

This is what I get when pointing the Browser at my Device:

Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'emoncms'@'localhost' (using password: YES) in /var/www/emoncms/index.php:79 Stack trace: #0 /var/www/emoncms/index.php(79): mysqli->__construct() #1 {main} thrown in /var/www/emoncms/index.php on line 79

I had to change the password="" line under [sql] and [mqtt] in settings.ini

Having done that and created my 'admin' account in the web interface I then had to change

mqtt_password = ......

in the emonhub configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions