Umbraco server error on second node when invoking Umbraco.Media
I have an Umbraco site running 7.2.1 on 2 load balanced nodes sharing a file system on another server. Everything works well on my local machine and the first node. The second node, which should be identical to the first, has an issue whenever a view is invoking Umbraco.Media. The error points to the line with the Umbraco.Media call and says it's an IOException: An unexpected error occurred. This isn't terribly verbose and I'm not getting much out of the stack trace (included below).
Do anyone have any ideas or suggestiong for how to debug. Again, this only happens on the second server. All other pages (and the backoffice) work fine on this server except any pages with views that call Umbraco.Media.
var imageUrl = Umbraco.Media(il.GetValue<int>("image")).Url;
One more issue comes to mind: searching content nodes in the backoffice is also broken on the second server node. Errors popup when typing in the search box that say "Failed to retrieve entity data for query". Checking the logs and I don't see any mention of this error.
I am aware of the load balancing guide, but haven't made any updates to the server nor Umbraco since I don't have full control over my servers. I showed the guide to one of our server administrators and he mentioned that majority of the document didn't apply to use since we're not on a tradition load balanced setup (ie, a software load balancer with VMs and central file system, and not a hardware one). I think there's something we're missing and am going pour over that documentation for any details relevant to our setup.
I am hoping that errors I've detailed might ring a bell in someones else's head that could point towards proper server/Umbraco settings.
Umbraco server error on second node when invoking Umbraco.Media
I have an Umbraco site running 7.2.1 on 2 load balanced nodes sharing a file system on another server. Everything works well on my local machine and the first node. The second node, which should be identical to the first, has an issue whenever a view is invoking Umbraco.Media. The error points to the line with the Umbraco.Media call and says it's an IOException: An unexpected error occurred. This isn't terribly verbose and I'm not getting much out of the stack trace (included below).
Do anyone have any ideas or suggestiong for how to debug. Again, this only happens on the second server. All other pages (and the backoffice) work fine on this server except any pages with views that call Umbraco.Media.
var imageUrl = Umbraco.Media(il.GetValue<int>("image")).Url;
One more issue comes to mind: searching content nodes in the backoffice is also broken on the second server node. Errors popup when typing in the search box that say "Failed to retrieve entity data for query". Checking the logs and I don't see any mention of this error.
I am aware of the load balancing guide, but haven't made any updates to the server nor Umbraco since I don't have full control over my servers. I showed the guide to one of our server administrators and he mentioned that majority of the document didn't apply to use since we're not on a tradition load balanced setup (ie, a software load balancer with VMs and central file system, and not a hardware one). I think there's something we're missing and am going pour over that documentation for any details relevant to our setup.
I am hoping that errors I've detailed might ring a bell in someones else's head that could point towards proper server/Umbraco settings.
It would seem that this issue was fixed with a simple server restart : /
I'm going to leave this thread unsolved until tomorrow, when we've done some heavy testing on both nodes and can prove that they are reliable.
is working on a reply...