We recently upgraded from V3.1.12 to V4.1.1. After the upgrade, preview layout no longer works. Everything else appears to be fine. I found a similar fixed problem here: [https://github.com/xibosignage/xibo/issues/3451](https://github.com/xibosignage/xibo/issues/3451)
. Is there a setting I missed after the upgrade?
The small preview just shows a black image:
Clicking the pop-out opens another page, which is blank
This is source from the preview page:
Preview for Layout 5672 <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="public-path" content="/xibo/"/>
<link rel="shortcut icon" href="/xibo/theme/default/img/favicon.ico" />
</head>
<body>
<script src="/xibo/dist/preview.bundle.min.js?v=4.1.1&rev=dcb61454210eb0d3ba883c053d0459113c1d79a0" nonce="d8e0c295"></script>
<script type="text/javascript" nonce="d8e0c295">
var previewTranslations = {};
// Translations we want always available
previewTranslations.actionControllerTitle = "Webhook\u0020Controller";
previewTranslations.navigateToLayout = "Navigate\u0020to\u0020layout\u0020with\u0020code\u0020\u005BlayoutTag\u005D\u003F";
previewTranslations.emptyRegionMessage = "Empty\u0020region\u0021";
previewTranslations.next = "Next\u0020Item";
previewTranslations.previous = "Previous\u0020Item";
previewTranslations.navWidget = "Navigate\u0020to\u0020Widget";
previewTranslations.navLayout = "Navigate\u0020to\u0020Layout";
previewTranslations.widgetId = "Widget\u0020ID";
previewTranslations.layoutCode = "Layout\u0020Code";
previewTranslations.target = "Target";
(function($){
$(document).ready(function(){
var xiboLayoutRenderer = new XiboLayoutRenderer([{"layoutId":5672}], {"getXlfUrl":"\/xibo\/layout\/xlf\/5672","getResourceUrl":"\/xibo\/playlist\/widget\/resource\/:regionId\/:id","libraryDownloadUrl":"\/xibo\/library\/download\/:id","layoutBackgroundDownloadUrl":"\/xibo\/layout\/background\/:id","loaderUrl":"\/xibo\/theme\/default\/img\/loader.gif","layoutPreviewUrl":"\/xibo\/layout\/preview\/[layoutCode]","inPreview":true});
xiboLayoutRenderer.init().then(function(xlr) {
xlr.playSchedules(xlr);
});
});
}(window.jQuery));
</script>
</body>
Any assistance would be appreciated.
Rob