Unable to upgrade from 25 to 26 : ocsms

Nextcloud version (eg, 20.0.5): 25.0.6~ynh1
Operating system and version (eg, Ubuntu 20.04): Debian 10 (Linux 5.10.0-19-cloud-amd64 x86_64)
Apache or nginx version (eg, Apache 2.4.25): 1.18.0-6.1+deb11u3
PHP version (eg, 7.4): 7.4+76

The issue you are facing:
Unable to upgrade from 25 to 26

The full log could be read here

2023-07-02 13:44:45,929: DEBUG - An unhandled exception has been thrown:
2023-07-02 13:44:45,930: DEBUG - Error: Class "OCP\AppFramework\Db\Mapper" not found in /var/www/nextcloud/apps/ocsms/db/conversationstatemapper.php:21

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it: unknown

The app ocsms is not shown as installed so unable to remove it.


Disable “phone sync” do the job

unable to re-enable it