Problems with migrating from docker to host

I installed xwiki using apt (Debian server) and transferred the data to it using this tutorial (Installation using Debian (.DEB) packages (
Unfortunately the images from the attachments did not transfer, which I solved by re-uploading them.
Unfortunately when I click on edit page I get a bunch of errors in the developer tools see image.
Xwiki is running under a reverse proxy and I rewrote xwiki.cfg to rewrite xwiki.home to localhost:8080 on my domain.