Option calculate Website Disk usage without Quota

Discussion in 'Tips/Tricks/Mods' started by LKTechnik, Feb 6, 2022.

  1. LKTechnik

    LKTechnik New Member

    ahrasis likes this.
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Feel free to open a MR so we can fully check it out.
     
  3. LKTechnik

    LKTechnik New Member

    I will but not yet, there are some missing things like the hard-coded path currently who only use in /var/www related systems like debian.
     
  4. RPudil

    RPudil New Member

    Hi,
    yes, workaround without quotas exists, I have modified 100-monitor_hd_quota.inc.php file.
    The root solution is on lines 74 and 105 ...and others small changes. The web quotas computed every hour.
    It's not as precise as quotas, but better something than nothing.
    Changed file is included.

    Regards
    Roman Pudil
     

    Attached Files:

    ahrasis likes this.
  5. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Nice workaround I'd say. Just a question, without other than line 74 and 105 changes, why do you have to change them? Will it work without those other changes? Because if it does, this should be considered a good improvement for that file. Otherwise, may be better in depth looks / tests on the code are needed.
     
  6. LKTechnik

    LKTechnik New Member

    use a similar workarround like mine but fully remove quota
    so not recomendet for implementation into ispconfig
     

Share This Page