Bug: Home directory for user dietpi Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
The_Raven
Posts: 22
Joined: Sat Aug 12, 2017 12:51 pm

Bug: Home directory for user dietpi

Post by The_Raven »

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
User avatar
MichaIng
Site Admin
Posts: 3097
Joined: Sat Nov 18, 2017 6:21 pm

Re: Bug: Home directory for user dietpi

Post by MichaIng »

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 mkdir -p /home/dietpi; cp -a /etc/skel/. /home/dietpi/; chown -R dietpi: /home/dietpi.
The_Raven
Posts: 22
Joined: Sat Aug 12, 2017 12:51 pm

Re: Bug: Home directory for user dietpi

Post by The_Raven »

Perfect, thank you! :D
FYI: It affects also the 32bit version.
User avatar
Joulinar
Posts: 5116
Joined: Sat Nov 16, 2019 12:49 am

Re: Bug: Home directory for user dietpi

Post by Joulinar »

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
User avatar
MichaIng
Site Admin
Posts: 3097
Joined: Sat Nov 18, 2017 6:21 pm

Re: Bug: Home directory for user dietpi

Post by MichaIng »

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.
The_Raven
Posts: 22
Joined: Sat Aug 12, 2017 12:51 pm

Re: Bug: Home directory for user dietpi

Post by The_Raven »

Tried and works perfect! Thx! 8)
jodfie
Posts: 3
Joined: Tue Apr 06, 2021 5:12 pm

Re: Bug: Home directory for user dietpi

Post by jodfie »

Is this something that can be fixed with just the command you stated? or a sudo dietpi-update
User avatar
ravenclaw900
Posts: 19
Joined: Sat Jan 09, 2021 4:05 pm

Re: Bug: Home directory for user dietpi

Post by ravenclaw900 »

The command should fix it, the images have just been fixed as well.
User avatar
Joulinar
Posts: 5116
Joined: Sat Nov 16, 2019 12:49 am

Re: Bug: Home directory for user dietpi

Post by Joulinar »

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
The_Raven
Posts: 22
Joined: Sat Aug 12, 2017 12:51 pm

Re: Bug: Home directory for user dietpi

Post by The_Raven »

Or reinstall from a new fresh downloaded image. 8)
Post Reply