Giter Club home page Giter Club logo

Comments (3)

chris001 avatar chris001 commented on August 10, 2024

Your error log shows an out of memory error while using the default 256MB memory limit (PHP Fatal error: Allowed memory size of 268435456 bytes exhausted). Assuming you're using the bitnami docker image, would you edit your docker-compose.yml and add this line to your environment section: PHP_MEMORY_LIMIT = 512M as shown here, then restart your bitnami container or reboot your instance.

from suitecrm-core.

DBRenny avatar DBRenny commented on August 10, 2024

@chris001 - I actually want to go back and organize it with docker, using azure devops,- but I started this project by just clicking the orange/red button on this site:
https://bitnami.com/stack/suitecrm/cloud/azure

It may be a bug for Bitnami, not SuiteCRM - given the error... I still don't know enough to understand why my patch works, and how that reconciles with the error output in my environment. I landed on the fix after a lot of trial and error.

image

I edited the initial report to specify "Azure Marketplace".

from suitecrm-core.

johnM2401 avatar johnM2401 commented on August 10, 2024

Hey @DBRenny !

Have you noticed any subsequent issues after using your modified Cron job line?


I've given cron/scheduled jobs a brief test locally for Suite8, and it appears to be working well.
(Although this is on localhost, and not through an Azure/Bitnami image)


I'm not too well versed in Azure/Bitnami, but it appears as though running as Bash may be the expected way of doing it.

According to their docs, for suitecrm:
https://docs.bitnami.com/virtual-machine/apps/suitecrm/configuration/configure-scheduler/

They suggest something in the format of:
* * * * * su daemon -s /bin/sh -c "cd /opt/bitnami/suitecrm; /opt/bitnami/php/bin/php -f cron.php > /dev/null 2>&1"

Perhaps this format is worth a try? (unless you have already come across this?)

Thanks!

from suitecrm-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.