Cannot Restore XML Backup due to Database Encoding
[Unable to render {include} The included page could not be found. ({include} をレンダリングできません。ページが見つかりませんでした)] を選択し、
症状
When importing an XML backup, the following messages appear in the logs:
ERROR [Importing data task] [sf.hibernate.util.JDBCExceptionReporter] logExceptions Duplicate entry '295213' for key 1
- url: /setup/setup-restore.action \| userName: anonymous \| action: setup-restore
ERROR [Importing data task] [sf.hibernate.util.JDBCExceptionReporter] logExceptions Incorrect string value: '\xEF\x81\xA9 No...' for column 'BODY' at row 1
- url: /setup/setup-restore.action | userName: anonymous | action: setup-restore
原因
The database is not set to the correct encoding.
ソリューション
Make sure your database is using the correct encoding. Follow the guide Configuring Database Character Encoding. Confirm that the database is set to UTF-8.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.