October 21, 20241 yr Hello friends, I am running Nextcloud AIO 29 on Unraid. I'm seeing two types of repeating error messages in the log: 1. for PHP application: "Allowed memory size of 536870912 bytes exhausted (tried to allocate 40960 bytes) at /var/www/html/custom_apps/recognize/lib/Classifiers/Classifier.php#360" 2. for recognize application: "Failed to generate preview of 275459 with dimension 1024 with nextcloud preview manager: No provider successfully handled the preview generation" After googling these errors, I understand I should try to increase Nexcloud AIO's PHP memory limit from 512MB to 1GB. Can anyone please explain how I should do this? Thank you 🙏
October 24, 20241 yr Hi, see https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-adjust-the-php-memory-limit-for-nextcloud
October 24, 20241 yr Author 41 minutes ago, szaimen said: Hi, see https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-adjust-the-php-memory-limit-for-nextcloud Thank you for the tip, @szaimen I tried to add the line: --env NEXTCLOUD_MEMORY_LIMIT=1GB in the Extra Parameters section of the nextcloud-aio-mastercontainer docker container setup page, but once I saved this change the container wouldn't start, so I had to remove this line. Should I maybe add this line as a Variable instead? What should I write for the Key? And what should I write for the Value?
October 24, 20241 yr Community Expert Solution 57 minutes ago, mjeshurun said: Thank you for the tip, @szaimen I tried to add the line: --env NEXTCLOUD_MEMORY_LIMIT=1GB in the Extra Parameters section of the nextcloud-aio-mastercontainer docker container setup page, but once I saved this change the container wouldn't start, so I had to remove this line. Should I maybe add this line as a Variable instead? What should I write for the Key? And what should I write for the Value? You did a little mistake which is mentioned on the page. Quote It must start with a number and end with M e.g. 1024M So =1GB is wrong. =1024M should do the trick^^
October 24, 20241 yr Author 1 hour ago, Mainfrezzer said: You did a little mistake which is mentioned on the page. So =1GB is wrong. =1024M should do the trick^^ Many thanks 🙏 🙏 It worked
November 19, 20241 yr I think the difference is that you provided GB instead G ps: sorry for old post reply
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.