Mise à jours de Grafana sous Ubuntu

J’ai une version Grafana : v6.7.4 (June 3, 2020) sous Ubuntu. J’ai donc fait une mise à jours vers la version v10.3.3 .

En fait le « apt upgrade » ne fonctionnait pas.

 Le fichier configuré « main/binary-i386/Packages » ne sera pas pris en compte 
car le dépôt « https://apt.grafana.com stable InRelease » 
ne prend pas en charge l'architecture « i386 »

J’ai donc fait :

# apt-get install -y adduser libfontconfig1 musl
# wget https://dl.grafana.com/enterprise/release/grafana-enterprise_10.3.3_amd64.deb
# cp /var/lib/grafana/grafana.db .
# apt-get remove grafana
# sudo snap remove grafana
# sudo dpkg -i grafana-enterprise_10.3.3_amd64.deb
# sudo /bin/systemctl daemon-reload
# sudo /bin/systemctl enable grafana-server
# updatedb
# cp /var/lib/grafana/grafana.db /var/lib/grafana/grafana.db.backup
# cp /root/grafana.db /var/lib/grafana/grafana.db

Je suis passé du port 3000 au port 3001.
Le backup de la configuration ( grafana.db )  n’a pas fonctionné …

Misère.

TUXEDO : Tuxedo Control Center 2.1.1 : Big issue

Now I have always high CPU load (process tccd) and fan at 100% … very good release !


And also impossible to put « Powersave extreme » or « Quiet » … the laptop stop after too hot.

My OS : 22.04.3 LTS (Jammy Jellyfish) .

Logs :

In loops :

$ grep "tccd" /var/log/syslog | tail -f
Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1
Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Failed executing onWork() => Error: Command failed: export XAUTHORITY=/home/arias/.Xauthority && xrandr -q -display :1 --current
Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1
Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1
Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Failed executing onWork() => Error: Command failed: export XAUTHORITY=/home/arias/.Xauthority && xrandr -q -display :1 --current
Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1

And also :

Dec 20 12:26:48 TUXEDO-Polaris-Intel-Gen3-TGL dbus-daemon[1100]: [system] The maximum number of pending replies for ":1.153" (uid=1000 pid=6362 comm="/opt/tuxedo-control-center/tuxedo-control-center -" label="unconfined") has been reached (max_replies_per_connection=1024)

Sensors :

# sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +53.0°C  
 
nvme-pci-2f00
Adapter: PCI adapter
Composite:    +47.9°C  (low  = -273.1°C, high = +81.8°C)
                       (crit = +84.8°C)
Sensor 1:     +47.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +38.9°C  (low  = -273.1°C, high = +65261.8°C)
 
BAT0-acpi-0
Adapter: ACPI interface
in0:          16.42 V  
curr1:         0.00 A  
 
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +82.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +68.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +82.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
Core 5:        +59.0°C  (high = +100.0°C, crit = +100.0°C)
Core 6:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
Core 7:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
 
ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)
 
nvme-pci-0200
Adapter: PCI adapter
Composite:    +38.9°C  (low  = -273.1°C, high = +81.8°C)
                       (crit = +84.8°C)
Sensor 1:     +38.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +42.9°C  (low  = -273.1°C, high = +65261.8°C)
 
acpitz-acpi-0
Adapter: ACPI interface
temp1:        +86.0°C  (crit = +100.0°C)
temp2:        +86.0°C  (crit = +119.0°C)

Ubuntu : ERROR (dkms apport): binary package for evdi: 1.10.1 not found

Dans syslog j’ai l’erreur suivante :

make -j16 KERNELRELEASE=6.5.0-10006-tuxedo all INCLUDEDIR=/lib/modules/6.5.0-10006-tuxedo/build/include KVERSION=6.5.0-10006-tuxedo DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): binary package for evdi: 1.10.1 not found
Error! Bad return status for module build on kernel: 6.5.0-10006-tuxedo (x86_64)
Consult /var/lib/dkms/evdi/1.10.1/build/make.log for more information.

Quand je regarde le fichier /var/lib/dkms/evdi/1.10.1/build/make.log :

DKMS make.log for evdi-1.10.1 for kernel 6.5.0-10006-tuxedo (x86_64)
mar. 07 nov. 2023 14:00:31 CET
make KBUILD_VERBOSE=1 M=/var/lib/dkms/evdi/1.10.1/build SUBDIRS=/var/lib/dkms/evdi/1.10.1/build SRCROOT=/var/lib/dkms/evdi/1.10.1/build CONFIG_MODULE_SIG= -C /lib/modules/6.5.0-10006-tuxedo/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-10006-tuxedo'
make --no-print-directory -C /usr/src/linux-headers-6.5.0-10006-tuxedo \
-f /usr/src/linux-headers-6.5.0-10006-tuxedo/Makefile modules
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  You are using:           gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
make -f ./scripts/Makefile.build obj=/var/lib/dkms/evdi/1.10.1/build need-builtin=1 need-modorder=1
# cmd_mod /var/lib/dkms/evdi/1.10.1/build/evdi.mod

Pour l’instant j’ai pas réussi à fixer le problème.

A suivre.

Ubuntu : ThunderBirds : Plus possible de se connecter à Gmail via IMAP OAuth2

Depuis le 17/09/2023, Thunderbird n’arrive plus à se connecter sur Gmail en IMAP.

Ma configuration :

  • Ubuntu 22.04.3 LTS (Jammy Jellyfish)

$ sudo snap refresh thunderbird –stable
thunderbird 115.2.3-1 from Canonical✓ refreshed

J’ai le même problème avec la version 118 de thunderbird.

J’ai l’erreur :

« 400. That’s an error.
The server cannot process the request because it is malformed. It should not be retried. That’s all we know. »

J’ai essayé quelques commandes sans succès :

/snap/thunderbird/current/thunderbird  -profilemanager -no-remote

J’ai bien la fenetre : https://accounts.google.com/AccountChooser?oauth=1…. qui s’ouvre mais ensuite quand j’approuve j’ai une erreur.

Misère.

Solution :

J’ai modifié general.useragent.compatMode.firefox = true à la place de false et cela refonctionne !