更新Confluence通用插件导致无法创建空间

2020-10-16  本文已影响0人  含辞未吐气若幽兰

安装Confluence服务器时,正常已经破解了。但市场上的插件没法破解(license都是通过插件:atlassian-universal-plugin-manager-plugin-x.x.x.jar 来管理),安装后插件版本是:atlassian-universal-plugin-manager-plugin-3.0.jar,后来通过替换了插件:atlassian-universal-plugin-manager-plugin-2.22.4.jar   来实现了破解市场的所有其他插件。替换后,确实是可以破解所有其他插件,但发现创建空间时,会报错:

遇到了未知服务器错误。

日志报错如下:

2019-03-24 10:26:12,392 WARN [https-jsse-nio-8443-exec-10] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:->[PluginReadWriteTx]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #322332976)– referer: https:///spacedirectory/view.action | url: /rest/create-dialog/1.0/space-blueprint/dialog/web-items | traceId: 3504893171073da4 | userName: testuser

在官网https://confluence.atlassian.com/confkb/creating-new-page-or-space-loads-forever-744329880.html找到修复方法如下:

Solution

Make sure you have a backup from your database first.

The bellow changes will delete space and page templates and blueprints, please make sure to take a backup of them first.

1 - Stop Confluence

2 - Drop the following tables:

DROP TABLE AO_54C900_SPACE_BLUEPRINT_AO;

DROP TABLE AO_54C900_C_TEMPLATE_REF;

DROP TABLE AO_54C900_CONTENT_BLUEPRINT_AO;

If using Oracle database, we also need to drop the sequences after dropping the tables:

drop sequence AO_54C900_SPACE_BLU760748750;

drop sequence AO_54C900_C_TEMPLAT776456439;

drop sequence AO_54C900_CONTENT_B2086059265;

3 - Remove the following directories to clear the plugin cache

/bundled-plugins        -- confluence-home = /var/atlassian/application-data/confluence/plugins-cache/plugins-osgi-cache/plugins-temp/bundled-plugins_language

4 - Start Confluence

上一篇下一篇

猜你喜欢

热点阅读