Closed stefanpejcic closed 5 days ago
this is resolved by stopping all system containers before the process
cd /root
compose_services=$(docker compose ps --services) # saved list of active services
docker compose down # stopped all
### do the plan edit
opencli server-recreate_hosts # recreate hosts file if network limit was edited
docker compose up -d $compose_services # start all services that were active
df -h # check disk is increased
it is now added to plan-apply script to do it for each user on the plan, but should be optimized when multiple users are on the same plan, to just stop and start once before editing their du limits.
OpenPanel version(s) affected
0.3.5
What OS are you using?
Ubuntu
Description
When changing storage file limits for a plan, the
opencli plans-apply
script goes over all users on that plan and updates their storage file to the new quota. However the changes are not reflected as the loopback device is still of the old quota.How to reproduce
Possible Solution
No response
Additional Context
this is what we use for resizing:
ps. this worked on devicemapper driver!