Hello,

If I run drush with -u 1 I get an empty file in the correct place with the correct name. However, it is empty.

It seems that if I add -d for debug to the same command, the file has the appropriate data.

Does anyone have any idea what might be going on? I suppose I could always run it in debug mode, but I'm wondering why it isn't fully working in normal mode.

Is it possible that this has something to do with memcache (the module, using memcached), which often splits large views data? If so, is there a solution other than removing memcache?

Also, I'm not seeing anything in my watchdog log.

Thanks for any ideas.

Comments

jsibley created an issue.

jsibley’s picture

I'm not sure if this helps to understand the issue, but I see this notice in the middle of the debug output:

Drush bootstrap phase : bootstrap_drupal_database() [0.82 sec, 1.77 MB]                                                                           [bootstrap]
Successfully connected to the Drupal database. [0.86 sec, 1.98 MB]                                                                                [bootstrap]
Find command files for phase 4 (max=5) [0.86 sec, 1.99 MB]                                                                                            [debug]
Drush bootstrap phase : bootstrap_drupal_full() [0.86 sec, 1.99 MB]                                                                               [bootstrap]
Cache HIT cid: 8.1.8-install_profile-66ecfeb9791a023150773849f1550c5d [1.67 sec, 7.5 MB]                                                              [debug]
Undefined index: REQUEST_SCHEME in include_once() (line 272 of /home/jsasse5/test/sites/default/settings.php). [1.67 sec, 7.5 MB]                    [notice]
Find command files for phase 5 (max=5) [1.67 sec, 7.5 MB]           

Until this gets figured out, it looks like I can run this in cron with -d, sending the -d output to a separate file using STDERR.