1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Bug with Plesk 10.4.4 with Subdomains, when Ip was changed

Discussion in 'Plesk 10.x for Linux Suggestions and Feedback' started by Daniel H, Mar 15, 2012.

  1. Daniel H

    Daniel H Basic Pleskian

    18
    85%
    Joined:
    Apr 3, 2011
    Messages:
    52
    Likes Received:
    0
    For one of my Clients I Choose a separate IP-Adress, because he need a SSL-Certificat. All things work fine, and after choosing the new ip-adress in the hosting settings; the dns-settings of the main domain changed, I only have to delete the old records for the ip-adress. This, I think, is correct. BUT at the subdomain the settings did not changed. Not only that, the subdomain, i think, did not exist longer for apache and the apache show you the main domain.

    When I try to Update the subdomain settings, i only get the message: error: Failed to updated ip. Can't set to addon domain ip different from webspace ip. When I create a new Subdomain, all looks & works fine. Only subdomains before the ip-change did not work!!!

    I think, that's a bug in 10.4.4 MU#20 & maybe before.
     
  2. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    Yep, it's a bug. I haven't reported it to them because if someone else has already reported it, they penalize you and take away one of your allowed support incidents. Hopefully they know, of course whether they care or not is a different story.

    To fix it, you need to correct the ip mapping for the subdomains in the IpAddressesCollections database table in the psa database. The entries will be the last ones in the table if you just got the error and then go work on that table before more are added. You can copy the value of the ipAddressId field from the main site and put it in the same field for the subdomain.
     
  3. mooiesite

    mooiesite Basic Pleskian

    24
    23%
    Joined:
    Jun 17, 2006
    Messages:
    66
    Likes Received:
    0
    confirm!

    i tried a /usr/local/psa/bin/subscription -u user -ip $NEWIP
    All domains and related stuff were changed except for the subdomains.

    3 months later and not fixed??
     
  4. mooiesite

    mooiesite Basic Pleskian

    24
    23%
    Joined:
    Jun 17, 2006
    Messages:
    66
    Likes Received:
    0
    just to be sure, here's a bugreport:

    ---------------------------------------------------------------
    PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
    Plesk 10.4.4, latest microupdates, all OS

    PROBLEM DESCRIPTION
    When changing an IP for a customer or serverwide or a subscription, subdomains do not get the new ip

    STEPS TO REPRODUCE
    add a new ipadress (1.2.3.4) to the server.
    /usr/local/psa/bin/ipmanage --reread
    /usr/local/psa/bin/ipmanage -u 1.2.3.4 -type shared
    /usr/local/psa/bin/subscription -u subscription -ip 1.2.3.4

    ACTUAL RESULT
    subdomains in the subscription still show and are configured with the old ip address

    EXPECTED RESULT
    subdomains need to have the new ip address configured

    ANY ADDITIONAL INFORMATION
    --------------------------------------------------------------
    You also can't delete the 'old' ip address from your ip's cause system thinks its still in use (which is due to the bug ofcourse)
     
  5. mooiesite

    mooiesite Basic Pleskian

    24
    23%
    Joined:
    Jun 17, 2006
    Messages:
    66
    Likes Received:
    0
    any update?

    this is a big problem on amazons ec2. On reboot i can't automatically change all affected ip adresses.
    I have to manually change the ones for subdomains.
     
  6. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    I haven't heard anything after the bug report.
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    I have forwarded your report to developers. I will update thread with results.
     
  8. mooiesite

    mooiesite Basic Pleskian

    24
    23%
    Joined:
    Jun 17, 2006
    Messages:
    66
    Likes Received:
    0
    any update?
     
  9. mooiesite

    mooiesite Basic Pleskian

    24
    23%
    Joined:
    Jun 17, 2006
    Messages:
    66
    Likes Received:
    0
    any update?
     
  10. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    Do we have to wait for Plesk 12 for the fix?
     
  11. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    What about current Plesk 11 version? Did you try to reproduce this problem there?
     
  12. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    We run Plesk Billing and have no desire to use Plesk 11 since going from 9 to 10 took over ONE YEAR for Plesk support to get some of the many bugs worked out that we would report. We can't afford to risk another disaster like that, which I have no doubt it would be since we seem to be the only customer who actually uses the billing system based on the number of bugs we have discovered.
     
  13. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    I just want to say that upgrade to Plesk 11 – is more like a 10.5 upgrade than a full version upgrade.
     
  14. RaymondR

    RaymondR New Pleskian

    16
    35%
    Joined:
    Jan 29, 2011
    Messages:
    24
    Likes Received:
    0
    I have the same problem here! Please fix this... :( is there a workaround?
     
  15. RaymondR

    RaymondR New Pleskian

    16
    35%
    Joined:
    Jan 29, 2011
    Messages:
    24
    Likes Received:
    0
    I found a workaround;
    * Backup subdomain data
    * Remove subdomain
    * Re-add subdomain
    * Restore data
    .......
     
  16. mooiesite

    mooiesite Basic Pleskian

    24
    23%
    Joined:
    Jun 17, 2006
    Messages:
    66
    Likes Received:
    0
    What about YOUR tech-team? did they already try to reproduce the problem?
    The bugreport is very clear. And it's been almost 6 (six!) months since first report.

    We are not your bughunters! We are paying customers!
     
  17. AlejandroMW

    AlejandroMW Guest

    0
     
    Solution that work for me

    All you need to do is, go to the "config" file of every domain, that is located in "var/www/vhosts/" then select the subdomain that you want to edit, then go to the "conf" folder inside, and edit the recent file, normally the names are like this "13463729860.63195700_httpd.include".

    in this file all you need to do is change the old IP for the new one, this you will need to do in two lines of that file.

    this lines are like this.

    <VirtualHost 69.64.75.9:443> this is for access in SSL

    <VirtualHost 69.64.78.159:80> this is for normal access

    then restart the httpd and that's it.

    I hope it work's for everyone, tell us about it.
     
  18. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    That works great until you change any single thing about the site or any of its subdomains and Plesk writes out a new config file with the old information again.

    We need a real fix, and we needed it six months ago.
     
  19. mooiesite

    mooiesite Basic Pleskian

    24
    23%
    Joined:
    Jun 17, 2006
    Messages:
    66
    Likes Received:
    0
    parallels? any update?
     
  20. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    Waiting for Plesk bugs to get fixed is like watching water boil.
     
Loading...