DoSomething / legacy-website

:moyai: The DoSomething.org legacy website.
https://www.dosomething.org/
MIT License
50 stars 22 forks source link

Clean up warnings generated during deploy updates #7214

Open angaither opened 7 years ago

angaither commented 7 years ago

BUG

Current Behavior

Desired Behavior

Other news

The log is very hard to read.

the mostly useless errors

class="placeholder">flag</em>. For information about how to fix this,
see <a href="https://www.drupal.org/node/2487215">the documentation
page</a>. bootstrap.inc:1128
 DEBUG [a79604ae]   The following module is missing from the file system: <em            [warning]
class="placeholder">securepages</em>. For information about how to
fix this, see <a href="https://www.drupal.org/node/2487215">the
documentation page</a>. bootstrap.inc:1128
 DEBUG [a79604ae]   
 DEBUG [8135e25a]   The following module is missing from the file system: <em            [warning]
class="placeholder">restful</em>. For information about how to fix
this, see <a href="https://www.drupal.org/node/2487215">the
documentation page</a>. bootstrap.inc:1128
 DEBUG [8135e25a]   The following module is missing from the file system: <em            [warning]
class="placeholder">wysiwyg</em>. For information about how to fix
this, see <a href="https://www.drupal.org/node/2487215">the
documentation page</a>. bootstrap.inc:1128
 DEBUG [8135e25a]   The following module is missing from the file system: <em            [warning]
class="placeholder">dosomething_campaign_hot_shares</em>. For
information about how to fix this, see <a
href="https://www.drupal.org/node/2487215">the documentation
page</a>. bootstrap.inc:1128
 DEBUG [65f2119f]   The following module is missing from the file system: <em            [warning]
class="placeholder">flag</em>. For information about how to fix this,
see <a href="https://www.drupal.org/node/2487215">the documentation
page</a>. bootstrap.inc:1128
 DEBUG [8135e25a]   The following module is missing from the file system: <em            [warning]
class="placeholder">securepages</em>. For information about how to
fix this, see <a href="https://www.drupal.org/node/2487215">the
documentation page</a>. bootstrap.inc:1128
 DEBUG [65f2119f]   The following module is missing from the file system: <em            [warning]
class="placeholder">restful</em>. For information about how to fix
this, see <a href="https://www.drupal.org/node/2487215">the
documentation page</a>. bootstrap.inc:1128
 DEBUG [65f2119f]   The following module is missing from the file system: <em            [warning]
class="placeholder">wysiwyg</em>. For information about how to fix
this, see <a href="https://www.drupal.org/node/2487215">the
documentation page</a>. bootstrap.inc:1128
 DEBUG [65f2119f]   
 DEBUG [65f2119f]   The following module is missing from the file system: <em            [warning]
class="placeholder">dosomething_campaign_hot_shares</em>. For
information about how to fix this, see <a
href="https://www.drupal.org/node/2487215">the documentation
 DEBUG [65f2119f]   
page</a>. bootstrap.inc:1128
 DEBUG [65f2119f]   The following module is missing from the file system: <em            [warning]
class="placeholder">securepages</em>. For information about how to
fix this, see <a href="https://www.drupal.org/node/2487215">the
documentation page</a>. bootstrap.inc:1128
 DEBUG [65f2119f]```

```DEBUG [8135e25a]     PHP Warning:  Module 'newrelic' already loaded in Unknown on line 0
 DEBUG [65f2119f]   PHP Warning:  Module 'newrelic' already loaded in Unknown on line 0
 DEBUG [65f2119f]   
 DEBUG [65f2119f]   byte UTF-8 support for more information. (Currently using Database 4
byte UTF-8 support Disabled)
 DEBUG [a79604ae]   4 byte UTF-8 for mysql is disabled. See the documentation on adding 4[warning]
byte UTF-8 support for more information. (Currently using Database 4
byte UTF-8 support Disabled)
crittermike commented 7 years ago

This doesn't seem to be a valid issue, from what I can tell. The debug output above looks to be all warnings rather than actual failed DB updates.

Also, I see that there have been new custom update hooks written since this issue was created (such as this one) that appear to have run just fine, judging both by the schema_version of modules in the system table and also just manually confirming that the update hook has done its job.

I see that there are no pending updates, and manually creating one locally and running it worked on the first try.

Based on all of that, I believe that this issue can be closed.

cc @mirie

mirie commented 7 years ago

ok thanks for checking on this @mikecrittenden -- Let's keep our eye out on this with the upcoming module upgrades. I think I'm going to change the title of this Issue to cleaning up warnings (and keep it open) and make it lower priority for now.