1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

quotacheck on upgrade

Discussion in 'Plesk for Linux - 8.x and Older' started by joelmoss, Dec 17, 2004.

  1. joelmoss

    joelmoss Guest

    0
     
    Why does the quotacheck have to be run everytime Plesk is upgraded. Depending on the amount of data and domains on the server, it can take ages for the upgrade to complete. And all the while, all services are down.

    Does the quotacheck have to be run everytime? If so, why? and what exactly is it checking for?
     
  2. hardweb

    hardweb Guest

    0
     
    Technically it shouldn't run everytime, but it can fix some things and based on its output the installer determines what steps to follow.
     
  3. Cranky

    Cranky Guest

    0
     
    It's a shame it can't run after Plesk is fully upgraded in all other ways ... or at least after websrvmng has restored vhosts.
     
  4. joelmoss

    joelmoss Guest

    0
     
    that would definately be a much better idea!!
     
  5. brandonp

    brandonp Guest

    0
     
    Long Wait

    Why does quotacheck take so long during upgrades? I usually wait more than an hour for quotacheck to finish. It is the sole reason that I avoid upgrading Plesk.

    Is there any way to make the installer not do a quotacheck, or make it take much less time?

    Brandon Petersen
     
  6. CosmicD

    CosmicD Guest

    0
     
    with me, i always have to go and fiddle with the numbers in each setup for each domain when an upgrade is done becasue when you do edquota user every hard quota is reset to 0 :(..

    how do you really have to restore all the quota's ? when I exectue quotacheck -afm nothing really changes :(
     
  7. Traged1

    Traged1 Guest

    0
     
    I always just turn httpd back on manually while the upgrade is doing its quota check, just a simple /etc/init.d/httpd start at least that way you do not have a huge amount of down time to your sites, but scripting such as ASP or CMFX will not funtion untill the psa startall runs.
     
  8. brandonp

    brandonp Guest

    0
     
    That would work!

    Never thought about doing that, was always worried about doing anything to screw up the installation.

    I'll try that next time I upgrade.

    Brandon Petersen
     
  9. joelmoss

    joelmoss Guest

    0
     
    That is useless! apache will start, but all domains will simply display the default redhat or fedora page. clients sites are not displayed.
     
  10. Traged1

    Traged1 Guest

    0
     
    Then try turning on named also
     
  11. Cranky

    Cranky Guest

    0
     
    It's because websrvmng hasn't regenerated the vhost files when it runs quotacheck, not because bind/apache aren't running.
     
  12. Traged1

    Traged1 Guest

    0
     
    Then edit the default apache test page to look like a "Sorry, temporarily undergoing maintainance, back up shortly " Page. At least its better then DNS errors.
     
  13. Cranky

    Cranky Guest

    0
     
    There are no DNS errors - if there were any DNS issues you wouldn't make it to the apache test page. The point being made is that quotacheck appears to do nothing, and takes all sites offline whilst doing this, if it could be run after the vhosts are restored it would be much better.
     
  14. joelmoss

    joelmoss Guest

    0
     
    Exactly!! If the quotacheck could be run afterwards, then the upgrade time would take literally minutes, rather than over an hour - sometimes!
     
  15. brandonp

    brandonp Guest

    0
     
    I'm sure there is a reason for where they placed quotacheck, but why? Why do they shutdown the servers, perform the quotacheck, update and start the server? Here is how the upgrade goes:

    Server shutown < 2 minutes
    Quotacheck > 1 hour
    Package Installation < 2 minutes
    Start Server < 2 minutes

    Can Quotacheck be done before shutting down the servers? Can the installation prompt you whether or not you want to perform quotacheck?

    It would be very beneficial.

    Brandon Petersen
     
Loading...