Git Product home page Git Product logo

Comments (4)

tuxudo avatar tuxudo commented on September 28, 2024

Something is wrong with the module's folder and structure on the server.

Module Marketplace lists a module as enabled by directly comparing MODULES in .env. dump_modules/env defines an enabled module by one that has a ms_defender_model.php or install.sh, which make it a valid module.

Verify that the module has tuxudo/ms_defender/ms_defender_model.php and tuxudo/scripts/install.sh

from munkireport-php.

jelockwood avatar jelockwood commented on September 28, 2024

@tuxudo
As additional information we are running MunkiReport on an AWS EC2 instance. I got our DevOps team to enable using a ssh session to allow interactive debugging via a shell. Via this we did an export of the MODULES variable and it does contain ms_defender.

The vendor/munkireport/ directory does contain an ms_defender folder which contains amongst others ms_defender_model.php and a subdirectory called scripts which contains both an install.sh and uninstall.sh

As a reminder as per the picture in my original post Munkireport also shows the module as installed. It is just not reporting it in the list of modules and not including it in the install script.

from munkireport-php.

tuxudo avatar tuxudo commented on September 28, 2024

It is showing as installed in Module Marketplace because when the MunkiReport server compares the composer.local and the MODULES variable in .env, there is a match for ms_defender. This does not mean it is a valid module.

Verify permissions on the ms_defender module folder and files. Use composer to remove and reinstall the module. Verify that there is only one instance of the MODULES variable in the .env file. Lastly verify the module loads when going to https://yourmunkireport.com/munkireport-php/index.php?/module/ms_defender/index

from munkireport-php.

jelockwood avatar jelockwood commented on September 28, 2024

@tuxudo I have been working with our DevOps engineer and it looks like the module was in the right place, was installed properly and the modules was in the enabled list but we had not added the module directory to the MODULE_SEARCH_PATHS

Now seems to show up.

from munkireport-php.

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.