Archive for the ‘Linux Solution’ Category

Linux command ‚journalctl‘ – export logs to a file output in old syslog format

Sonntag, Juli 19th, 2026

# crontab -l
0 0-23 * * * `journalctl –output=short -S yesterday > /var/log/syslog` && `scp /var/log/syslog root@192.168.1.171:/var/log/syslog.rpi-iot-jsho-pihole`

Pi-hole v6.4.3 FTL v6.7 WEB Interface v6.6 – schließt Lücken

Dienstag, Juli 14th, 2026

PVEViewer – connects to your Proxmox VE Cluster(s) over the REST API and turns them into a rich multi tab Excel workbook and live filterable grids for inventory health and capacity planning in one click

Freitag, Juli 10th, 2026

PVEViewer – connect a Proxmox cluster and have a full inventory workbook in minutes

Pi-hole v6.4.3 FTL v6.7 WEB Interface v6.6 – released

Dienstag, Juli 7th, 2026

Home Lab 2026 – Top 9 Linux Tools

Sonntag, Juli 5th, 2026

Podman 6.0.0 – was officially released on June 24 2026

Freitag, Juli 3rd, 2026

Podman 6.0.0 – this major release brings a host of significant improvements and new features designed to enhance your container management experience

Proxmox Virtual Environment (VE) 9.2.3 – how to set up Email Notifications e.g. Gmail

Mittwoch, Juli 1st, 2026

Proxmox Virtual Environment (VE) 9.2.3 – run the combined command apt-get update && apt-get dist-upgrade because Proxmox strongly recommends using dist-upgrade (or full-upgrade) instead of the standard upgrade to ensure dependency changes are handled correctly

Dienstag, Juni 30th, 2026
# apt-get update && apt-get dist-upgrade

Proxmox Virtual Environment (VE) 9.2.3 – Emergency Step ‚only if disk is 100% full‘

Montag, Juni 29th, 2026

When your Proxmox Virtual Environment (VE) boot disk fills up due to old kernels the package manager ‚apt‘ will throw errors like „No space left on device“ and refuse to complete updates or regular autoremovals

# uname -r
# rm -f /boot/vmlinuz-<ALTE_VERSION>-pve
# rm -f /boot/initrd.img-<ALTE_VERSION>-pve

Proxmox Virtual Environment (VE) 9.2.3 – traditional plaintext syslog logs have been replaced by the systemd journal ‚journalctl‘

Sonntag, Juni 28th, 2026

If you need a traditional ‚/var/log/syslog‘ file for third-party tools or legacy scripts you must manually install rsyslog by running apt install rsyslog on the Proxmox host

# journalctl -f

Proxmox & Ceph – ditch the old SAN

Samstag, Juni 27th, 2026

Raspberry Pi OS 6.18.34 – release date June 18th 2026

Montag, Juni 22nd, 2026

Proxmox Virtual Environment (VE) 9.2.3 – if ‚local‘ (Proxmox OS / Root) is full

Dienstag, Juni 9th, 2026

Remove old Kernels & APT Cache and clean up leftover package archives and clear out old unused Linux kernels

root@pve-s740-01:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 6.8G 0 6.8G 0% /dev
tmpfs 1.6G 2.7M 1.6G 1% /run
/dev/mapper/pve-root 24G 24G 0 100% /
tmpfs 7.7G 40M 7.7G 1% /dev/shm
efivarfs 128K 88K 36K 71% /sys/firmware/efi/efivars
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.7G 0 7.7G 0% /tmp
/dev/sdb1 916G 119G 751G 14% /mnt/pve/BackupUSB
/dev/sdc2 511M 9.1M 502M 2% /boot/efi
/dev/fuse 128M 20K 128M 1% /etc/pve
tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service
tmpfs 1.6G 4.0K 1.6G 1% /run/user/0
root@pve-s740-01:~# apt-get clean

root@pve-s740-01:~# apt-get autoremove
Reading package lists… Done

Building dependency tree… Done
Reading state information… Done
The following packages will be REMOVED
root@pve-s740-01:~#
root@pve-s740-01:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 6.8G 0 6.8G 0% /dev
tmpfs 1.6G 2.7M 1.6G 1% /run
/dev/mapper/pve-root 24G 13G 11G 56% /
tmpfs 7.7G 46M 7.7G 1% /dev/shm
efivarfs 128K 88K 36K 71% /sys/firmware/efi/efivars
tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.7G 0 7.7G 0% /tmp
/dev/sdb1 916G 119G 751G 14% /mnt/pve/BackupUSB
/dev/sdc2 511M 9.1M 502M 2% /boot/efi
/dev/fuse 128M 20K 128M 1% /etc/pve
tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service
tmpfs 1.6G 4.0K 1.6G 1% /run/user/0
root@pve-s740-01:~# apt autoremove –purge
REMOVING:
proxmox-kernel-6.14.11-8-pve-signed* proxmox-kernel-6.17.13-7-pve-signed*
proxmox-kernel-6.17.13-3-pve-signed*
Summary:
Upgrading: 0, Installing: 0, Removing: 3, Not Upgrading: 0
Freed space: 2,613 MB
root@pve-s740-01:~#
root@pve-s740-01:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
udev 7071332 0 7071332 0% /dev
tmpfs 1613956 2740 1611216 1% /run
/dev/mapper/pve-root 25058324 10347648 13412452 44% /
tmpfs 8069776 46800 8022976 1% /dev/shm
efivarfs 128 88 36 71% /sys/firmware/efi/efivars
tmpfs 1024 0 1024 0% /run/credentials/systemd-journald.service
tmpfs 5120 0 5120 0% /run/lock
tmpfs 8069780 0 8069780 0% /tmp
/dev/sdb1 960302076 124374804 787072848 14% /mnt/pve/BackupUSB
/dev/sdc2 523248 9240 514008 2% /boot/efi
/dev/fuse 131072 20 131052 1% /etc/pve
tmpfs 1024 0 1024 0% /run/credentials/getty@tty1.service
tmpfs 1613952 4 1613948 1% /run/user/0
root@pve-s740-01:~#

Vacuum Systemd Logs and System logs can grow out of control if debugging is active. Limit your logs to a manageable size (e.g. 50MB)

root@pve-s740-01:~# journalctl –vacuum-size=50M

Vacuuming done, freed 0B of archived journals from /run/log/journal.

Vacuuming done, freed 2.3G of archived journals from /var/log/journal/7068d0aa65f8428e8f68dc1963ac122f.
Vacuuming done, freed 0B of archived journals from /var/log/journal.
root@pve-s740-01:~#

Ubuntu 24.04 – the file ‚/var/log/syslog‘ should be emptied by truncating it rather than deleting it

Montag, Juni 8th, 2026
root@ra-ai-01:~# truncate -s 0 /var/log/syslog

Ubuntu 24.04 – configuring the correct timezone is crucial for ensuring accurate system timing vital for log tracking

Montag, Juni 8th, 2026
root@ra-ai-01:~# timedatectl
Local time: Mon 2026-06-08 13:49:48 UTC
Universal time: Mon 2026-06-08 13:49:48 UTC
RTC time: Mon 2026-06-08 13:49:48
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
root@ra-ai-01:~# timedatectl set-timezone Europe/Berlin
root@ra-ai-01:~# date
Mon Jun 8 03:50:51 PM CEST 2026
root@ra-ai-01:~# timedatectl
Local time: Mon 2026-06-08 15:51:03 CEST
Universal time: Mon 2026-06-08 13:51:03 UTC
RTC time: Mon 2026-06-08 13:51:03
Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
root@ra-ai-01:~#