Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no freespace check before update #811

Open
pilou75 opened this issue May 11, 2024 · 7 comments
Open

no freespace check before update #811

pilou75 opened this issue May 11, 2024 · 7 comments

Comments

@pilou75
Copy link

pilou75 commented May 11, 2024

There is no freespace check before update.

I had installed PINN which was updated several times, and finally 3.8.8. Partition size was 64MB.
I was asked to update to 3.9, it ran out of space and was unable to boot.

@procount
Copy link
Owner

It is very tight on space, only about 1MB free at the end. Did you have some extra files stored on your boot partition?
It's difficult to check how much free space is needed because many of the files are overwritten. I looked at it more from the perspective of PINN's size being smaller than the partition size, and if this is not the case then the previous installation will be restored. I guess this check of freespace could be improved, but all my upgrade tests of a standard 3.8.8 to 3.9 version worked ok.

Meanwhile to restore PINN in a working fashion, you can download https://sourceforge.net/projects/pinn/files/pinn64/pinn-lite.zip/download and unzip it to your PINN partition. You will have to exclude wallpaper.jpg and rename wallpaper2.jpg to wallpaper.jpg.
At some stage you WILL need to create a bigger RECOVERY partition as described int he release note.

@hahnmt
Copy link

hahnmt commented May 12, 2024

Looks like I just experienced a similar issue. Just booted and pulled down upgrade. During upgrade partition filled leading to Kernel Panic on boot. Partition size is 63MB.

In my case it appears these three directories are consuming additional MB

firmware.latest
firmware.legacy
firmware.override

@pilou75
Copy link
Author

pilou75 commented May 12, 2024

Same as hahnmt commented.
I removed those directories.
I will see what I can do to expand recovery without reinstalling everything

@procount
Copy link
Owner

I have temporarily blocked self update until I can do better disk space checks.
It might be easier to restore a working disk by deleting the contents of the recovery partition and then unzipping pinn-388.zip onto it. That way rhere will be no diskspace issues.

@procount
Copy link
Owner

Self-update to 3.9.1 has been re-enabled.
It now wipes the whole of the boot partition before installing the new version to ensure full capacity is available. Settings will still be preserved.

@pilou75
Copy link
Author

pilou75 commented May 16, 2024

I had expanded the recovery partition, and I also did the self update to 3.9.1
However the wpa_supplicant.conf has been deleted, is this the expected behavior ?

@procount
Copy link
Owner

Wpa_supplicant.conf is imported from the boot partition, so once imported it is no longer required there. Same for dhcpcd.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants