librenms / docker

LibreNMS Docker image
MIT License
691 stars 278 forks source link

Can't create admin user #226

Closed Symness closed 3 years ago

Symness commented 3 years ago

When I install librenms using docker-compose up -d, everything seems to be fine. Then, I start docker-compose logs -f command, and I get this in logs :

librenms      | Creating admin user...
librenms      |
librenms      | In LnmsCommand.php line 113:
librenms      |
librenms      |   array_merge(): Expected parameter 1 to be an array, string given

I tried using this command, but the result is the same: docker-compose exec librenms lnms user:add admin

In LnmsCommand.php line 113:

  array_merge(): Expected parameter 1 to be an array, string given

Any help ? Thanks

OS : Debian 10 on Contabo VPS

lunarok commented 3 years ago

same error with me, deploy the container yesterday, cannot log with default user as provided in doc when I try to use lnms command, I got the error about expected array maybe the latest release ?

lunarok commented 3 years ago

I pull version 21.8 of docker and now lnms command works

murrant commented 3 years ago

Fixed upstream

crazy-max commented 3 years ago

@murrant Do you have a link to the PR that fixes this issue?

murrant commented 3 years ago

https://github.com/librenms/librenms/pull/13265