There is no error displayed. log only show this.... Ideas? the package directory is owned by ispconfig user... Mon Feb 27 14:00:06 EST 2017 W: Failed to fetch http://parsoid.wmflabs.org:8080/deb/dists/wmf-production/InRelease Mon Feb 27 14:00:06 EST 2017 Mon Feb 27 14:00:06 EST 2017 W: Failed to fetch http://parsoid.wmflabs.org:8080/deb/dists/wmf-production/Release.gpg Could not resolve 'parsoid.wmflabs.org' Mon Feb 27 14:00:06 EST 2017 Mon Feb 27 14:00:06 EST 2017 W: Some index files failed to download. They have been ignored, or old ones used instead. Mon Feb 27 14:01:01 EST 2017
Where and how exactly did you install MediaWiki? The user with the name "ispconfig"? Or the web user like web5 of the website?
root@web2:/usr/local/bin# ls -lart /usr/local/ispconfig/server/aps_packages/ total 184272 -rwxrwx--- 1 ispconfig ispconfig 11591956 Oct 29 2013 WordPress-3.6.1-5.app.zip -rwxrwx--- 1 ispconfig ispconfig 11753756 May 17 2014 WordPress-3.9.1-23.app.zip -rwxrwx--- 1 ispconfig ispconfig 16346578 Feb 17 2015 WordPress-4.1-36.app.zip -rwxrwx--- 1 ispconfig ispconfig 19021439 Mar 31 2015 WordPress-4.1.1-40.app.zip -rwxrwx--- 1 ispconfig ispconfig 4081555 May 28 2015 Drupal-7.33-38.app.zip -rwxrwx--- 1 ispconfig ispconfig 27196 Aug 27 2015 formmail-1.92-9.app.zip -rwxrwx--- 1 ispconfig ispconfig 13471509 Oct 14 2015 dokuwiki-20121013-8.app.zip -rwxrwx--- 1 ispconfig ispconfig 39050089 Oct 14 2015 tikiwiki-10.2-2.app.zip -rwxrwx--- 1 ispconfig ispconfig 1202830 Oct 14 2015 PukiWiki-1.4.7-6.app.zip -rwxrwx--- 1 ispconfig ispconfig 5942238 Oct 28 2015 phpWiki-1.4.0rc1-15.app.zip -rwxrwx--- 1 ispconfig ispconfig 0 Oct 28 2015 ScrewTurnWiki-2.0.15-10.app.zip -rwxrwx--- 1 ispconfig ispconfig 26296419 Aug 9 2016 mediawiki-1.22.2-28.app.zip drwxr-x--- 13 root root 4096 Oct 17 07:55 .. -rwxrwx--- 1 ispconfig ispconfig 45 Oct 28 09:09 empty.dir -rw-r--r-- 1 ispconfig ispconfig 19937560 Jan 27 18:15 WordPress-4.7.1-237.app.zip drwxrwx--- 2 ispconfig ispconfig 4096 Feb 22 09:18 . -rw-r--r-- 1 ispconfig ispconfig 19937738 Feb 22 09:18 WordPress-4.7.2-238.app.zip
Ok, so you used the aps installer. This directory is just a cache directory, so the ownership of the downloaded files is always the ispconfig user there. It is possible that not all available APS packages install correctly, they are from apscatalog.com. In case that a package does not work then you should install the application manually by using the instructions from the vendor site.
Actually after checking with other packages and other domains nothing works at all with respect to the package installer.... I cannot find any logs that contain any errors or info regarding why its not working... any idea where I would look or anyway to enable a debug of sorts? I have used it in the past many times and it worked ok.. I have many packages installed already../. Thanks
ispcron log only has regular stuff in it.... Tue Feb 28 08:00:01 EST 2017 Tue Feb 28 08:00:01 EST 2017 finished. Tue Feb 28 08:00:01 EST 2017 /usr/bin/fail2ban-client Tue Feb 28 08:00:02 EST 2017 /sbin/iptables Tue Feb 28 08:00:02 EST 2017 /sbin/ip6tables
BTW I noticed that not all files and dirs are owned by the user ispconfig, should everything under /usr/local/ispconfig be owned by ispconfig user? IE; root@web2:/usr/local/ispconfig# ls -la total 20 drwxr-xr-x 5 root root 4096 Sep 12 2014 . drwxr-xr-x 23 root root 4096 Feb 2 07:47 .. drwxr-x--- 9 ispconfig ispconfig 4096 Oct 17 07:55 interface drwxr-x--- 3 root ispconfig 4096 Aug 26 2016 security drwxr-x--- 13 root root 4096 Oct 17 07:55 server
The folders have different owners, the permissions on your ls output are ok. APS files dom't write a log when they install themself. But you can use the ispconfig debug mode to see if you get any errors when you install a aps package: https://www.faqforge.com/linux/debugging-ispconfig-3-server-actions-in-case-of-a-failure/
so i followed the instructions and first run, had this output after i enabled debug; 28.02.2017-08:26 - DEBUG - Unable to register function 'domain_dkim_delete' from plugin 'mail_plugin_dkim' for event 'mail_domain_delete' 28.02.2017-08:26 - DEBUG - Unable to register function 'domain_dkim_insert' from plugin 'mail_plugin_dkim' for event 'mail_domain_insert' 28.02.2017-08:26 - DEBUG - Unable to register function 'domain_dkim_update' from plugin 'mail_plugin_dkim' for event 'mail_domain_update' 28.02.2017-08:26 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'. 28.02.2017-08:26 - DEBUG - Found 2 changes, starting update process. 28.02.2017-08:26 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'. 28.02.2017-08:26 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'. 28.02.2017-08:26 - DEBUG - Network configuration disabled in server settings. 28.02.2017-08:26 - DEBUG - Processed datalog_id 175228 28.02.2017-08:26 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'. 28.02.2017-08:26 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'. 28.02.2017-08:26 - DEBUG - Network configuration disabled in server settings. 28.02.2017-08:26 - DEBUG - Processed datalog_id 175229 28.02.2017-08:26 - DEBUG - Calling function 'restartHttpd' from module 'web_module'. 28.02.2017-08:26 - DEBUG - Restarting httpd: service apache2 restart 28.02.2017-08:26 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock finished. Second time which is after i added a package, was this, pretty much nothing.... root@web2:/usr/local/ispconfig# /usr/local/ispconfig/server/server.sh 28.02.2017-08:27 - DEBUG - Unable to register function 'domain_dkim_delete' from plugin 'mail_plugin_dkim' for event 'mail_domain_delete' 28.02.2017-08:27 - DEBUG - Unable to register function 'domain_dkim_insert' from plugin 'mail_plugin_dkim' for event 'mail_domain_insert' 28.02.2017-08:27 - DEBUG - Unable to register function 'domain_dkim_update' from plugin 'mail_plugin_dkim' for event 'mail_domain_update' 28.02.2017-08:27 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'. 28.02.2017-08:27 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock finished. it's like clicking the "install" after filling out domain info, simply does nothing... like not even put into a queue for running ...
/var/log/ispconfig/mydomain/access.log shows this when i click the install button, incase it helps... 192.190.0.4 - - [28/Feb/2017:08:41:15 -0500] "POST /sites/aps_install_package.php?id=397 HTTP/1.1" 302 3561 "https://web2.dido.ca:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36" 192.190.0.4 - - [28/Feb/2017:08:41:15 -0500] "GET /sites/aps_installedpackages_list.php HTTP/1.1" 200 2171 "https://web2.dido.ca:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
I tried another domain and it worked... there is no logic to this oddness. I upgraded all serves to latest version. BTW one thing that very annoying is when i upgrade the web server and i choose no to reconfigure service, it removes the good ssl cert and puts the default ispconfig ones there...
Then you must have installed your good SSL certs in the wrong way. The ispconfig.vhost file may never be edited manually, if you would do that, then your setup must break on update! To install a custom SSL cert for ISPConfig, replace the SSL certs in the folder /usr/local/ispconfig/interface/ssl/ with your certs, that's all.
Do not know if ist helps. Installed mediawiki on my internal ispconfig test webserver this morning on debian latest patches via "apt-get install mediawiki" created a new webserver vi ispconfig. Tried to move mediawiki to there by moving the index.php to .../web and deleting the defaut index.php there does not work. but starting with http://hostname.domain.tld/mediawiki works fine. That works for me for the moment. Move it under a ISPConfig generated server, I will try that later when I have more time, will post it here Rainer