Whenever I return back to work my LibreNMS Gui will not load anymore. It is just a blank screen. This is the second day in a row. The day before I had to use a backup of Libre and completely restore the VM.
Here is a screenshot of my ./validate.php. I am aware composer is not correct. Not sure if this has anything to do with this issue. Since It was working before. I have installed composer but for some reason, Librenms can’t see it. If any one could help me out with this issue that would be great.
run ./scripts/composer_wrapper.php install
and report the output.
Your dependencies seem to be out of date.
Indeed - looks like composer isn’t installed properly, if at all.
Ok i ran ./scripts/composer_wrapper.php install. This is what I got for an output
Could you give me the commands if you know them to update my dependencies.
So you can run composer install
However install php7.0-mbstring
sorry I also ran it not as sudo and got the same error screenshot the wrong one
how do i install php mstring?
sudo apt-get install php7.0-mbstring?
chown -R librenms:librenms /opt/librenms/
ok well my validate definitely looks different. This is what I have now after all the help you guys have given me.
Getting closer.
Run ./scripts/composer_wrapper.php install --no-dev
again (looks like you had a code update).
And run the sql ALTERs to fix those up
Then run ./validate.php
again to verify.
Ok Thank you. I have done that. I am not sure how to change my sql ALTERS. I came into work this morning and found that it was a white screen again. When I ran as sudo ./daily.sh the GUI came back. Not sure why it did that.
FYI I am a newbie when it comes to ubuntu so if I ask stupid questions on how to do things that is why.
Ok I have figured out the alter table so this is what I have now. Which is what is screwing up my GUI everyday. It’s my daily.sh cron job. I just hope it is running like it should. If I manually run it we are good.
Then i get this. Isn’t this suppose to auto run though so I don’t have to worry about it?