Do you have any Listeners in /etc/imscp/listeners.d/ or /etc/imscp/listeners.d/hooks.d/?
Error at I-MSCP Update -> 1.2.9
-
- not i-MSCP related
- freedom
- Closed
- Thread is marked as Resolved.
-
-
No, only Readme files in these folders.
-
-
One other thing. Please have a look in /var/log/imscp/ especially /var/log/imscp/imscp-setup.log. Maybe there are some more hints to find the failure.
Good night.
-
Same error message as above.
Shell-Script- [Wed Aug 19 22:58:27 2015] [debug] iMSCP::Execute::getExitCode: Command exited with value: 0
- [Wed Aug 19 22:58:27 2015] [debug] iMSCP::Execute::execute: /usr/bin/dialog --colors --insecure --no-label No --backtitle 'i-MSCP - internet Multi Server Control Panel (1.2.9)' --cancel-label Back --help-label Help --title 'i-MSCP Setup Dialog' --ok-label Ok --yes-label Yes --exit-label Abort --msgbox '
- \Z1[ERROR]\Zn
- Error while performing step:
- Packages installation
- Error was:
- \Z1Package::Webmail::Roundcube::Installer::_updateDatabase: ERROR: SQLSTATE[HY000] [2002] Datei oder Verzeichnis nicht gefundenError 500: Error connecting to database: SQLSTATE[HY000] [2002] Datei oder Verzeichnis nicht gefunden
- iMSCP::EventManager::trigger: A listener registered on the afterFrontEndInstall event and triggered in Package::FrontEnd::install has failed.
- Listener code was: sub {
- package Package::Webmail;
- BEGIN {${^WARNING_BITS} = "TUUUUUUUUUUUU\025UUU\025"}
- use strict;
- $self->installListener;
- }
- \Zn
- Please have a look at http://i-mscp.net/forum if you need help.
- ' 21 78
- [Wed Aug 19 22:58:29 2015] [debug] iMSCP::Execute::getExitCode: Command exited with value: 0
- [Wed Aug 19 22:58:29 2015] [debug] iMSCP::Execute::execute: /usr/bin/dialog --colors --insecure --no-label No --backtitle 'i-MSCP - internet Multi Server Control Panel (1.2.9)' --cancel-label Back --help-label Help --title 'i-MSCP Setup Dialog' --ok-label Ok --yes-label Yes --exit-label Abort --msgbox '
- \Z1[ERROR]\Zn
- Error while performing step:
- Processing setup tasks
- Error was:
- \Z1Package::Webmail::Roundcube::Installer::_updateDatabase: ERROR: SQLSTATE[HY000] [2002] Datei oder Verzeichnis nicht gefundenError 500: Error connecting to database: SQLSTATE[HY000] [2002] Datei oder Verzeichnis nicht gefunden
- iMSCP::EventManager::trigger: A listener registered on the afterFrontEndInstall event and triggered in Package::FrontEnd::install has failed.
- Listener code was: sub {
- package Package::Webmail;
- BEGIN {${^WARNING_BITS} = "TUUUUUUUUUUUU\025UUU\025"}
- use strict;
- $self->installListener;
- }
- \Zn
- Please have a look at http://i-mscp.net/forum if you need help.
- ' 21 78
-
-
And in /etc/imscp/hooks.d/?
If you want I can have a look on your server...
-
Folder don't exist.
And yes, this would be very helpful, thanks.
I will send you an conversation, to work on our server. -
-
The problem here is, that some packages are from testing repository. See a part of his sources.list:
As I know i-MSCP is not supporting Debian 9, so you need to downgrade your packages back to jessie repository, if possible. -
Helllo;
The problem here is not related to a debian package. Support for Debian testing has been added but not fully tested yet. The problem comes from the roundcube package installer. More exactly, it comes from an event listener from the Roundcube package that is triggered by the FrontEnd package. As I see, the roundcube package cannot update the imscp_roundcube database.
Could you add my SSH key (see in my signature) on your server and give me your IP address? Then I could investigate and fix your server
-
-
-
The problem comes from the fact that you compiled additional PHP versions in the wrong way, and that now, the default php version in use (according the search PATH) is:
The problem here is that when using localhost, the MySQLD unix socket file /var/run/mysqld/mysqld.sock is not found by PHP. This is due to the fact that you used the wrong compilation (configuration) options, or because you didn't have specified that path.For instance, when I run the Roundcube db update script manually by using the system PHP version, I get not error:
But when I run the same script using your own PHP version (default PHP version according the search PATH), I get:Code- root@srv1 /usr/local/src/imscp-1.2.9 # php /var/www/imscp/gui/public/tools/webmail/bin/updatedb.sh --version=0.9.5 --dir=/var/www/imscp/gui/public/tools/webmail/SQL --package=roundcube
- ERROR: SQLSTATE[HY000] [2002] Datei oder Verzeichnis nicht gefundenError 500: Error connecting to database: SQLSTATE[HY000] [2002] Datei oder Verzeichnis nicht gefunden
- root@srv1 /usr/local/src/imscp-1.2.9 #
Well, to fix your server, you must:- Remove the self-compiled PHP versions (recompile them properly) or even better, use the PhpSwitcher plugin.
- Rerun the i-MSCP installer. -