Giter Club home page Giter Club logo

Comments (4)

ViralAgency avatar ViralAgency commented on August 10, 2024 2

Thanks for your suggestion @chris001.

I have clarified further about this problem and asked more suggestions around the world (see this post on StackOverflow, please upvote if is useful for you).

The problem had its origins on docker bind-mount system, probably for permissions issues between host machine and container.

Solution is “to esclude” /cache folder from docker-compose.yml bind mount like below:

services:
  suitecrm:
    container_name: suitecrm
    build: .
    volumes:
      #SuiteCRM Application Folder
      - ./www:/var/www/html:delegated
      - /var/www/html/cache/   #Another volume with cache subfolder inside the existing one

In this way cache subfolder can re-create proxy classes on rebuild and repair.

Thanks.

from suitecrm-core.

chris001 avatar chris001 commented on August 10, 2024

For a test, when you run the official bitnami suite 8 docker container, does it work? It should.

Did you run installer from command line (CLI) or thru the web browser?

Are you running PHP-FPM execution mode?
If yes, is this PHP-FPM setup by the container, by you manually, or by a script?

All php modules installed and enabled?

The user you're running the PHP process under, is it the same user that you installed Suite 8 files as?

from suitecrm-core.

ViralAgency avatar ViralAgency commented on August 10, 2024

Thanks for your quickly answer @chris001.

Step-by-step:

  1. I have installed the official bitnami image and works only in non-persistence mode (bind mount) from Docker.
    The problem now seems to be related to permissions across Docker volume and suitecrm, a potential incompatibility between.

  2. I have installed in both ways: from cli, everything t's ok, with user interface i have firstly return "missing-library" (soap), but now is ok, no installation error log.

  3. Thanks for the suggestion: in fact, i had php8.2-fpm package and "a2enconf php8.2-fpm" directive activated, but is the same with or without these. PHP-FPM was default configured.

  4. Did you mean SuiteCRM mudules or PHP modules? In the first case, yes, 'cause i start from a brand new installation, in the second one, no missing modules log.

  5. SuiteCRM was installed from UX (www-data), and from CLI (root), but same result.

Thank you for your support.

from suitecrm-core.

chris001 avatar chris001 commented on August 10, 2024

What happens when you reset the permissions and owner, of all Suite files, from inside the bitnami Suite 8 docker container?

cd /opt/bitnami/suitecrm
sudo find . -type d -not -perm 02750 -exec chmod 02750 {} \;
sudo find . -type f -not -perm 0640 -exec chmod 0640 {} \;
sudo find . ! -user daemon -exec chown daemon:daemon {} \;
sudo chmod u=rwx,g=rx ./bin/console   #Suite 8
sudo chmod u=rwx,g=rx ./vendor/bin/*  #Suite 7
sudo ./bin/console cache:clear

Next, what happens when you run one of these from command line? They do Quick Repair and Rebuild, without need to log in:

https://gist.github.com/esimonetti/9ca21b15dc47565b12ee73e2352da549

https://github.com/esimonetti/toothpaste

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.