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

Regression : Upgrade failed because not enought free space in /var #457

Open
HugoPoi opened this issue Jul 9, 2024 · 2 comments
Open

Regression : Upgrade failed because not enought free space in /var #457

HugoPoi opened this issue Jul 9, 2024 · 2 comments

Comments

@HugoPoi
Copy link
Contributor

HugoPoi commented Jul 9, 2024

Describe the bug

  1. we need to keep public/system
  2. we change the code to use --keep but It does a copy behind the hood

ynh_setup_source --dest_dir="$install_dir/live" --keep="public/system/"

before

https://github.com/YunoHost-Apps/mastodon_ynh/blame/17d9f373c9c8d2d443e561bfd39f8a9690e8ff43/scripts/upgrade#L169-L187

Steps to reproduce

/var free space is smaller than the size of public/system

Workaround

Move public/system before upgrading

@madmaxlamenace
Copy link

madmaxlamenace commented Jul 30, 2024

Hello,
I've got the same issue.

Even if i added 40GB of more disk space the result is the same and all the space is used 196GB
The last line is this one.
Info : [########++..........] > Upgrading source files...

hopefully for me i always use virtualisation and always make snapshots before upgrades.

@HugoPoi
Copy link
Contributor Author

HugoPoi commented Jul 30, 2024

probably worth to fix it in the core so every app can benefit from this

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

2 participants