Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis errors + redis module is being auto-enabled even when set off in site_control_ini - on drupal 7 sites #1716

Closed
EdNett opened this issue May 17, 2023 · 4 comments

Comments

@EdNett
Copy link

EdNett commented May 17, 2023

Redis errors + redis module is being auto-enabled even when set off in site_control_ini

error:

Drush command terminated abnormally due to an unrecoverable error. Error: Cannot redeclare redis_autoload() (previously declared in /data/all/000/modules/redis_edge/redis.autoload.inc:16) in /data/all/000/modules/redis/redis.autoload.inc, line 16 | - | error

The external command could not be executed due to an application error.

This is happening on drupal 7 sites

boa info more is here:
https://gist.github.com/EdNett/9999c0f11bcd7330bfd5c1f286e26ddd

Best,

Ed

@EdNett EdNett changed the title Redis errors + redis module is being auto-enabled even when set off in site_control_ini Redis errors + redis module is being auto-enabled even when set off in site_control_ini - on drupal 7 sites May 17, 2023
@omega8cc
Copy link
Owner

omega8cc commented May 17, 2023

We should probably get rid of the legacy /data/all/000/modules/redis/ at this point.

The INI directives will not prevent the module from being enabled, only from being used.

If you want to prevent the auto-enable, disable the procedure with _MODULES_FIX=NO in /root/.barracuda.cnf

@EdNett
Copy link
Author

EdNett commented May 29, 2023

Hello,

This problem still isn't fixed in stable 4.2.0 stable T02 - - Is it suppossed to be? DO I need to move to HEAD for the fix? Can I manually remove the entire /data/all/000/modules/redis_edge/ directory and everything in it? I can see that there is a very recently added file to this directory: "ver-7.x-3.19.1.420prodT02.info" I still can't enable redis on d7 sites at all.

@omega8cc
Copy link
Owner

omega8cc commented May 29, 2023

No, stable will not receive any non-critical fixes from dev and we can't reproduce this issue anywhere. Please follow the hints in another issue and please don't post duplicates.

@EdNett
Copy link
Author

EdNett commented Jun 7, 2023

This is still a major problem for me - failing to set reis to FALSE in boa_site_control.ini give a 500 no response error! In other words currently redis has to be disabled or the d7 site is down - this is for d7 sites only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants