Transferring database causes Internal Server Error

I transferred my .sql file, where nextcloud is installed as a snap. I used nextcloud.export. On my raspberry pi, I deleted the existing db, and then imported the new one using the documented mysql commands located here: https://docs.nextcloud.com/server/stable/admin_manual/maintenance/restore.html. It looks like the import was successful. But now when I access my new nextcloud instance, I see an Internal Server Error page. Here is what is in my log file:

{“reqId”:“Ueust1hegs3jDEMlWEg9”,“level”:2,“time”:“2022-04-27T17:39:56+00:00”,“remoteAddr”:“192.168.2.166”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/nextcloud/",“message”:“Could not detect any host in http:///nextcloud/data/htaccesstest.txt”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0”,“version”:""}
{“reqId”:“Ueust1hegs3jDEMlWEg9”,“level”:2,“time”:“2022-04-27T17:39:56+00:00”,“remoteAddr”:“192.168.2.166”,“user”:"–",“app”:“no app in context”,“method”:“GET”,“url”:"/nextcloud/",“message”:“Could not detect any host in https:///nextcloud/data/htaccesstest.txt”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0”,“version”:""}
{“reqId”:“4zIgm3gRSJDu0rnlzcsC”,“level”:2,“time”:“2022-04-27T17:40:37+00:00”,“remoteAddr”:“192.168.2.166”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/nextcloud/index.php",“message”:“Could not detect any host in http:///nextcloud/data/htaccesstest.txt”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0”,“version”:""}
{“reqId”:“4zIgm3gRSJDu0rnlzcsC”,“level”:2,“time”:“2022-04-27T17:40:37+00:00”,“remoteAddr”:“192.168.2.166”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/nextcloud/index.php",“message”:“Could not detect any host in https:///nextcloud/data/htaccesstest.txt”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0”,“version”:""}
{“reqId”:“srjrRkPLKWCGgq5JnOFM”,“level”:3,“time”:“2022-04-27T18:34:30+00:00”,“remoteAddr”:“192.168.2.166”,“user”:"",“app”:“index”,“method”:“GET”,“url”:"/nextcloud/index.php/apps/theming/img/core/filetypes/text.svg?v=0",“message”:“Could not create folder”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0”,“version”:“23.0.4.1”,“exception”:{“Exception”:“OCP\Files\NotPermittedException”,“Message”:“Could not create folder”,“Code”:0,“Trace”:[{“file”:"/var/www/nextcloud/lib/private/Files/AppData/AppData.php",“line”:156,“function”:“newFolder”,“class”:“OC\Files\Node\Folder”,“type”:"->"},{“file”:"/var/www/nextcloud/apps/theming/lib/ImageManager.php",“line”:156,“function”:“newFolder”,“class”:“OC\Files\AppData\AppData”,“type”:"->"},{“file”:"/var/www/nextcloud/apps/theming/lib/ImageManager.php",“line”:171,“function”:“getCacheFolder”,“class”:“OCA\Theming\ImageManager”,“type”:"->"},{“file”:"/var/www/nextcloud/apps/theming/lib/Controller/IconController.php",“line”:90,“function”:“getCachedImage”,“class”:“OCA\Theming\ImageManager”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:217,“function”:“getThemedIcon”,“class”:“OCA\Theming\Controller\IconController”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:126,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/AppFramework/App.php",“line”:157,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/var/www/nextcloud/lib/private/Route/Router.php",“line”:302,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::"},{“file”:"/var/www/nextcloud/lib/base.php",“line”:1008,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->"},{“file”:"/var/www/nextcloud/index.php",“line”:36,“function”:“handleRequest”,“class”:“OC”,“type”:"::"}],“File”:"/var/www/nextcloud/lib/private/Files/Node/Folder.php",“Line”:173,“CustomMessage”:"–"}}

Can anyone please assist?