Six months back I installed SuiteCRM. I would like to perform the upgrade from 8.6.1 to 8.8. In the instructions it references the task ‘re-set permissions’. Ok. Which permissions? In the install doc I see Step 2.3 Set Permissions
cd to Suite install directory, for me /var/www/html/suitecrm
then run the permissions
Ignore the ‘Permission Denied’ line 115 on the ./bin/console suitecrm:app:upgrade -t SuiteCRM-8.8.0 section> I was testing w/o sudo
I also tried chmod +x on the SuiteCRM-8-8-0.zip file, it does not appear to need that> same error with/without setting it executable
I also tried renaming the file to SuiteCRM-8.8.0.zip
you do not need the .zip at the end, it dies with a ‘cannot find blahblah.zip.zip’
I am downloading the full zip file, is there an ‘upgrade only’ zip file somewhere?
superduper@crm20:/var/www/html/suitecrm/tmp/package/upgrade$ ls -l
total 0
superduper@crm20:/var/www/html/suitecrm/tmp/package/upgrade$ sudo wget https://suitecrm.com/download/165/suite88/565090/suitecrm-8-8-0.zip
DELETED TRNSFR INFO
Length: 106102131 (101M) [application/octet-stream]
Saving to: ‘suitecrm-8-8-0.zip’
suitecrm-8-8-0.zip 100%[===================>] 101.19M 7.07MB/s in 14s
2025-02-12 22:31:21 (7.06 MB/s) - ‘suitecrm-8-8-0.zip’ saved [106102131/106102131]
superduper@crm20:/var/www/html/suitecrm/tmp/package/upgrade$ ls -l
total 103616
-rw-r--r-- 1 root www-data 106102131 Jan 30 08:26 suitecrm-8-8-0.zip
superduper@crm20:/var/www/html/suitecrm/tmp/package/upgrade$ cd ../../..
superduper@crm20:/var/www/html/suitecrm$ ./bin/console suitecrm:app:upgrade -t SuiteCRM-8.8.0
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
In StreamHandler.php line 115:
The stream or file "/var/www/html/suitecrm/logs/prod/prod.log" could not be
opened in append mode: Failed to open stream: Permission denied
suitecrm:app:upgrade [-t|--target-version TARGET-VERSION]
superduper@crm20:/var/www/html/suitecrm$ sudo ./bin/console suitecrm:app:upgrade -t SuiteCRM-8.8.0
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: failed
Package not found in path: /var/www/html/suitecrm/tmp/package/upgrade/SuiteCRM-8.8.0.zip
superduper@crm20:/var/www/html/suitecrm$
Here’s a slightly cleaner version without all my futzing around
superduper@crm20:~$ cd /var/www/html/suitecrm/tmp/package/upgrade/
superduper@crm20:/var/www/html/suitecrm/tmp/package/upgrade$ ls
SuiteCRM-8.8.0-backup suitecrm-8-8-0.zip
superduper@crm20:/var/www/html/suitecrm/tmp/package/upgrade$ ls -l
total 103620
drwxr-sr-x 3 root www-data 4096 Feb 12 22:32 SuiteCRM-8.8.0-backup
-rw-r--r-- 1 root www-data 106102131 Jan 30 08:26 suitecrm-8-8-0.zip
superduper@crm20:/var/www/html/suitecrm/tmp/package/upgrade$ cd ../../..
superduper@crm20:/var/www/html/suitecrm$ sudo ./bin/console suitecrm:app:upgrade -t SuiteCRM-8.8.0
[sudo] password for superduper:
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: failed
Package not found in path: /var/www/html/suitecrm/tmp/package/upgrade/SuiteCRM-8.8.0.zip
superduper@crm20:/var/www/html/suitecrm$