Up through version 10.1.1, the simple method—running `php command.php upgrade` - worked for me on three servers.
I had a problem where I couldn't upgrade my Espocrm 10.1.1 to 10.1.4.
The old version (10.1.1) kept reappearing whenever I cleared the cache and pressed CTRL+F5.
Maybe this will help others; it worked for me this way:
Espocrm
Version: 10.1.1
Configuration Server:
In the commands, simply replace "Username" with the correct username - that is, the username associated with the domain (Espocrm).
Command-1
Command-2
Command-3
Command-4
If errors occur, such as "PHP path is incorrect" or "PHP not found":
As an administrator, install PHP 8.5 (or another version) in Keyhelp.
It's possible that no additional PHP was installed in the /opt directory.
I'd be happy if a specialist had a better suggestion or could evaluate my suggestion.
I had a problem where I couldn't upgrade my Espocrm 10.1.1 to 10.1.4.
The old version (10.1.1) kept reappearing whenever I cleared the cache and pressed CTRL+F5.
Maybe this will help others; it worked for me this way:
Espocrm
Version: 10.1.1
Configuration Server:
- Operating System: Debian 13.7 (64-bit)
- Keyhelp Control Panel: 26.2 (Build 3756)
- PHP: 8.4.28
- Database Server: MariaDB 11.8.6
- Log in as root
- Navigate to the relevant Espocrm root directory
- Execute Command 1
- Run Command 2 until there are no more upgrades available. Then run Commands 3 through 4.
- In espocrm (UI), press CTRL-5
In the commands, simply replace "Username" with the correct username - that is, the username associated with the domain (Espocrm).
Command-1
Code:
chown -R Username:Username .
Code:
su -s /bin/bash Username -c "/opt/keyhelp/php/8.5/bin/php -d memory_limit=512M -d opcache.enable_cli=0 command.php upgrade -y"
Code:
su -s /bin/bash Username -c "/opt/keyhelp/php/8.5/bin/php clear_cache.php && /opt/keyhelp/php/8.5/bin/php rebuild.php"
Code:
systemctl restart keyhelp-php85-fpm
If errors occur, such as "PHP path is incorrect" or "PHP not found":
As an administrator, install PHP 8.5 (or another version) in Keyhelp.
It's possible that no additional PHP was installed in the /opt directory.
I'd be happy if a specialist had a better suggestion or could evaluate my suggestion.

Comment