{"id":94,"date":"2017-09-19T22:53:48","date_gmt":"2017-09-19T14:53:48","guid":{"rendered":"https:\/\/blog.lovexu.cc\/?p=94"},"modified":"2022-09-17T12:02:15","modified_gmt":"2022-09-17T04:02:15","slug":"synology-running-owncloud-fix-no-memory-cache-has-been-configured-error","status":"publish","type":"post","link":"https:\/\/lox.im\/index.php\/94.html","title":{"rendered":"\u7fa4\u6656\u5b89\u88c5Owncloud \u663e\u793a \u201cNo memory cache has been configured\u201d \u9519\u8bef"},"content":{"rendered":"<p>I have ownCloud OR nextcloud running on my Synology DSM6 DS3175+.<\/p>\n<p>In the admin configuration page the\u00a0<strong><em>Security &amp; setup warnings<\/em><\/strong>\u00a0section reports:<\/p>\n<p><span style=\"background-color: #ffff99;\">No memory cache has been configured. To enhance your performance please configure a memcache if available.<\/span><br \/>\n<span style=\"background-color: #ffff99;\"> Further information can be found in our documentation.<\/span><br \/>\n<span style=\"background-color: #ffff99;\"> Please double check the installation guides\u00a0, and check for any errors or warnings in the log.<\/span><\/p>\n<p>How to fix:<\/p>\n<p>Be sure the PHP cache option on Synology is set (Web Station =&gt; PHP Settings =&gt; Enable PHP Cache).<\/p>\n<p>Edit the configuration file\u00a0<strong>&lt;owncloud_root_dir&gt;\/config\/config.php<\/strong>\u00a0adding the following line:<br \/>\n<code>'memcache.local'=&gt; '\\OC\\Memcache\\APCu'<\/code><br \/>\nCache feature will start to work immediately.<\/p>\n<p>\u8f6c\u8f7d\u81ea<a href=\"http:\/\/www.cesareriva.com\/synology-running-owncloud-fix-no-memory-cache-has-been-configured-error\/\" target=\"_blank\" rel=\"noopener noreferrer\" rel=\"nofollow\" >\u5916\u7f51<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-95\" src=\"https:\/\/lox.im\/wp-content\/uploads\/2017\/09\/160-1024x680.jpg\" alt=\"\" width=\"1024\" height=\"680\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have ownCloud OR nextcloud running on my Synology DSM6 DS3175+. &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[4],"tags":[6,7],"class_list":["post-94","post","type-post","status-publish","format-image","hentry","category-internet","tag-nextcloud","tag-owncloud","post_format-post-format-image"],"_links":{"self":[{"href":"https:\/\/lox.im\/index.php\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lox.im\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lox.im\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lox.im\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lox.im\/index.php\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":1,"href":"https:\/\/lox.im\/index.php\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":784,"href":"https:\/\/lox.im\/index.php\/wp-json\/wp\/v2\/posts\/94\/revisions\/784"}],"wp:attachment":[{"href":"https:\/\/lox.im\/index.php\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lox.im\/index.php\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lox.im\/index.php\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}