Hello all
There is a bug in the new dietpi 7:
After a new installation, there is no home directory for user dietpi.
Because of this i can not remote login and other things are also not working (xdesktop for example).
Can someone check please?
Best regards
Bug: Home directory for user dietpi Topic is solved
Re: Bug: Home directory for user dietpi
Bug in the PREP script. Many thanks for reporting: https://github.com/MichaIng/DietPi/issues/4231
I'll repack the images, luckily its nothing more to do than a
I'll repack the images, luckily its nothing more to do than a
mkdir -p /home/dietpi; cp -a /etc/skel/. /home/dietpi/; chown -R dietpi: /home/dietpi
.Re: Bug: Home directory for user dietpi
Perfect, thank you!
FYI: It affects also the 32bit version.

FYI: It affects also the 32bit version.
Re: Bug: Home directory for user dietpi
most of impacted images should have been recreated in meantime
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Bug: Home directory for user dietpi
All done already. Although I didn't flush the Cloudflare cache, so if someone still gets an image with this missing, report back and I'll force a cache reset.
Re: Bug: Home directory for user dietpi
Tried and works perfect! Thx! 

Re: Bug: Home directory for user dietpi
Is this something that can be fixed with just the command you stated? or a
sudo dietpi-update
- ravenclaw900
- Posts: 12
- Joined: Sat Jan 09, 2021 4:05 pm
Re: Bug: Home directory for user dietpi
The command should fix it, the images have just been fixed as well.
Re: Bug: Home directory for user dietpi
just go with
mkdir -p /home/dietpi; cp -a /etc/skel/. /home/dietpi/; chown -R dietpi: /home/dietpi
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Bug: Home directory for user dietpi
Or reinstall from a new fresh downloaded image. 
