• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question UVDesk PHP Compose

hume1991

Basic Pleskian
Good day,

we would like to use UVDesk see URL: Online Helpdesk | Customer Support Ticket System.

Errors:

  • Loading composer repositories with package information
  • Warning from Packagist: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See Deprecating Packagist.org support for Composer 1.x
  • Updating dependencies
  • Your requirements could not be resolved to an installable set of packages.

  • Problem 1
  • - uvdesk/mailbox-component v1.0.0 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.1 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.10 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.11 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.12 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.13 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.2 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.3 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.4 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.5 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.6 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.7 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.8 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - uvdesk/mailbox-component v1.0.9 requires php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4].
  • - php-mime-mail-parser/php-mime-mail-parser 3.0.4 requires ext-mailparse * -> the requested PHP extension mailparse is missing from your system.
  • - php-mime-mail-parser/php-mime-mail-parser 3.0.3 requires ext-mailparse * -> the requested PHP extension mailparse is missing from your system.
  • - php-mime-mail-parser/php-mime-mail-parser 3.0.2 requires ext-mailparse * -> the requested PHP extension mailparse is missing from your system.
  • - php-mime-mail-parser/php-mime-mail-parser 3.0.1 requires ext-mailparse * -> the requested PHP extension mailparse is missing from your system.
  • - php-mime-mail-parser/php-mime-mail-parser 3.0.0 requires ext-mailparse * -> the requested PHP extension mailparse is missing from your system.
  • - Installation request for uvdesk/mailbox-component ^1.0 -> satisfiable by uvdesk/mailbox-component[v1.0.0, v1.0.1, v1.0.10, v1.0.11, v1.0.12, v1.0.13, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].

  • To enable extensions, verify that they are enabled in your .ini files:
  • - /opt/plesk/php/7.4/etc/php.ini
  • - /opt/plesk/php/7.4/etc/php.d/00-ioncube-loader.ini
  • - /opt/plesk/php/7.4/etc/php.d/10-opcache.ini
  • - /opt/plesk/php/7.4/etc/php.d/20-mysqlnd.ini
  • - /opt/plesk/php/7.4/etc/php.d/50-xdebug.ini
  • - /opt/plesk/php/7.4/etc/php.d/bcmath.ini
  • - /opt/plesk/php/7.4/etc/php.d/curl.ini
  • - /opt/plesk/php/7.4/etc/php.d/dba.ini
  • - /opt/plesk/php/7.4/etc/php.d/dom.ini
  • - /opt/plesk/php/7.4/etc/php.d/enchant.ini
  • - /opt/plesk/php/7.4/etc/php.d/fileinfo.ini
  • - /opt/plesk/php/7.4/etc/php.d/gd.ini
  • - /opt/plesk/php/7.4/etc/php.d/imagick.ini
  • - /opt/plesk/php/7.4/etc/php.d/imap.ini
  • - /opt/plesk/php/7.4/etc/php.d/intl.ini
  • - /opt/plesk/php/7.4/etc/php.d/json.ini
  • - /opt/plesk/php/7.4/etc/php.d/ldap.ini
  • - /opt/plesk/php/7.4/etc/php.d/mbstring.ini
  • - /opt/plesk/php/7.4/etc/php.d/mysqli.ini
  • - /opt/plesk/php/7.4/etc/php.d/odbc.ini
  • - /opt/plesk/php/7.4/etc/php.d/pdo.ini
  • - /opt/plesk/php/7.4/etc/php.d/pdo_mysql.ini
  • - /opt/plesk/php/7.4/etc/php.d/pdo_odbc.ini
  • - /opt/plesk/php/7.4/etc/php.d/pdo_pgsql.ini
  • - /opt/plesk/php/7.4/etc/php.d/pdo_sqlite.ini
  • - /opt/plesk/php/7.4/etc/php.d/pgsql.ini
  • - /opt/plesk/php/7.4/etc/php.d/phar.ini
  • - /opt/plesk/php/7.4/etc/php.d/posix.ini
  • - /opt/plesk/php/7.4/etc/php.d/pspell.ini
  • - /opt/plesk/php/7.4/etc/php.d/redis.ini
  • - /opt/plesk/php/7.4/etc/php.d/snmp.ini
  • - /opt/plesk/php/7.4/etc/php.d/soap.ini
  • - /opt/plesk/php/7.4/etc/php.d/sodium.ini
  • - /opt/plesk/php/7.4/etc/php.d/sqlite3.ini
  • - /opt/plesk/php/7.4/etc/php.d/sysvmsg.ini
  • - /opt/plesk/php/7.4/etc/php.d/sysvsem.ini
  • - /opt/plesk/php/7.4/etc/php.d/sysvshm.ini
  • - /opt/plesk/php/7.4/etc/php.d/tidy.ini
  • - /opt/plesk/php/7.4/etc/php.d/xmlreader.ini
  • - /opt/plesk/php/7.4/etc/php.d/xmlrpc.ini
  • - /opt/plesk/php/7.4/etc/php.d/xmlwriter.ini
  • - /opt/plesk/php/7.4/etc/php.d/xsl.ini
  • - /opt/plesk/php/7.4/etc/php.d/zip.ini
  • You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
  • Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
 
I've done it, unfortunately I'm still getting error messages:

  • Loading composer repositories with package information
  • Updating dependencies
  • Your requirements could not be resolved to an installable set of packages.

  • Problem 1
  • - uvdesk/mailbox-component[v1.0.0, ..., v1.0.13] require php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, ..., 3.0.4].
  • - php-mime-mail-parser/php-mime-mail-parser[3.0.0, ..., 3.0.4] require ext-mailparse * -> it is missing from your system. Install or enable PHP's mailparse extension.
  • - Root composer.json requires uvdesk/mailbox-component ^1.0 -> satisfiable by uvdesk/mailbox-component[v1.0.0, ..., v1.0.13].

  • To enable extensions, verify that they are enabled in your .ini files:
  • - /opt/plesk/php/7.4/etc/php.ini
  • - /opt/plesk/php/7.4/etc/php.d/00-ioncube-loader.ini
  • - /opt/plesk/php/7.4/etc/php.d/10-opcache.ini
  • - /opt/plesk/php/7.4/etc/php.d/20-mysqlnd.ini
  • - /opt/plesk/php/7.4/etc/php.d/50-xdebug.ini
  • - /opt/plesk/php/7.4/etc/php.d/bcmath.ini
  • - /opt/plesk/php/7.4/etc/php.d/curl.ini
  • - /opt/plesk/php/7.4/etc/php.d/dba.ini
  • - /opt/plesk/php/7.4/etc/php.d/dom.ini
  • - /opt/plesk/php/7.4/etc/php.d/enchant.ini
  • - /opt/plesk/php/7.4/etc/php.d/fileinfo.ini
  • - /opt/plesk/php/7.4/etc/php.d/gd.ini
  • - /opt/plesk/php/7.4/etc/php.d/imagick.ini
  • - /opt/plesk/php/7.4/etc/php.d/imap.ini
  • - /opt/plesk/php/7.4/etc/php.d/intl.ini
  • - /opt/plesk/php/7.4/etc/php.d/json.ini
  • - /opt/plesk/php/7.4/etc/php.d/ldap.ini
  • - /opt/plesk/php/7.4/etc/php.d/mbstring.ini
  • - /opt/plesk/php/7.4/etc/php.d/mysqli.ini
  • - /opt/plesk/php/7.4/etc/php.d/odbc.ini
  • - /opt/plesk/php/7.4/etc/php.d/pdo.ini
  • - /opt/plesk/php/7.4/etc/php.d/pdo_mysql.ini
  • - /opt/plesk/php/7.4/etc/php.d/pdo_odbc.ini
  • - /opt/plesk/php/7.4/etc/php.d/pdo_pgsql.ini
  • - /opt/plesk/php/7.4/etc/php.d/pdo_sqlite.ini
  • - /opt/plesk/php/7.4/etc/php.d/pgsql.ini
  • - /opt/plesk/php/7.4/etc/php.d/phar.ini
  • - /opt/plesk/php/7.4/etc/php.d/posix.ini
  • - /opt/plesk/php/7.4/etc/php.d/pspell.ini
  • - /opt/plesk/php/7.4/etc/php.d/redis.ini
  • - /opt/plesk/php/7.4/etc/php.d/snmp.ini
  • - /opt/plesk/php/7.4/etc/php.d/soap.ini
  • - /opt/plesk/php/7.4/etc/php.d/sodium.ini
  • - /opt/plesk/php/7.4/etc/php.d/sqlite3.ini
  • - /opt/plesk/php/7.4/etc/php.d/sysvmsg.ini
  • - /opt/plesk/php/7.4/etc/php.d/sysvsem.ini
  • - /opt/plesk/php/7.4/etc/php.d/sysvshm.ini
  • - /opt/plesk/php/7.4/etc/php.d/tidy.ini
  • - /opt/plesk/php/7.4/etc/php.d/xmlreader.ini
  • - /opt/plesk/php/7.4/etc/php.d/xmlrpc.ini
  • - /opt/plesk/php/7.4/etc/php.d/xmlwriter.ini
  • - /opt/plesk/php/7.4/etc/php.d/xsl.ini
  • - /opt/plesk/php/7.4/etc/php.d/zip.ini
  • You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

  • Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
  • Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
 
Hi, I have the same issue:
I need run UVdesk on Plesk but Plesk PHP doesn't have the PHP mailparse included.

For install it we used the following commands:
  1. sudo apt-get install plesk-php74-dev
  2. /opt/plesk/php/7.4/bin/pecl install mailparse
  3. Then surfed on Plesk UI and looked to add in php.ini extension=mailparse.so line to enable the extension.
With this steps if I load UVdesk install wizard the wizard say mailparse.so is present so I can proceed.
The issue is with composer run in SSH that give the error mentioned here.

Some help to resolve this issue?
I tried to enable mailparse adding extension=mailparse.so also on /etc/php/7.4/cli/php.ini but doing this cause every 5 minute email warning about the cron I have to create ticket from new emails.

PHP Warning: PHP Startup: Unable to load dynamic library 'mailparse.so'
(tried: /usr/lib/php/20190902/mailparse.so (/usr/lib/php/20190902/mailparse.so: cannot open shared object file: No such file or directory)
/usr/lib/php/20190902/mailparse.so.so (/usr/lib/php/20190902/mailparse.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0


I was able to find the mailparse.so at /opt/plesk/php/7.4/lib/php/modules

20211125619f18a6da83b1.jpg
Can i download on my PC and copy on /usr/lib/php/20190902 where is missed?
20211125619f18dbcfb3f2.jpg
But copy the mailparse.so should be not enough if works because I will miss the relative ini file there:
20211125619f194de6b2d3.jpg
I don't know how to create the missed file there. They are sybolic links?

Inside the 20-mbstring.ini the content is:

; configuration for php mbstring module
; priority=20
extension=mbstring.so


Any idea on how I can fix?
 
If you have module file in /opt/plesk/php/7.4/lib/php/modules that means it is compiled for Plesk PHP 7.4 for customer's sites which location is /opt/plesk/php/7.4
Therefore you have to put mbstring.ini file in /opt/plesk/php/7.4/etc/php.d/ directory and with content like:

extension=mbstring.so

Note, that /usr/lib/php/20190902 is the location of the system PHP version from OS vendor which is not related to Plesk PHP version for customer's websites.
 
@IgorG thanks for the reply and the try but on /opt/plesk/php/7.4/etc/php.d the file mbstring.ini is already present with his content.
I suppose composer never look for mailparse.so using the php used by Plesk but maybe looks in /etc/php/7.4/ so maybe in the OS vendor?

For use UVdesk I need, I must use composer because without I will be unable to update and compile the software.

Maybe I need try to install mailparse.so for the OS vendor PHP?

Something like sudo apt install php7.4-mailparse ? ( How to install or uninstall php7.4-mailparse on Ubuntu 20.04 LTS (Focal Fossa)? )
Will this damage my Plesk server or I can try?
 
hanks for the reply and the try but on /opt/plesk/php/7.4/etc/php.d the file mbstring.ini is already present with his content.
Sorry, my mistake. I meant mailparse.ini with extension=mailparse.so content.
 
@IgorG thank you, done but still have the issue on composer:
composer update Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - uvdesk/mailbox-component[v1.0.0, ..., v1.0.13] require php-mime-mail-parser/php-mime-mail-parser ^3.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[3.0.0, ..., 3.0.4]. - uvdesk/mailbox-component v1.0.14 requires php-mime-mail-parser/php-mime-mail-parser ^7.0.0 -> satisfiable by php-mime-mail-parser/php-mime-mail-parser[7.0.0]. - php-mime-mail-parser/php-mime-mail-parser[3.0.0, ..., 3.0.4, 7.0.0] require ext-mailparse * -> it is missing from your system. Install or enable PHP's mailparse extension. - Root composer.json requires uvdesk/mailbox-component ^1.0 -> satisfiable by uvdesk/mailbox-component[v1.0.0, ..., v1.0.14]. To enable extensions, verify that they are enabled in your .ini files: - /etc/php/7.4/cli/php.ini - /etc/php/7.4/cli/conf.d/00-ioncube-loader-7.4.ini - /etc/php/7.4/cli/conf.d/10-mysqlnd.ini - /etc/php/7.4/cli/conf.d/10-opcache.ini - /etc/php/7.4/cli/conf.d/10-pdo.ini - /etc/php/7.4/cli/conf.d/15-xml.ini - /etc/php/7.4/cli/conf.d/20-calendar.ini - /etc/php/7.4/cli/conf.d/20-ctype.ini - /etc/php/7.4/cli/conf.d/20-curl.ini - /etc/php/7.4/cli/conf.d/20-dom.ini - /etc/php/7.4/cli/conf.d/20-exif.ini - /etc/php/7.4/cli/conf.d/20-ffi.ini - /etc/php/7.4/cli/conf.d/20-fileinfo.ini - /etc/php/7.4/cli/conf.d/20-ftp.ini - /etc/php/7.4/cli/conf.d/20-gd.ini - /etc/php/7.4/cli/conf.d/20-gettext.ini - /etc/php/7.4/cli/conf.d/20-iconv.ini - /etc/php/7.4/cli/conf.d/20-imap.ini - /etc/php/7.4/cli/conf.d/20-json.ini - /etc/php/7.4/cli/conf.d/20-mbstring.ini - /etc/php/7.4/cli/conf.d/20-mysqli.ini - /etc/php/7.4/cli/conf.d/20-pdo_mysql.ini - /etc/php/7.4/cli/conf.d/20-pdo_sqlite.ini - /etc/php/7.4/cli/conf.d/20-phar.ini - /etc/php/7.4/cli/conf.d/20-posix.ini - /etc/php/7.4/cli/conf.d/20-readline.ini - /etc/php/7.4/cli/conf.d/20-shmop.ini - /etc/php/7.4/cli/conf.d/20-simplexml.ini - /etc/php/7.4/cli/conf.d/20-sockets.ini - /etc/php/7.4/cli/conf.d/20-sqlite3.ini - /etc/php/7.4/cli/conf.d/20-sysvmsg.ini - /etc/php/7.4/cli/conf.d/20-sysvsem.ini - /etc/php/7.4/cli/conf.d/20-sysvshm.ini - /etc/php/7.4/cli/conf.d/20-tokenizer.ini - /etc/php/7.4/cli/conf.d/20-xmlreader.ini - /etc/php/7.4/cli/conf.d/20-xmlwriter.ini - /etc/php/7.4/cli/conf.d/20-xsl.ini - /etc/php/7.4/cli/conf.d/20-zip.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Can I maybe try to run sudo apt install php7.4-mailparse ?
( How to install or uninstall php7.4-mailparse on Ubuntu 20.04 LTS (Focal Fossa)? )

this will create issue to Plesk or not?
This command should install mailparse into Os vendor PHP I think.
 
I never installed composer, it was activated from Plesk but the composer in Plesk is outdated so I just run composer self-update
Seems I can use composer just using the composer followed by the command.

I should really try with /opt/plesk/php/7.4/bin/php /usr/lib/plesk-9.0/composer.phar followed by the command?
I'm on Ubuntu 20.4

Also plesk-9.0 present on the suggested command by the guide, should be replaced with my Plesk version 18.0.39?

Something like: /opt/plesk/php/7.4/bin/php /usr/lib/plesk-18.0.39/composer.phar ?
 
Great, better but I still get little bit error, if you can help me to resolve also this I will be done!
Look what happen:

/opt/plesk/php/7.4/bin/php /usr/lib/plesk-9.0/composer.phar update
PHP Warning: Module 'mailparse' already loaded in Unknown on line 0

I get this warning after start to update packages and than give some other errors:

Code:
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 255
!!  PHP Warning:  Module 'mailparse' already loaded in Unknown on line 0
!!  PHP Fatal error:  Uncaught Error: Class 'App\Kernel' not found in /var/www/vhosts/peopleinside.it/httpdocs/subdomains/helpdesk.peopleinside.it/uvdesknew/bin/console:40
!!  Stack trace:
!!  #0 {main}
!!    thrown in /var/www/vhosts/domain.ext/httpdocs/helpdesk.domain.ext/uvdesknew/bin/console on line 40
!!
Script @auto-scripts was called via post-update-cmd
 
Please show me output of commands:

# /opt/plesk/php/7.4/bin/php -v

and

# /opt/plesk/php/7.4/bin/php -m | grep mailparse
 
Thank you for your amazing help.

Code:
/opt/plesk/php/7.4/bin/php -v
PHP Warning:  Module 'mailparse' already loaded in Unknown on line 0
PHP 7.4.26 (cli) (built: Nov 18 2021 12:28:06) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.
    with Zend OPcache v7.4.26, Copyright (c), by Zend Technologies

and

Code:
/opt/plesk/php/7.4/bin/php -m | grep mailparse
PHP Warning:  Module 'mailparse' already loaded in Unknown on line 0
mailparse
 
Code:
grep -R mailparse /opt/plesk/php/7.4/etc/*
/opt/plesk/php/7.4/etc/php.d/mailparse.ini:extension=mailparse.so
/opt/plesk/php/7.4/etc/php.ini:extension=mailparse.so
 
All solved thank you!
Now all time I need use composer need use the long command /opt/plesk/php/7.4/bin/php /usr/lib/plesk-9.0/composer.phar,
no way to use just composer command?

In any case thank you so much!
 
Back
Top