Posts by Athar
-
-
-
With the PhpSwitcher plugin maybe ?
-
If the log is empty, you probably looked the wrong one.
You maybe did look the error.log of the panel, and not the customer site.
-
We don't know anything about your server nor what you are trying to do, so answer will be short : Go check your server's logs.
-
Error - CrystalBall.exe not found.
-
Hey there,
Prior opening an issue in the bug tracker, would like to see if other peoples get this problem first.
To test this, your system must be up-to-date, running PHP Fcgi, having both LetsEncrypt and PHPSwitcher setup and running.
Issue : When going to https://PanelURL/admin/phpswitcher
If you want to look at a Static PHP Info file, you will get "An unexpected error occurred".
You'll also receive this email:
QuoteDear administrator,
An exception has been thrown in file
/var/www/imscp/gui/plugins/LetsEncrypt/LetsEncrypt.php at line 143:
==========================================================================
Call to a member function addPage() on null ==========================================================================
Backtrace:
__________
File: /var/www/imscp/gui/library/iMSCP/Events/Manager.php at line 66
Method: iMSCP_Plugin_LetsEncrypt::setupNavigation()
File: /var/www/imscp/gui/library/iMSCP/Events/Aggregator.php at line 120
Method: iMSCP_Events_Manager::dispatch()
File:
/var/www/imscp/gui/plugins/PhpSwitcher/frontend/shared/phpinfo-static.php
at line 16
Method: iMSCP_Events_Aggregator::dispatch()
File: /var/www/imscp/gui/public/plugins.php at line 82
Function: include()
Contextual information:
_______________________
Http User Agent:
Request Uri: /shared/phpswitcher?version_id=123456 Http Referer: https://PanelURL/admin/phpswitcher
Remote Addr: X
Server Addr: X
Note: You will not receive further emails for this exception in the next 24 hours.
Please do not reply to this email.
Somehow, it try to pass this to the LetsEncrypt plugin...
If I disable LetsEncrypt, the Static PHP Info file is working again.
Versions :
Debian 9.12 up-to-date
I–MSCP 1.5.3-2018120800
LetsEncrypt : 3.5.0
PHPSwitcher : 5.0.5
PHP Fcgi
If anyone can confirm (or not) this, I'll open a ticket in the bug tracker
-
Humm, I just checked on my setup and :
- I can read the mails without issue. I would guess this is due to some kind of permissions issues, check them
- I did not have the calendar, might be a plugin you installed ? in this case, maybe an update is required (and maybe some permissions to check just in case)
This is not the best place to troubleshoot those issues, we might continue in another thread or in private (and here is what I got when going to "About" section)For when you go in the "SPAM" section, this is probably due to having "sauserprefs" plugin with an outdated version.
Edit: I'm going to guess that you use this : RoundcubePlugins 2.0.2
It add some plugins to roundcube which are probably not compatible anymore (I guess, I don't use it), so get a list of the plugin you have, and you'll have to setup them manually, untill there is a "real big update" on all those tools and addons
Remember, any i-MSCP update/upgrade/reinstall will remove those manual changes. -
This is what I did so far for updating PhpMyAdmin :
Maybe some stuff could be improved or might be wrong, didn't checked everything yet.Code- /// First, backup the tools you wish to update somewhere safe
- cd /var/www/imscp/gui/public/tools/
- cp -R pma/ /home/user/backupFiles/pma.BCK/
- /// Then, cleanup all "old" files, download latest release, get the config back and apply correct user/group and permissions (based on what I saw for the CHMOD on files & folders).
- cd pma/
- rm -Rf *
- wget "https://files.phpmyadmin.net/phpMyAdmin/5.0.2/phpMyAdmin-5.0.2-all-languages.tar.gz"
- tar xzf phpMyAdmin-5.0.2-all-languages.tar.gz && rm phpMyAdmin-5.0.2-all-languages.tar.gz
- cp -R phpMyAdmin-5.0.2-all-languages/* . && rm -R phpMyAdmin-5.0.2-all-languages
- cp /home/user/backupFiles/pma.BCK/config.inc.php .
- chown -hR vu2000:vu2000 /var/www/imscp/gui/public/tools/pma
- find /var/www/imscp/gui/public/tools/pma -type d -exec chmod 550 {} \;
- find /var/www/imscp/gui/public/tools/pma -type f -exec chmod 440 {} \;
- /// Lastly, don't forget to restart this service, this will clear the local cache, else PMA will not work.
- service imscp_panel restart
Edit : For Roundcube, there seems to be an update script available with the source (./bin/installto.sh /var/www/imscp/gui/public/tools/webmail/).
I did update from the standard 1.2.5 to latest stable 1.4.3 without trouble (connection still OK, maybe the same trick about CHMOD to do through)
Here is what I did for Roundcube (remember to do backup first ! including Database)
Code- mkdir TempFolder
- cd TempFolder/
- wget "https://github.com/roundcube/roundcubemail/releases/download/1.4.3/roundcubemail-1.4.3-complete.tar.gz"
- tar xzf roundcubemail-1.4.3-complete.tar.gz && cd roundcubemail-1.4.3
- chown -hR vu2000:vu2000 .
- ./bin/installto.sh /var/www/imscp/gui/public/tools/webmail/
- ////////////////// If you use the Spamassassin plugin - update the "sauserpref" plugin too
- cd /var/www/imscp/gui/public/tools/webmail/plugins/
- cp -R sauserprefs/ sauserprefs.BCK/ && cd sauserprefs/ && rm -Rf *
- wget "https://github.com/johndoh/roundcube-sauserprefs/archive/1.18.1.tar.gz" && tar xzf 1.18.1.tar.gz && rm 1.18.1.tar.gz
- mv roundcube-sauserprefs-1.18.1/* . && rm -R roundcube-sauserprefs-1.18.1/
- cp /var/www/imscp/gui/public/tools/webmail/plugins/sauserprefs.BCK/config.inc.php .
- //////////////////
- chown -hR vu2000:vu2000 /var/www/imscp/gui/public/tools/webmail/
- find /var/www/imscp/gui/public/tools/webmail -type d -exec chmod 550 {} \;
- find /var/www/imscp/gui/public/tools/webmail -type f -exec chmod 440 {} \;
- service imscp_panel restart
-
Hey,
You should think about updating to latest release (2018120800) in the first place