Dietpi first run setup failed

The same first error

and there is still no dietpi-firstrun-setup.log?

are there any other error messages before this one?

no

ok I’m out of ideas

MichaIng
can you have a look pls

Is there a version 7 download link instead of version 6?

DietPi v7.0 has been released last night, and there is no image available containing v7 already. But it will do the very same thing as you are failing on quite an early state.

ok

Let’s see how/where the setup fails:

cat /boot/dietpi/.install_stage
df -T
G_CHECK_FREESPACE / 500

This?

it still the issue with missing free space as already indicated dietpi-firstboot.log https://dietpi.com/forum/t/dietpi-first-run-setup-failed/5033/7

[FAILED] DietPi-Set_swapfile | Free space check: path=/var/ | available=86 MiB | required=1144 MiB
[FAILED] DietPi-Set_swapfile | Insufficient free space for desired swap files size

however this does not fit to following 2 information

fs_partition_resize.log https://dietpi.com/forum/t/dietpi-first-run-setup-failed/5033/11

lsblk -o https://dietpi.com/forum/t/dietpi-first-run-setup-failed/5033/17

Maybe I have overseen something :thinking:

So what should I do next?

I guess the partition got extended successfully, but the filesystem did not. Just to be sure about this, could you paste:

lsblk -no SIZE,FSSIZE /dev/mmcblk0p2
findmnt -no SIZE /

It the second number of the first command and the second command verify it. Please try to resize the filesystem manually:

resize2fs /dev/mmcblk0p2