Pulling problem

Hello

Can someone please help me? I get error

Devices unpolled

It appears as though you have some devices that haven’t completed polling within the last 15 minutes, you may want to check that out :slight_smile:

Also when i put .daily.sh i get this

$ ./daily.sh
/opt/librenms/.env: line 6: syntax error near unexpected token )' /opt/librenms/.env: line 6: DB_PASSWORD==mypass>’
/opt/librenms/.env: line 6: syntax error near unexpected token )' /opt/librenms/.env: line 6: DB_PASSWORD==mypass>’
Updating SQL-Schema OK
Cleaning up DB OK

Thanks

Anyone please?

run ./validate.php

Your .ENV is incorrect.

Do you have double == ? Its only one

No its just one server…

Btw there ia not error in validate

What I mean your .env file is incorrect in some way.

/opt/librenms/.env: line 6: syntax error near unexpected token )' /opt/librenms/.env: line 6: DB_PASSWORD==mypass>’

This is not normal. Check the file has no errors

Can someone help me to fix this please?

@k3b I’ve already told you.

Something is wrong with your .env file

Please, share it (obscuring sensitive data) or just rebuild it from scratch (but not doing copy and paste or probably the issue will persist)

Does your database password have any weird characters in it?

i have one % maybe thats problem?

Here is the .env file

APP_KEY=appkey

DB_HOST=localhost
DB_DATABASE=database
DB_USERNAME=username
DB_PASSWORD==mypass

#APP_URL=
NODE_ID=5e7e2fd317cb2
DB_PORT=3306
LIBRENMS_USER=username

@k3b the first I told you was if you have double = and you said no.

And you have it in the DB_PASSWORD

If it is part of the password I think you can escape it with \

When i remove one = cant connect to database . Here is ./daily.sh

root@monitoring:/opt/librenms# ./daily.sh
/opt/librenms/.env: line 6: syntax error near unexpected token )' /opt/librenms/.env: line 6: DB_PASSWORD==PASSWORDHERE
Re-running /opt/librenms/daily.sh as librenms user
/opt/librenms/.env: line 6: syntax error near unexpected token )' /opt/librenms/.env: line 6: DB_PASSWORD==PASSWORDHERE
/opt/librenms/.env: line 6: syntax error near unexpected token )' /opt/librenms/.env: line 6: DB_PASSWORD==PASSWORDHERE

Does your db password starts with = ?

If yes, change it to something without that sign.

My password contains $>%) from cpecial characters. Also password starts with word, not special characters…

Then remove the double equal. Its just one.

And to make that passwd work, try using

DB_PASSWORD=‘YOURPASS’