Umbraco 丢失管理节点 [英] Umbraco losing admin nodes

查看:20
本文介绍了Umbraco 丢失管理节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

发布到远程服务器后,远程服务器上的 Umbraco 管理部分未显示任何节点.页面和图像以及所有内容都可以正常使用,但在 Umbraco 管理部分,每个部分的顶级节点下方没有任何内容,我无法右键单击并选择重新发布整个站点".

After a publish up to a remote server the Umbraco admin section on the remote server is not showing any nodes. The pages and images and everything serve correctly, but in the Umbraco admin section there is nothing below the top level nodes in each section and I can't right click and choose 'republish entire site'.

我已将我的本地主机版本连接到同一个数据库,在那里我可以看到节点结构(但重新发布没有任何区别)并且我可以在最新推送之前看到远程服务器上的节点结构,其中不包含任何 .配置更改.

I've connected my localhost version to the same database and there I can see the node structures (but republishing made no difference) and I could see the node structures on the remote server before the latest push which did not include any .config changes.

有人有重新创建节点结构的脚本吗?

Does anyone have a script that will re-create the node structure?

编辑

我在 Umbraco 网站上看到了许多链接,例如无法将内容发布到 umbraco.config,但都没有帮助 - 包括一些权限建议,例如 @Niks.

I've seen a number of links on the Umbraco site like Unable to publish content into umbraco.config but none of it helped - including some permissions advice like @Niks.

我确实有一个解决方法,即停止并重新启动服务器 - 这会重新填充节点而没有任何副作用 - 但显然这在实时环境中是不合适的.

I do have a workaround which is to stop and restart the server - which re-populated the nodes without any side-effects - but obviously this is inappropriate in a live environment.

推荐答案

我在表现为缓存问题之前已经看到过这种情况.首先,您应该让 Umbraco 刷新其节点缓存.要做到这一点,请点击 URL -

I've seen this before manifesting as a caching problem. Firstly you should make Umbraco refresh its node cache. To do this hit the URL -

http://example.com/umbraco/dialogs/republish.aspx?xml=true

用您自己的主机替换 example.com.接下来,回收 Umbraco 服务器上的 App Pool.最后,清除浏览器本地缓存并重新启动.

replacing example.com with your own host. Next, recycle the App Pool on the Umbraco server. Finally, clear your browsers local cache and restart it.

首先,您也可以通过完全停止您在 IIS 中部署的 Umbraco 站点、复制文件然后重新启动来避免这种情况发生.

You may also be able to avoid this happening in the first place by completely stopping the Umbraco site you are deploying in IIS, copying up your files and then restarting.

这篇关于Umbraco 丢失管理节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆