Nextcloud Box new image - Connect, waiting for PHP

A misfortune happened to my Nextcloud box (snap, core version)
I flashed a new image. I can connect to this image with ssh (Putty).
I cannot connect with a browser.
When trying to check the trusted domains with this command
sudo nextcloud.occ config:system:get trusted_domains
I get this message
"Waiting for PHP…" and there the system rests.
Any Help/Ideas?