{"id":95,"date":"2018-08-28T12:43:35","date_gmt":"2018-08-28T11:43:35","guid":{"rendered":"https:\/\/www.thenaylors.co.uk\/wordpress\/?p=95"},"modified":"2018-08-28T12:43:35","modified_gmt":"2018-08-28T11:43:35","slug":"simple-change-to-remove-nextcloud-allowed-memory-exhaused-error","status":"publish","type":"post","link":"https:\/\/www.thenaylors.co.uk\/wordpress\/simple-change-to-remove-nextcloud-allowed-memory-exhaused-error\/","title":{"rendered":"Simple change to remove Nextcloud Allowed Memory exhaused error"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I have been trying to get the Nextcloud Gallery working and could not work out why it was just hanging.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What I had not realised is that under &#8220;Settings&#8221; you can see the log files for Nextcloud and right there are some very useful error messages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I was getting an Allowed Memory Exhaused Error.\u00a0 A little googling pointed out that perhaps I had not allocated enough memory to PHP to allow it to work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A quick check of the pool size showed I had allocated 128M.\u00a0 So decided as I have plently of memory to increase the size to 512M and see what happens.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once NGINX restarted I was able to click on the Gallery and all of the folders appears with the thumbnail files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So I then rechecked the log file and there we no errors any more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fixed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been trying to get the Nextcloud Gallery working and could not work out why it was just hanging. What I had not realised is that under &#8220;Settings&#8221; you can see the log files for Nextcloud and right there are some very useful error messages. I was getting an Allowed Memory Exhaused Error.\u00a0 A &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.thenaylors.co.uk\/wordpress\/simple-change-to-remove-nextcloud-allowed-memory-exhaused-error\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Simple change to remove Nextcloud Allowed Memory exhaused error&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-95","post","type-post","status-publish","format-standard","hentry","category-nextcloud"],"_links":{"self":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/comments?post=95"}],"version-history":[{"count":1,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/95\/revisions\/96"}],"wp:attachment":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/media?parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/categories?post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/tags?post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}