Internal server error - mail/composer/autoload.php

Internal Server Error

The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

Logs :
{“reqId”:“ayfxyla7suRVdiypSWEe”,“level”:3,“time”:“2024-01-02T01:48:40+00:00”,“re moteAddr”:“”,“user”:“–”,“app”:“PHP”,“method”:“”,“url”:“–”,“message”:“require_o nce(/var/snap/nextcloud/39212/nextcloud/extra-apps/mail/composer/…/vendor/autoload.php): Failed to open stream: No such file or directory at /var/snap/nextcloud/39212/nextcloud/extra-apps/mail/composer/autoload.php#5”,“userAgent”:“–”,“version”:“27.1.1.0”,“data”:{“app”:“PHP”}}

More context if you’d like assistance would be appreciated.

What were you doing when this occurred?

Had you just installed the Mail app?

Had you just upgraded NC?

etc.

server was off for 1 month
turned on server - and this was there.

nextcloud was installed using snap

and mail widget was installed using gui.
not upgraded NC from a while. should i reinstall? ?