When I tried to update via the terminal it hung and failed. Backup was taking too long:
INFO - Database backup: 214 table(s) left...
INFO - === Step backupDb
INFO - Database backup: 214 table(s) left...
INFO - === Step backupDb
INFO - Database backup: 214 table(s) left...
INFO - === Step backupDb
Connection to acc-prestashop-xxxxxxx.prestashop.sh closed by remote host.
Connection to acc-prestashop-xxxxxx.prestashop.sh closed.
client_loop: send disconnect: Broken pipe
I realized the second time I tried that the previous backup had caused issues because I got another error
ssh -p 2289 [email protected]
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 6.6.73-zfs.2.2.7-165 x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
Expanded Security Maintenance for Infrastructure is not enabled.
39 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
22 additional security updates can be applied with ESM Infra.
Learn more about enabling ESM Infra service for Ubuntu 20.04 at
https://ubuntu.com/20-04
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
================================================================================
____ _ _
| _ \ _ __ ___ ___ | |_ __ _ ___ | |__ ___ _ __
| |_) | | '__| / _ \ / __| | __| / _` | / __| | '_ \ / _ \ | '_ \
| __/ | | | __/ \__ \ | |_ | (_| | \__ \ | | | | | (_) | | |_) |
|_| |_| \___| |___/ \__| \__,_| |___/ |_| |_| \___/ | .__/
|_|
Project: Site
Environment: Staging
Application: PrestaShop
Stack item: PrestaShop
Variation: ACC - S
================================================================================
cd build/
php cli-upgrade.php --dir=kanri --action=UpdateCheck
Could not open input file: cli-upgrade.php
cd modules/autoupgrade/
php cli-upgrade.php --dir=kanri --channel=minor
INFO - === Step upgradeNow
INFO - Starting upgrade...
INFO - Shop deactivated. Now downloading... (this can take a while)
INFO - === Step download
INFO - Download complete. Now extracting...
INFO - === Step unzip
INFO - File extraction complete. Now backing up files...
INFO - === Step backupFiles
INFO - All files saved. Now backing up database
INFO - === Step backupDb
WARNING - [INTERNAL] /root/build/modules/autoupgrade/classes/Task/Upgrade/BackupDb.php line 143 - bzopen(/root/build/kanri/autoupgrade/backup/V1.7.6.5_20250815-103347-473f0867/auto-backupdb_000001_V1.7.6.5_20250815-103347-473f0867.sql.bz2): failed to open stream: No such file or directory
ERROR - Unable to create backup database file /root/build/kanri/autoupgrade/backup/V1.7.6.5_20250815-103347-473f0867/auto-backupdb_000001_V1.7.6.5_20250815-103347-473f0867.sql.bz2.
INFO - Error during database backup.
Connection to acc-prestashop-xxxxxx.prestashop.sh closed by remote host.
Connection to acc-prestashop-xxxxxx.prestashop.sh closed.
So did a restore from production for staging again.
Did read about removing or emptying ps_guest , ps_connections and a few on
and also on turning of statistics. Looking into that.