Whoops\Exception\ErrorException: Cannot redeclare class splitbrain\PHPArchive\FileInfo in file /var/www/html/admin/modules/sangomaconnect/vendor/splitbrain/php-archive/src/FileInfo.php on line 15
Stack trace:
Whoops\Exception\ErrorException->() /var/www/html/admin/modules/sangomaconnect/vendor/splitbrain/php-archive/src/FileInfo.php:15
PHP Fatal error: Cannot redeclare class splitbrain\PHPArchive\FileInfo in /var/www/html/admin/modules/sangomaconnect/vendor/splitbrain/php-archive/src/FileInfo.php on line 15
But of course, it’s not iotserver, it’s Sangoma Connect, which this customer is using (60 Seats!) - I have screwed around trying things, but I am not getting anywhere - I will open a ticket if no one else has seen/is seeing this and knows the fix?
Can you please share the output of fwconsole ma list.
Also try to upgrade framework, zulu and sangoma connect modules to edge and give a try.
Thank you.
Framework and Zulu were already the same version as edge, but I did update Connect:
fwconsole ma upgrade framework zulu sangomaconnect --edge
Edge repository temporarily enabled
No repos specified, using: [standard,extended] from last GUI settings
framework is the same as the online version, unable to upgrade
zulu is the same as the online version, unable to upgrade
Downloading module ‘sangomaconnect’
Processing sangomaconnect
Verifying local module download…Verified
Extracting…Done
Download completed in 2 seconds
Updating tables sangomaconnect_user_pre_setup, sangomaconnect_user_setup, sangomaconnect_user_device…Done
Checking module cloud activation status
SangomaConnect module is registered to the cloud for deployment 93943488
Initializing node dependencies
Found npm-cache v0.7.0
Running installation…
[npm-cache] [INFO] using /home/asterisk/.package_cache as cache directory
[npm-cache] [INFO] [composer] Dependency config file /var/www/html/admin/modules/sangomaconnect/node/composer.json does not exist. Skipping install
[npm-cache] [INFO] [npm] config file exists
[npm-cache] [INFO] [npm] cli exists
[npm-cache] [INFO] [npm] hash of /var/www/html/admin/modules/sangomaconnect/node/package.json: 622141d4d22c1671fbf091451059e455
[npm-cache] [INFO] [npm] cache exists
[npm-cache] [INFO] [npm] clearing installed dependencies at /var/www/html/admin/modules/sangomaconnect/node/node_modules
[npm-cache] [INFO] [npm] …cleared
[npm-cache] [INFO] [npm] retrieving dependencies from /home/asterisk/.package_cache/npm/6.4.1/622141d4d22c1671fbf091451059e455.tar.gz
[npm-cache] [INFO] [bower] Dependency config file /var/www/html/admin/modules/sangomaconnect/node/bower.json does not exist. Skipping install
[npm-cache] [INFO] [npm] done extracting
[npm-cache] [INFO] successfully installed all dependencies
Finished updating libraries!
Stopping SangomaConnect Server
Stopped SangomaConnect Server
Starting SangomaConnect server Process…Starting SangomaConnect Server…
Started SangomaConnect Server. PID is 111939
Restarting CloudConnect Agent
Started with PID 111939!
Generating CSS…Done
Module sangomaconnect version 15.0.25.4 successfully installed
Updating Hooks…Done
Chowning directories…Done
Updating Hooks…Done
Chowning directories…Done
Resetting temporarily repository state
Nope:
Whoops\Exception\ErrorException: Cannot redeclare class splitbrain\PHPArchive\FileInfo in file /var/www/html/admin/modules/sangomaconnect/vendor/splitbrain/php-archive/src/FileInfo.php on line 15
Stack trace:
Whoops\Exception\ErrorException->() /var/www/html/admin/modules/sangomaconnect/vendor/splitbrain/php-archive/src/FileInfo.php:15
PHP Fatal error: Cannot redeclare class splitbrain\PHPArchive\FileInfo in /var/www/html/admin/modules/sangomaconnect/vendor/splitbrain/php-archive/src/FileInfo.php on line 15
RESULT:
Adding custom directory to tar: customdir/etc/asterisk
Adding custom directory to tar: customdir/var/lib/asterisk/agi-bin
Adding custom directory to tar: customdir/var/www/html
PHP Fatal error: Cannot redeclare class splitbrain\PHPArchive\FileInfo in /var/www/html/admin/modules/sangomaconnect/vendor/splitbrain/php-archive/src/FileInfo.php on line 15
Whoops\Exception\ErrorException: Cannot redeclare class splitbrain\PHPArchive\FileInfo in file /var/www/html/admin/modules/sangomaconnect/vendor/splitbrain/php-archive/src/FileInfo.php on line 15
Stack trace: