This message is to present you the new APKG Domoticz 2020.2.1
DOMOTICZ is not changed only lot of bugs in the APKG's scripts
Download link will be in announcement message (just wait ... time for me to write the post) : viewtopic.php?f=166&t=11134&start=10#p35975
FOR NEWS USERS or if you come from a NON 2020 version ... bypass this recommendations.
===== IF YOU UPGRADE from 2020.2.0 PLEASE FOLLOW THE recommendation here after ===== NOT SURE IS NEED but domoticz stop sequence is not stable in 2020.2.0
1 ... do a backup of your .db files and plugins (just by security) : /usr/local/bin/domoticz_mngt save_domoticz_data
2 ... stop APKG (AppCentral)
3 ... verify all is stopped and umounted ... open a ssh terminal with root / your_admin_password
==== ATTENTION use the non standard /bin/ps from A.D.M. because G.N.U. standard display a different response
/bin/ps | grep tty_chmod | grep -v grep
... if a response use first numeric field to kill it : kill -9 XXXXX (ex. response is : "19900 root 0:04 {tty_chmod.sh} /bin/sh /mybin/tty_chmod.sh" ... use : kill -9 19900
/bin/ps | grep domoticz | grep -v grep
... if response do the same (kill)
/bin/mount | grep focal
... if response do : umount /volume1/.@plugins/AppCentral/domoticz/focal_x86_64/XXXXXXX XXXXXXX can be /run/shm /dev/pts /dev /sys /proc
==== PLEASE umount using the order here before if exist 1 shm 2 pts 3 dev 4 sys 5 proc
... ... so sorry for the inconvenience ...BUT this assume to prevent problem
... ... ANOTHER solution is : disable domoticz APKG / reboot (so domoticz don't start / upgrade APKG / enable it if it is not at end of upgrade
CHANGELOG :
Ubuntu : new user don't have to install time zone software (it is now included)
APKG :
... solve bugs due to A.D.M. (Asustor) delivery using NON GNU tools (I don't see it before, because I add tools using Entware ... and forgot to verify)
... new set of command line interface
... ... MOST VALUED : status / ubuntu_set_time_zone / ubuntu_package_install (to add require package for some plugins) / update_ubuntu (to keep Ubuntu 20.04 L.T.S. updated and secure)
Code: Select all
Usage: /usr/local/bin/domoticz_mngt {start|stop|restart|status} for THE APKG ... (ubuntu + tty_survey + domoticz)
Usage: /usr/local/bin/domoticz_mngt {apkg_enable|apkg_disable} ... do same as AppCentral admin WebUI for managing APKG (include Web icon management
...... /usr/local/bin/domoticz_mngt {start_domoticz|stop_domoticz|restart_domoticz|reload_domoticz} Manage only domoticz IN Ubuntu 20.04 L.T.S already started by APKG
...... /usr/local/bin/domoticz_mngt {ubuntu_set_time_zone} ... set your OWN TIME ZONE ... if error (tzdata not installed ... use ubuntu_package_install)
...... /usr/local/bin/domoticz_mngt {update_ubuntu} ... update Ubuntu 20.02 libraries (security)
...... /usr/local/bin/domoticz_mngt {ubuntu_package_install} [Package_name] ... install a pakacge in Ubuntu (ex. tzdata) ... good to use update_ubuntu before to avoid version problems
...... /usr/local/bin/domoticz_mngt {enter_in_ubuntu} enter in chroot as root for maintenace purpose
...... /usr/local/bin/domoticz_mngt {save_domoticz_data} save domoticz.db* and plugins in /share/Public (dated folder created)
Philippe.