Problems with migrating from docker to host

Hi,
I installed xwiki using apt (Debian server) and transferred the data to it using this tutorial (Installation using Debian (.DEB) packages (XWiki.org)).
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.
image