Im assuming a php misconfiguration, but have been unable to fix. Error below
Note. This was run on a copy of SuiteCRM.
Install log as follows.
“”"
suitecrm:app:upgrade [-t|–target-version TARGET-VERSION]
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm#
root@VM-Mint:/var/www/html/suitecrm# ./bin/console suitecrm:app:upgrade -t SuiteCRM-8.6.1
PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134
PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144
PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 131
PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 141
SuiteCRM Upgrade
Running: backup-original-modules
step: backup-original-modules | status: done
Successfully backed up files
Running: check-package
step: check-package | status: done
Package found in path
Running: extract-package
17:31:49 CRITICAL [console] Error thrown while running command “suitecrm:app:upgrade -t ‘SuiteCRM-8.6.1’”. Message: “Class “ZipArchive” not found” [“exception” => Error { …},“command” => “suitecrm:app:upgrade -t ‘SuiteCRM-8.6.1’”,“message” => “Class “ZipArchive” not found”]
In PackageHandler.php line 67:
Attempted to load class “ZipArchive” from the global namespace.
Did you forget a “use” statement?
suitecrm:app:upgrade [-t|–target-version TARGET-VERSION]
root@VM-Mint:/var/www/html/suitecrm#
“”"
Pointers would be much appreciated…