error code: cut: the delimiter must be a single character
After try with some ' ' fix, below problems are facing.
HTTPDUSER=$(ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d ' ' -f1) && sudo chown -R "$HTTPDUSER":"$HTTPDUSER" publisher/ && cd publisher && sudo -u www-data SYMFONY_ENV=prod composer install --no-dev --optimize-autoloader
Cannot create cache directory /home/telugram/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/telugram/.composer/cache/files/, or directory is not writable. Proceeding without cache
Loading composer repositories with package information
Installing dependencies from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation request for layershifter/tld-database 1.0.56 -> satisfiable by layershifter/tld-database[1.0.56].
layershifter/tld-database 1.0.56 requires ext-curl * -> the requested PHP extension curl is missing from your system.
Problem 2
Installation request for marc1706/fast-image-size v1.1.4 -> satisfiable by marc1706/fast-image-size[v1.1.4].
marc1706/fast-image-size v1.1.4 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 3
Installation request for php-amqplib/php-amqplib v2.7.2 -> satisfiable by php-amqplib/php-amqplib[v2.7.2].
php-amqplib/php-amqplib v2.7.2 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system.
Problem 4
Installation request for react/zmq dev-master -> satisfiable by react/zmq[dev-master].
react/zmq dev-master requires ext-zmq * -> the requested PHP extension zmq is missing from your system.
Problem 5
Installation request for sentry/sentry 1.8.4 -> satisfiable by sentry/sentry[1.8.4].
sentry/sentry 1.8.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
Problem 6
Installation request for symfony/symfony v3.4.6 -> satisfiable by symfony/symfony[v3.4.6].
symfony/symfony v3.4.6 requires ext-xml * -> the requested PHP extension xml is missing from your system.
Problem 7
symfony/symfony v3.4.6 requires ext-xml * -> the requested PHP extension xml is missing from your system.
Install Superdesk Publisher source code dependencies:
HTTPDUSER=$(ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1) && sudo chown -R "$HTTPDUSER":"$HTTPDUSER" publisher/ && cd publisher && sudo -u www-data SYMFONY_ENV=prod composer install --no-dev --optimize-autoloader
error code: cut: the delimiter must be a single character
After try with some ' ' fix, below problems are facing.
HTTPDUSER=$(ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d ' ' -f1) && sudo chown -R "$HTTPDUSER":"$HTTPDUSER" publisher/ && cd publisher && sudo -u www-data SYMFONY_ENV=prod composer install --no-dev --optimize-autoloader Cannot create cache directory /home/telugram/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache Cannot create cache directory /home/telugram/.composer/cache/files/, or directory is not writable. Proceeding without cache Loading composer repositories with package information Installing dependencies from lock file Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation request for willdurand/hateoas-bundle 1.4.0 -> satisfiable by willdurand/hateoas-bundle[1.4.0].
To enable extensions, verify that they are enabled in your .ini files:
php --ini
inside terminal to see which files are used by PHP in CLI mode.