Skip to content

Module randomly not found from Modules.php #46

@14pixels

Description

@14pixels

Short description of the issue

I have encountered a problem that randomly after a deploy some modules are not available. It happens randomly, and to different modules. Clearing the FileCompiler Cache does not help in this case, after a redeployment the error is gone most of the time.
The module from the screenshot is inheriting the FieldtypeFile module and is adding some additional meta fields to the file and is hooking on file save and uploads the file to amazon s3.
The bug only occurs when PW is trying to access, when i ssh to the instance i can see and open the files.
The module has the namespace ProcessWire.

Expected behavior

Find all modules after deployment

Actual behavior

Sometimes a module is not found after deployment

Optional: Screenshots/Links that demonstrate the issue

module_error

Steps to reproduce the issue

  1. Deploy application to an AWS Elastic Beanstalk application (i dont know if thats relevant for this bug to happen, but thats what we use for hosting)
  2. Bug happens randomly

Setup/Environment

  • ProcessWire version: 3.0.35
  • PHP version: PHP 5.6
  • MySQL version: MySQL 5.6.23

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions