Skip to content

Check Redis is running before using rpush #1469

Closed
@borpin

Description

$redis->rpush("service-runner","$update_script $type $firmware>$update_logfile");

re https://community.openenergymonitor.org/t/cant-update-10-1-6-fleeting-php-errors/12296

The call to redis should first check for the service running else an exception is raised. Ideally this should inform the user how to perform a manual update.

Other places where this is called should also check for the redis service.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions