Aps installer stuck at installation_task

Discussion in 'Installation/Configuration' started by sheldon, Mar 18, 2018.

  1. sheldon

    sheldon New Member

    Hi,
    I'm using ISP 3.1 on Ubuntu 16.04 with apache and php7.2 I tried to install WordPress to a site's subdirectory that did not exist at the time. Now Installed packages show WordPress installation with status Installation_task. The installation did not finish however no errors were shown. The directory was also not created. When I try to repeat the task now with directory created before installation, ISP gives an error that the script is already installed there.

    Sorry if i completed a duplicate thread.
    i followed couple of similar threads links as follows . but it doesnt have detailed steps on how to solve this issue.
    [ have shared in comments could not share links ] [Named LINKS 1]

    What i have tried
    - updated to newest verson of PHP from 7.0 to 7.2 using this link
    [ have shared in comments could not share links ] [Named LINKS 2]
    - Dont know how to run DEGUN command to check the status/log ( /usr/local/ispconfig/server/server.sh ) as said in the old thread.

    Can any body help me how to solve this issue.
    IN this old thread Aps installer stuck he said that the following
    but dont understand the steps how to do that . it would be great if anyone could explain the steps how to get into Databse and change the aps_instances

    Thanks a lot
     
  2. sheldon

    sheldon New Member

    Some links to the thread
    LINKS 1
    LINKS 2
    and
     
  3. sheldon

    sheldon New Member

    By running this server.sh command i got this following
    /usr/local/ispconfig/server/server.sh

    [ to achive the server log follow this link bit.ly/2G37r6t ]

    /usr/local/ispconfig/server/temp# /usr/local/ispconfig/server/server.sh
    18.03.2018-02:53 - WARNING - There is already a lockfile set, but no process running with this pid (7816). Continuing.
    PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:79
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/app.inc.php(46): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(208): app->__construct()
    #2 /usr/local/ispconfig/server/server.php(51): require('/usr/local/ispc...')
    #3 {main}
    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 79
    PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:79
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/app.inc.php(46): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(208): app->__construct()
    #2 /usr/local/ispconfig/security/check.php(32): require('/usr/local/ispc...')
    #3 {main}
    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 79
    Let me know if this could be usefull to solve my issue
     
  4. Taleman

    Taleman Active Member HowtoForge Supporter

    This error
    PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect()
    Means there is a PHP module your site needs that is not innstalled. Check again the howto used to isntall PHP 7.2 and read also the comments. Alternatively, find out in which package that function comes in and install that.
     
    Jeremy007 likes this.
  5. sheldon

    sheldon New Member

    Hi thanks for the quick replay
    i followed this tutorial instaill or updating php
    If any body is intrested use this link to update your php or downgrade
    Edit : updated link as TIll said https://www.howtoforge.com/tutorial...pureftpd-bind-postfix-doveot-and-ispconfig/2/

    before this issue i had an internal server error bocz some issue with my php 7.2 i downgraded to php 7.0 using the top link. then then you have to basicly use this following commands
    service apache2 restart
    service mysql restart ( if you ispconfig contol panel is taking a bit time to load and doesnt accept your login details )
     
    Last edited: Mar 18, 2018
  6. sheldon

    sheldon New Member

    Now this top error message has been gone and i am getting this error. After i do DEGUG
    /usr/local/ispconfig/server/server.sh

    This error keeps on going . can you help me he what is this error about.
     
  7. sheldon

    sheldon New Member

    Also if you could help me how to delete jobque of aps_insaller by ssh . i am using Marina dp.
    i tried to access from GUI phpmyadim but it was not allowing me in. i used below login
    username : root
    password : (the password used for mysql during installation)
    it would be great if you could direct me on this
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    If anybody who is using ISPConfig is following your advice and use that guide, then his system must stop working like yours did, using that guide on an ISPConfig server is a really bad idea. While you can install as many additional PHP versions, no matter if php 7.x or 5.x on your ISPConfig server, never change the main php that ships with the OS as this will break your server.

    To fix your setup, undo the PHP version change you did as that's the source of your problems. Take a look into the matching ISPConfig perfect server guide and install all php packages as listed there. Then use
    update-alternatives to switch the system PHP to that original php version. Then you can later define the PHP 7.1 and 7.1 and whatever you want as additional PHP version in iSPConfig and select that in the website. And your mysql system seems to have some problems too, ensure that you did not install a wrong mysql or mariadb version as part of your php changing attempt.
     
  9. sheldon

    sheldon New Member

    Hi till . Really sorry my bad. i followed what you said and did what as said www.howtoforge.com/tutorial/perfect-server-ubuntu-16.04-with-apache-php-myqsl-pureftpd-bind-postfix-doveot-and-ispconfig/2/

    Can you please help me with my top error please . also how can i remove aps jobque ( on ispconfig my installation_task is left with domains )

    Thanks, Cheers
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to fix your PHP environment as that's the cause of your pending installation_task issue. So after you fixed that, the pending installation tasks will get executed.
     
  11. sheldon

    sheldon New Member

    Hi till. I reinstalled my ispconfig with new apache using the "perfect server tutorial" and all. but i am still getting the same issue . installation_task
     

Share This Page