[Solved] Not able to login after upgrade.

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
tpf
Beiträge: 2
Registriert: 06.11.2023 10:05:19

[Solved] Not able to login after upgrade.

Beitrag von tpf » 06.11.2023 10:38:01

Hello, two weeks ago I upgraded my server from debian 10 to debian 12, everything seemed fine until I tried to log in.
After I type in my username I only get "login incorrect" without even a password prompt, the same problem occurs with root.
This happens over ssh aswell as on the machine.

Thanks!
Zuletzt geändert von tpf am 09.11.2023 11:02:40, insgesamt 1-mal geändert.

Benutzeravatar
debilian
Beiträge: 1214
Registriert: 21.05.2004 14:03:04
Wohnort: 192.168.43.7
Kontaktdaten:

Re: Not able to login after upgrade.

Beitrag von debilian » 06.11.2023 10:41:58

Harddisk full?
-- nichts bewegt Sie wie ein GNU --

uname
Beiträge: 12107
Registriert: 03.06.2008 09:33:02

Re: Not able to login after upgrade.

Beitrag von uname » 06.11.2023 10:46:56

Maybe at boot in GRUB2 you can edit the grub menu and add init=/bin/bash to boot to shell. Then you can set password with passwd or passwd username and boot again without the option. Maybe you must use sudo passwd and sudo passwd username. For check Harddisk full use the command df -h . If it is full please make a new install with more space.

Benutzeravatar
hikaru
Moderator
Beiträge: 13603
Registriert: 09.04.2008 12:48:59

Re: Not able to login after upgrade.

Beitrag von hikaru » 06.11.2023 12:09:06

In addition to the other posts:
dist-upgrades skipping a release (directly from Buster (10) to Bookworm (12)) are not supported. Transitional packages are meant to facilitate dist-upgrades from one release to the next one, but they might not span two releases.
So in case you skipped Bullseye (11) you might have broken dependencies.

tpf
Beiträge: 2
Registriert: 06.11.2023 10:05:19

Re: Not able to login after upgrade.

Beitrag von tpf » 09.11.2023 11:01:57

Solved, the disk wasn´t full. I booted into single user mod but I still could not change the password. The error then was "passwd: Authentication token manipulation error". So I restored my whole system from a backup before the updates. I did update first to Bullseye and then to Bookworm but I still managed to mess something up. Now everything works again and the updates were successful.

Thank you very much!

Antworten