APP_KEY does not match key used to encrypt data. APP_KEY must be the same on all nodes

Hi Guys,

I started to see this notification in my remote pollers when I run the validation:

$ ./validate.php
 ====================================
Component | Version
 --------- | -------
 LibreNMS  | 21.8.0-31-g232b9a414
 DB Schema | 2021_08_26_093522_config_value_to_medium_text (217)
 PHP       | 8.0.10
 Python    | 3.6.9
 MySQL     | 10.5.12-MariaDB-1:10.5.12+maria~bionic
 RRDTool   | 1.7.0
 SNMP      | NET-SNMP 5.7.3
 ====================================

  [OK]    Composer Version: 2.1.6
  [OK]    Dependencies up-to-date.
  [FAIL]  APP_KEY does not match key used to encrypt data. APP_KEY must be the same on all nodes.
  [FIX]:   If you rotated APP_KEY, run lnms key:rotate to resolve.
 [OK]    Database connection successful
 [OK]    Database schema correct
  [INFO]  Detected Python Wrapper
 [OK]    Connection to memcached is ok

Not sure which key is it referring to.
Any hints please ?

Thanks

Maybe it’s reffering to .env file, should be an app_key there.
This would be my first guess.
If you are going to distributed polling that have to match on every poller.

Many thanks @Pizzahjul
I will look there and see what’s need to be done.
I will update the thread with what I find.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.