Find all packages available
rmadison sudo
Install a specific version
sudo apt install sudo=1.8.31-1ubuntu1.2
rmadison sudo
sudo apt install sudo=1.8.31-1ubuntu1.2
There’s a secret passphrase built into the error page. Just make sure the page is selected (click anywhere on the screen), and just type thisisunsafe
.
git clone https://github.com/thomasloven/plejd2mqtt.git
sudo docker build -t plejd2mqtt .
docker-compose.yamlversion: "3"
services:
plejd2mqtt:
image: plejd2mqtt:latest
restart: always
volumes:
- /var/run/dbus:/var/run/dbus
environment:
PLEJD_SITE: xxxxx
PLEJD_USERNAME: xxxx
PLEJD_PASSWORD: xxxx
MQTT_BROKER: mqtt://mqtt
sudo update-alternatives --config php
There are 4 choices for the alternative php (providing /usr/bin/php).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/php8.0 80 auto mode
1 /usr/bin/php7.2 72 manual mode
2 /usr/bin/php7.3 73 manual mode
3 /usr/bin/php7.4 74 manual mode
4 /usr/bin/php8.0 80 manual mode
Press <enter> to keep the current choice[*], or type selection number:
for i in `ls -lrt | grep “2015”| awk ‘{print $9}’ `; do mv -f $i* /new/Archives.2015/; done
docker run --rm -ti -v <full patch to db-files>:/var/lib/mysql mysql:5.7 bash
You’ll see a command prompt inside the MySQL container. Run the following command:
mysqld_safe --skip-grant-tables &
MySQL will start up. Wait 10 seconds or so for that to happen, and then run the following. Note you won’t see a command prompt, so just type away and it will work!
mysql_upgrade
sudo docker exec -u www-data -it nextcloud /bin/bash or
sudo docker exec -u www-data -it nextcloud /bin/bash php /var/www/nextcloud/occ maintenance:mode –off
sudo docker exec –user www-data -it nextcloud /bin/bash
php occ maintenance:repair
Error:
DBD::SQLite::st execute failed: database disk image is malformed at /usr/local/cpanel/Cpanel/EximStats/SpamCheck.pm line 388.
Solution:
mv /var/cpanel/eximstats_db.sqlite3 /var/cpanel/eximstats_db.sqlite.old
/scripts/restartsrv_tailwatchd
/scripts/import_exim_data /var/log/exim_mainlog
When there is problem to mount a Longhorn device this bug can be a good start: https://github.com/longhorn/longhorn/issues/1210
Solution for me was add
blacklist {
devnode "^sd[a-z0-9]+"
}
to /etc/multipath.conf and restart
service multipathd restart
sudo keytool -import -alias <hostname> -keystore /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/security/cacerts -file public.crt
Default password for Java keystore is “changeit”.
Powered by WordPress