Page 4 of 5

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Fri 14. Oct 2022, 13:10
by goldene-zeiten
Wo vor der Umstellung bei MySQL als Kollation "utf8" stand, steht nun entweder "utf8mb3_general_ci" oder "utf8mb4_general_ci". Das aber gefällt meinen TYPO3-Präsenzen nicht so richtig. Irgend etwas scheint sich da bei dem Upgrade auf MariaDB geändert zu haben (oder bei meinem Server).

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Fri 14. Oct 2022, 13:15
by Alexander
MariaDB-Version unter Ubuntu 20: 10.3.34
MariaDB-Version unter Ubuntu 22: 10.6.7

Hier gibts Infos, was sich zwischen den Versionen geändert hat:
https://mariadb.com/kb/en/release-notes/

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Fri 14. Oct 2022, 13:19
by goldene-zeiten
Alexander wrote: Fri 14. Oct 2022, 13:15 MariaDB-Version unter Ubuntu 20: 10.3.34
MariaDB-Version unter Ubuntu 22: 10.6.7

Hier gibts Infos, was sich zwischen den Versionen geändert hat:
https://mariadb.com/kb/en/release-notes/
Laut meinen Infos ist der Standard-Zeichensatz auch richtig eingestellt:

Code: Select all

Server: Localhost via UNIX socket
Server-Typ: MariaDB
Server-Verbindung: SSL wird nicht verwendet Dokumentation
Server-Version: 10.6.7-MariaDB-2ubuntu1.1 - Ubuntu 22.04
Protokoll-Version: 10
Benutzer: xyz@localhost
Server-Zeichensatz: UTF-8 Unicode (utf8mb4)
Faktisch kann ich die Zeichensätze nicht für die jeweilige Datenbank ändern, wie es früher ging:

Code: Select all

ALTER DATABASE db_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Fri 14. Oct 2022, 13:52
by goldene-zeiten
TYPO3 ist laut InstallTool konkret damit unglücklich (also genau das, was ich ja auch schon festgestellt hatte):

Code: Select all

MySQL database character set check failed
Checking database character set failed, got key "utf8mb3" instead of "utf8 or utf8mb4"

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Sun 16. Oct 2022, 12:33
by 24unix
goldene-zeiten wrote: Fri 7. Oct 2022, 12:40 Ich auch noch nicht. Drum bin ich ja für den Tipp sehr dankbar. Wird aber nicht Einzug finden in KeyHelp?
In dem kontext etl. ganz interessant:

https://frankenphp.dev

Werde ich mir mal näher anschauen.

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Sun 16. Oct 2022, 13:08
by goldene-zeiten
Sehe ich mir in einem ruhigen Moment einmal an. Im Moment bin ich froh, wenn ich maximal Wissen für TYPO3 aufsaugen kann :)

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Mon 17. Oct 2022, 11:05
by ollidroll
Hallo zusammen,
bei kommt am Ende folgender Fehler, danach start die VM nicht mehr.

Code: Select all

 linux-image-5.15.0-50-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/linux-image-5.15.0-50-generic.0.crash'
Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error code (1)

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (565.2 KB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/V/K/I/C): K
Problem report file: /var/crash/linux-image-5.15.0-50-generic.0.crash

Could not install the upgrades 

The upgrade has aborted. Your system could be in an unusable state. A 
recovery will run now (dpkg --configure -a). 

Setting up linux-image-5.15.0-50-generic (5.15.0-50.56) ...
Processing triggers for linux-image-5.15.0-50-generic (5.15.0-50.56) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-50-generic
cpio: write error: No space left on device
E: mkinitramfs failure cpio 2
update-initramfs: failed for /boot/initrd.img-5.15.0-50-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.15.0-50-generic (--configure):
 installed linux-image-5.15.0-50-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-5.15.0-50-generic

Upgrade complete 
Was kann ich tun?

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Mon 17. Oct 2022, 11:07
by ollidroll
Ach Mist, kann es tatsächlich schon folgendes sein?

Code: Select all

cpio: write error: No space left on device

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Mon 17. Oct 2022, 11:13
by goldene-zeiten
Was spricht "df"?

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Mon 17. Oct 2022, 11:25
by ollidroll
goldene-zeiten wrote: Mon 17. Oct 2022, 11:13 Was spricht "df"?
Eigentlich sind bzw. waren noch 25 GB frei...
... aber ich habe der VM jetzt noch mal 20 GB Plattenplatz spendiert, so dass jetzt noch 45 GB frei sind.
Probiere es nochmal mit dem Upgrade...

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Mon 17. Oct 2022, 12:02
by ollidroll
Also das mit dem Platz scheint es nicht zu sein.

Code: Select all

/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-50-generic
cpio: write error: No space left on device
E: mkinitramfs failure cpio 2
update-initramfs: failed for /boot/initrd.img-5.15.0-50-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.15.0-50-generic (--configure):
 installed linux-image-5.15.0-50-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-5.15.0-50-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/linux-image-5.15.0-50-generic.0.crash'
Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error code (1)

Setting up linux-image-5.15.0-50-generic (5.15.0-50.56) ...
Processing triggers for linux-image-5.15.0-50-generic (5.15.0-50.56) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-50-generic
cpio: write error: No space left on device
E: mkinitramfs failure cpio 2
update-initramfs: failed for /boot/initrd.img-5.15.0-50-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.15.0-50-generic (--configure):
 installed linux-image-5.15.0-50-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-5.15.0-50-generic
Platz:

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
tmpfs           394M  1.2M  393M   1% /run
/dev/sda1        68G   13G   56G  19% /
tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs           394M   37M  357M  10% /tmp
tmpfs           394M     0  394M   0% /var/tmp
/dev/sda15      105M  5.3M  100M   5% /boot/efi
tmpfs           394M     0  394M   0% /run/user/0
Ideen?

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Mon 17. Oct 2022, 15:39
by Jolinar
ollidroll wrote: Mon 17. Oct 2022, 12:02 Also das mit dem Platz scheint es nicht zu sein.
Ich vermute eher schon, daß du ein Platzproblem hast...

ollidroll wrote: Mon 17. Oct 2022, 12:02 Ideen?
Poste mal die Ausgaben von:

Code: Select all

df -h
und

Code: Select all

ls -al /boot

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Mon 17. Oct 2022, 16:05
by ollidroll
df -h

Code: Select all

udev            2.0G     0  2.0G   0% /dev
tmpfs           394M  1.2M  393M   1% /run
/dev/sda1        68G   10G   58G  15% /
tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs           394M     0  394M   0% /var/tmp
tmpfs           394M     0  394M   0% /tmp
/dev/sda15      105M  5.2M  100M   5% /boot/efi
tmpfs           394M     0  394M   0% /run/user/0

Code: Select all

ls -al /boot
total 91161
drwxr-xr-x  4 root root     4096 Oct 11 06:36 .
drwxr-xr-x 20 root root     4096 Oct 17 16:03 ..
-rw-------  1 root root  4748865 Aug 26 11:39 System.map-5.4.0-126-generic
-rw-------  1 root root  4747163 Sep 20 11:19 System.map-5.4.0-128-generic
-rw-r--r--  1 root root   237946 Aug 26 11:39 config-5.4.0-126-generic
-rw-r--r--  1 root root   237852 Sep 20 11:19 config-5.4.0-128-generic
drwx------  3 root root      512 Jan  1  1970 efi
drwxr-xr-x  5 root root     4096 Oct 11 06:36 grub
lrwxrwxrwx  1 root root       28 Oct 11 06:36 initrd.img -> initrd.img-5.4.0-128-generic
-rw-r--r--  1 root root 28019684 Sep 23 06:30 initrd.img-5.4.0-126-generic
-rw-r--r--  1 root root 28012225 Oct 11 06:36 initrd.img-5.4.0-128-generic
lrwxrwxrwx  1 root root       28 Oct 11 06:36 initrd.img.old -> initrd.img-5.4.0-126-generic
lrwxrwxrwx  1 root root       25 Oct 11 06:36 vmlinuz -> vmlinuz-5.4.0-128-generic
-rw-------  1 root root 13648128 Aug 26 13:58 vmlinuz-5.4.0-126-generic
-rw-------  1 root root 13664512 Sep 20 12:43 vmlinuz-5.4.0-128-generic
lrwxrwxrwx  1 root root       25 Oct 11 06:36 vmlinuz.old -> vmlinuz-5.4.0-126-generic

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Mon 17. Oct 2022, 16:08
by Florian
Hallo,

mounte mal /tmp nicht als RAM-Disk, die 400 MB könnten knapp werden.

Re: Update von Ubuntu 20.04 -> 22.04

Posted: Mon 17. Oct 2022, 16:08
by Jolinar
Du hast ein Platzproblem (deine boot-Partition ist voll):

Code: Select all

/dev/sda15      105M  5.2M  100M   5% /boot/efi
Lösch die alten Kernel, dann flutscht es wieder ->
https://wiki.ubuntuusers.de/Skripte/Alt ... entfernen/