Apss Installer generating errors: "Installation_error" for every package!

Discussion in 'Installation/Configuration' started by easyyu, Mar 16, 2016.

  1. easyyu

    easyyu New Member

    Ok..It is not necessary to make any tweak I do clean isntall.
    I think I found the culprit. It is suPHP. I installed from tutorial everything few times..and if I install suPHP than it happend what is described above.

    https://www.howtoforge.com/tutorial...n-8-jessie-apache-bind-dovecot-ispconfig-3/2/
    It is under point 11 Install SuPHP (optional, not recommended)

    But do I really need suPHP? I know that it is for persimition..but it seams that working everything without it.

    Now..I have few probles again with apps install.

    ISPConfig 3.0.5.4p8.jpg

    For example for VanillaForum:

    Code:
    ........
    2016-03-21 01:01     mail.example.com     Debug     Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 01:01     mail.example.com     Debug     Processed datalog_id 196  
    2016-03-21 01:01     mail.example.com     Debug     Processed datalog_id 195  
    2016-03-21 01:01     mail.example.com     Debug     Processed datalog_id 194  
    2016-03-21 01:01     mail.example.com     Debug     Processed datalog_id 193  
    2016-03-21 01:01     mail.example.com     Debug     Found 4 changes, starting update process.  
    2016-03-21 01:01     mail.example.com     Debug     Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 01:00     mail.example.com     Debug     Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 01:00     mail.example.com     Debug     Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:59     mail.example.com     Debug     Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:59     mail.example.com     Debug     Processed datalog_id 192  
    2016-03-21 00:59     mail.example.com     Debug     Running installHandler  
    2016-03-21 00:59     mail.example.com     Debug     Starting APS install  
    2016-03-21 00:59     mail.example.com     Debug     Calling function 'install' from plugin 'aps_plugin' raised by event 'aps_instance_update'.  
    2016-03-21 00:59     mail.example.com     Debug     Processed datalog_id 191  
    2016-03-21 00:59     mail.example.com     Debug     Processed datalog_id 190  
    2016-03-21 00:59     mail.example.com     Debug     Processed datalog_id 189  
    2016-03-21 00:59     mail.example.com     Debug     Processed datalog_id 188  
    2016-03-21 00:59     mail.example.com     Debug     Processed datalog_id 187  
    2016-03-21 00:59     mail.example.com     Debug     Processed datalog_id 186  
    2016-03-21 00:59     mail.example.com     Debug     Processed datalog_id 185  
    2016-03-21 00:59     mail.example.com     Debug     Processed datalog_id 184  
    2016-03-21 00:59     mail.example.com     Debug     Starting APS install  
    2016-03-21 00:59     mail.example.com     Debug     Calling function 'install' from plugin 'aps_plugin' raised by event 'aps_instance_insert'.  
    2016-03-21 00:59     mail.example.com     Debug     Found 9 changes, starting update process.  
    2016-03-21 00:59     mail.example.com     Debug     Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:58     mail.example.com     Debug     Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 183  
    2016-03-21 00:58     mail.example.com     Warning     PHP Warning:  Missing argument 1 for PasswordHash::PasswordHash(), called in /var/www/clients/client1/web1/web/van/install_scripts/configure on line 33 and defined in /var/www/clients/client1/web1/web/van/install_scripts/PasswordHash.php on line 33
    PHP Warning:  Missing argument 2 for PasswordHash::PasswordHash(), called in /var/www/clients/client1/web1/web/van/install_scripts/configure on line 33 and defined in /var/www/clients/client1/web1/web/van/install_scripts/PasswordHash.php on line 33
    PHP Notice:  Undefined variable: iteration_count_log2 in /var/www/clients/client1/web1/web/van/install_scripts/PasswordHash.php on line 37
    PHP Notice:  Undefined variable: portable_hashes in /var/www/clients/client1/web1/web/van/install_scripts/PasswordHash.php on line 41
    PHP Notice:  Undefined index: @@DB_MAIN_PREFIX@@ in /var/www/clients/client1/web1/web/van/install_scripts/configure on line 35  
    2016-03-21 00:58     mail.example.com     Debug     Running installHandler  
    2016-03-21 00:58     mail.example.com     Debug     Starting APS install  
    2016-03-21 00:58     mail.example.com     Debug     Calling function 'install' from plugin 'aps_plugin' raised by event 'aps_instance_update'.  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 182  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 181  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 180  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 179  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 178  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 177  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 176  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 175  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 174  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 173  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 172  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 171  
    2016-03-21 00:58     mail.example.com     Debug     Starting APS install  
    2016-03-21 00:58     mail.example.com     Debug     Calling function 'install' from plugin 'aps_plugin' raised by event 'aps_instance_insert'.  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 170  
    2016-03-21 00:58     mail.example.com     Debug     GRANT ALL ON c1aps4.* TO 'c1aps4'@'localhost' IDENTIFIED BY PASSWORD '*2B9E6504A6891A1CDF7358E063EFA4B440BB591D'; success? yes  
    2016-03-21 00:58     mail.example.com     Debug     GRANT for user c1aps4 at host localhost  
    2016-03-21 00:58     mail.example.com     Debug     Created MySQL database: c1aps4  
    2016-03-21 00:58     mail.example.com     Debug     Calling function 'db_insert' from plugin 'mysql_clientdb_plugin' raised by event 'database_insert'.  
    2016-03-21 00:58     mail.example.com     Debug     Processed datalog_id 169
    ...........
    and AeralChat for example:

    Code:
    2016-03-21 00:54     mail.example.com     Debug     Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:54     mail.example.com     Debug     Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:53     mail.example.com     Debug     Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:53     mail.example.com     Debug     Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:52     mail.example.com     Debug     Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:52     mail.example.com     Debug     Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:51     mail.example.com     Debug     Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock  
    2016-03-21 00:51     mail.example.com     Debug     Processed datalog_id 151  
    2016-03-21 00:51     mail.example.com     Warning     Unable to execute SQL statement (
    CREATE TABLE ae_la_plage (
      id int(10) unsigned NOT NULL default '0',
      msg text NOT NULL,
      msg_timestamp int(14) default NULL,
      msg_time time NOT NULL default '00:00:00',
      msg_color varchar(6) NOT NULL default '',
      msg_odd int(1) NOT NULL default '0',
      userinfo varchar(12) NOT NULL default '',
      msg_id int(11) NOT NULL auto_increment,
      PRIMARY KEY  (msg_id),
      KEY msg_id (msg_id)
    ) TYPE=MyISAM COMMENT='Frankis spot !'): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE=MyISAM COMMENT='Frankis spot !'' at line 12  
    2016-03-21 00:51     mail.example.com     Debug     Running installHandler
    What can be the problem again?
    Thx
     
  2. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    You don't need suphp, it was meant to enable mod_php like behaviour with setting the user/group to the web owner, but it really is obsolete. Better use PHP-FPM.
    And the issues with the selected applications... well, the packages are old and would need an update

    Code:
    PHP Warning: Missing argument 1 for PasswordHash::PasswordHash(), called in /var/www/clients/client1/web1/web/van/install_scripts/configure on line 33 and defined in /var/www/clients/client1/web1/web/van/install_scripts/PasswordHash.php on line 33 
    Looks like there has been an API change and the script did miss that.

    And the SQL which can't be executed is because of too new database server ( from the script point of view ) since it's ENGINE=MyISAM and not TYPE=MyISAM.
     
  3. easyyu

    easyyu New Member

    Thx for suggestion..
    As I understand correctly I will need to download those apps and upload it to every clients manulay?
    You said:
    You meant to build sites in PHP-FPM mode and not in default Fast-CGI ?
     
  4. easyyu

    easyyu New Member

    Interesting..
    I try new clean install without part 11 of tutorial and now I have on all app plugings this error:
    Code:
    2016-03-21 06:36     mail.example.com     Debug     There is already a lockfile set. Waiting another 10 seconds...    
    2016-03-21 06:35     mail.example.com     Debug     Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock    
    2016-03-21 06:34     mail.example.com     Debug     Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock    
    2016-03-21 06:34     mail.example.com     Debug     Processed datalog_id 176    
    2016-03-21 06:34     mail.example.com     Warning     Notice: File could not be loaded: /var/www/clients/client1/web1/web/sq/install_scripts/configure    
    2016-03-21 06:34     mail.example.com     Debug     Running installHandler    
    2016-03-21 06:34     mail.example.com     Debug     Starting APS install    
    2016-03-21 06:34     mail.example.com     Debug     Calling function 'install' from plugin 'aps_plugin' raised by event 'aps_instance_update'.    
    2016-03-21 06:34     mail.example.com     Debug     Processed datalog_id 175    
    2016-03-21 06:34     mail.example.com     Debug     Processed datalog_id 174    
    2016-03-21 06:34     mail.example.com     Debug     Processed datalog_id 173    
    2016-03-21 06:34     mail.example.com     Debug     Processed datalog_id 172
    What cause this?
     
  5. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    Fast-CGI is actually fcgi which is imho not a very reliable solution, both provide correct user/group ownership behaviour.
    I don't know why that file is missing, really.
     
  6. easyyu

    easyyu New Member

  7. till

    till Super Moderator Staff Member ISPConfig Developer

    APS installer works perfectly fine here, I tested it with an exact copy of this tutorial: https://www.howtoforge.com/tutorial...n-8-jessie-apache-bind-dovecot-ispconfig-3

    Do not mix different tutorials! When you add e.g. https://www.howtoforge.com/tutorial/install-wordpress-nginx-mariadb-hhvm-debian-8/ which is an incompatble setup then it is likely to fail.

    If you want a completely working server where you can use all functions in ispconfig, then just use the perfect server setup and dont mix it with other tutorials.
     
    easyyu likes this.
  8. easyyu

    easyyu New Member

    Yes..now I know that, after 2 days of installing one by one packages.
     

Share This Page