pveupgrade fails to upgrade ceph

n7qnm

New Member
Jan 4, 2024
12
0
1
Prosser, WA, USA
www.n7qnm.net
When I run pveupgrade, it produces this

Setting up cephadm (18.2.2-pve1) ...
usermod: unlocking the user's password would result in a passwordless account.
You should set a password with usermod -p to unlock this user's password.
mkdir: cannot create directory ‘/home/cephadm/.ssh’: No such file or directory
dpkg: error processing package cephadm (--configure):

Help?
 
Hi,
seems like there is an issue when the user already existed, but not the home directory. You can try:
Code:
mkdir /home/cephadm
chown cephadm:nogroup /home/cephadm
dpkg --configure -a

EDIT: for reference, this came from a change in behavior of adduser in Debian Bookworm and older Ceph versions had not yet adapted: https://tracker.ceph.com/issues/64069 so those versions did not create the home directory appropriately
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!