I have just done the upgrade and then reboot, when i try to log back in to the web browser i get
Can't connect to database, please verify credentials/configuration in settings.php
Error message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I have tried a reboot
When i run.
sudo service mysql start
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
and
sudo systemctl status mysql.service -l
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Wed 2017-10-18 20:19:01 BST; 1min 51s ago
Process: 4930 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
Oct 18 20:19:01 emonpi /etc/init.d/mysql[5756]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Oct 18 20:19:01 emonpi /etc/init.d/mysql[5756]: [61B blob data]
Oct 18 20:19:01 emonpi /etc/init.d/mysql[5756]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Oct 18 20:19:01 emonpi mysql[4930]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
Oct 18 20:19:01 emonpi systemd[1]: mysql.service: control process exited, code=exited status=1
Oct 18 20:19:01 emonpi systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Oct 18 20:19:01 emonpi systemd[1]: Unit mysql.service entered failed state.
sudo journalctl -xn
-- Logs begin at Wed 2017-10-18 20:11:37 BST, end at Wed 2017-10-18 20:33:36 BST. --
Oct 18 20:33:30 emonpi mysql[10291]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
Oct 18 20:33:30 emonpi systemd[1]: mysql.service: control process exited, code=exited status=1
Oct 18 20:33:30 emonpi systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mysql.service has failed.
--
-- The result is failed.
Oct 18 20:33:30 emonpi systemd[1]: Unit mysql.service entered failed state.
Oct 18 20:33:30 emonpi sudo[10267]: pam_unix(sudo:session): session closed for user root
Oct 18 20:33:30 emonpi systemd[1]: Starting Emoncms MQTT Input Script...
-- Subject: Unit mqtt_input.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mqtt_input.service has begun starting up.
Oct 18 20:33:30 emonpi systemd[1]: Started Emoncms MQTT Input Script.
-- Subject: Unit mqtt_input.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit mqtt_input.service has finished starting up.
--
-- The start-up result is done.
Oct 18 20:33:30 emonpi mqtt_input[11116]: Check log\n
Oct 18 20:33:36 emonpi sudo[11145]: pi : TTY=pts/1 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/journalctl -xn
Oct 18 20:33:36 emonpi sudo[11145]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Great, that’s the correct choice. Nothing major but the emonSD has got a modification to php.ini to increase the max file size that can be uploaded via the web server. This is used for Emoncms backup module to be able to restore large files.
You mean inputs are not updating? Could you post your emonhub.log?