APS Installer not installing packages after Update

Discussion in 'Installation/Configuration' started by ClaudioP, Dec 21, 2016.

  1. ClaudioP

    ClaudioP New Member

    Hello Guys,
    My system is Ubuntu 14.04
    The ISpconfig version is 3.1

    have any of you gone trhough this?i´ll try to describe here what is happening to me.
    I have updated ISPCONFIG to the latest version available, ane everything works fine, except what is described below:
    - Objective -> Install Wordpress
    - Previous History -> aps Installer was working just fine with three domains with Wordpress installed working and very good
    - Actual History -> whenever i try to install a new Wordpress package through Aps Installer it will go through every step and when i click to install it, i wont install anything, no task appear, but also no error is given
    - What i´v tried:
    1 - Emptied the Aps_Instance Table
    2 - Emptied the aps meta folder
    3 - Resynced
    4 - Updated the package list
    5 - Rebooted the server
    The result was that now despite the fact that every single one of my sites is perfectly working i cant see the previous installations listed on Aps Installer -> Installed Packages, plus the previous error persists, also i found out that the "/usr/local/ispconfig/server/aps_packages" is empty
    Now i´m out of ideas about what could be happening, could any of you suggest something?

    Thank you all in Advance
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I've added a bugreport for that here: https://git.ispconfig.org/ispconfig/ispconfig3/issues/4390

    There have been 2 other users that reported this behavior but we could not reproduce that here yet. It might be that a field in the database in one of the aps* tables is missing e.g. because it could not be added during update or maybe one of the tables is reported as broken on your server. What you can try is that you compare the aps tables from install/sql/ispconfig3.sql file (in the ispconfig3 tar.gz) with the table layout in your database and check your database tables with phpmyadmin to ensure that none is marked as crashed.
     
  3. ClaudioP

    ClaudioP New Member

    Well, i´m going to clone this one and investigate it further later on, but, as for now the fastest route for me is to install another server and transfer the sites, because i´m in a really tight spot here, but anyway, cloning will be fast here and this issue really, really made me curious.
    I´ll let you know what came out of further investigations, maybe that could help with preventing it from happening again.
    Thank you my friend
     
  4. ClaudioP

    ClaudioP New Member

    Well, unfortunately after installing a brand new server(using the latest Stable Version) and migrating all websites to this new server, the same thing happens...so i believe that it is related to this new version and not the upgrade like i was thinking before.
    i have checked and even after updating the package list etc and etc i have 2 empty tables:
    aps_instances
    aps_instances_settings
    and 2 tables filled with data:
    aps_packages
    aps_settings
    I have installed ISPCONFIG on a VM inside my computer using the exact same version of everything, and is works normally, not a single problem...at all.
    The production one is hosted on AMAZON, could that be causing a problem?
     
    Last edited: Dec 22, 2016
  5. gody

    gody Member

    Hi,

    I encountred some trouble with the APS installer when I use the ISPConfig API.
    In mono server setup, all was good.
    But in multi server setup, CMS who need database like wordpress isn't deploy.

    I think the problem is arround the "client limits "

    When I add a new client the default_dbserver is 0, but the only db_server availbale in my setup have id 2.
    And yes, the db_server is properly set inside into "system -> main config -> sites -> Default database server"

    The APS module check if the default_dbserver is a mysql server
    In my case the server 0 isn't a db server ... so the installation fails without error


    Maybe use the db_server instead of default_dbserver inside the aps_guicontroller.inc.php

    Configurations: Multi Debian 8 / ispconfig 3.1.1

    My 2 cts,
    Ced
     

Share This Page