CUNY Graduate Center - Project Tracking System: Issueshttps://redmine.gc.cuny.edu/https://redmine.gc.cuny.edu/favicon.ico2023-12-18T17:14:51ZCUNY Graduate Center - Project Tracking System
Redmine CUNY Academic Commons - Bug #19431 (New): cc'd people don't show up on Help tickets! https://redmine.gc.cuny.edu/issues/194312023-12-18T17:14:51ZMarilyn WeberMweber@gc.cuny.eduCUNY Academic Commons - Bug #19247 (New): CV editor scripts not loaded in Dashboard > CV > [edit]https://redmine.gc.cuny.edu/issues/192472023-11-10T18:43:40ZBoone Gorgesboone@gorg.es
<p>Jeremy, this is probably why you were not able to edit CVs in the Dashboard. It appears that the cac-cv-editor script is never loaded in the Dashboard. The script is registered in Front\Editor::setup_editor(), but it seems like this is only invoked in PostType\CV\filter_template(). Could you have a look?</p> CUNY Academic Commons - Bug #18213 (New): Google Analytics 4 migration documentation for usershttps://redmine.gc.cuny.edu/issues/182132023-05-12T15:40:30ZBoone Gorgesboone@gorg.es
<p>Individual sites on the Commons can have their own Google Analytics tracking. See <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: StatPress performance & migrate to per-site Google Analytics (Resolved)" href="https://redmine.gc.cuny.edu/issues/10722">#10722</a>. Since <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Support: Google Analytics 4 tagging (Resolved)" href="https://redmine.gc.cuny.edu/issues/13511">#13511</a>, we have supported Google Analytics 4 in addition to the legacy Universal Analytics. In Summer 2023, Google will be phasing out UA, so we should make some changes on the Commons:</p>
<p>1. Amend our help documentation to indicate that GA4 is the proper system to use, and to guide people on how to migrate their legacy UA accounts to GA4. Those users will then need to be directed on how to enter their new GA4 identifier in place of the old UA- identifier on their Commons sites.<br />2. We should change the language on the Commons dashboard panel so that it no longer indicates that both UA and GA4 are supported.<br />3. Scott, if you think it makes sense, we could build a system to build a list of sites using the old UA IDs. We can then either (a) email them, or (b) have something in the Commons (like an admin notice?) telling them to make the necessary changes, or (c) something else or some combination of these.</p>
<p>Scott, what do you think?</p> CUNY Academic Commons - Bug #18016 (Hold): ml-slider get_plugins() call causes performance issueshttps://redmine.gc.cuny.edu/issues/180162023-04-12T16:57:56ZBoone Gorgesboone@gorg.es
<p>See discussion at <a class="external" href="https://redmine.gc.cuny.edu/issues/15767#note-2">https://redmine.gc.cuny.edu/issues/15767#note-2</a> and follow-up. The ml-slider folks have promised to fix the issue, but have not done so. <a class="external" href="https://wordpress.org/support/topic/call-to-get_plugins-causing-performance-problems/">https://wordpress.org/support/topic/call-to-get_plugins-causing-performance-problems/</a></p>
<p>Until they do, we will need to patch ml-slider each time it's updated. This happens next in the 2.1.5 release.</p>
<p>We should also have some sort of system for notifying the release manager (ie me) whenever this patch needs to be applied. Looking at GitHub Actions results is already part of my workflow, which helps me catch invalid syntax and other items. But this one is kinda hard to catch with static analysis tools. Instead, I'm thinking I'll add something to the wp-cli-cac script that I use for bulk plugin updates, something that throws a huge notice about plugins that need manual attention after they've received an update.</p> CUNY Academic Commons - Bug #17655 (New): Broken Link Checker improperly scanning unpublished postshttps://redmine.gc.cuny.edu/issues/176552023-02-13T18:03:17ZBoone Gorgesboone@gorg.es
<p>From <a class="external" href="https://redmine.gc.cuny.edu/issues/17476#note-19">https://redmine.gc.cuny.edu/issues/17476#note-19</a>:</p>
<blockquote>
<p>Strange update: One of my sites is now sending me e-mail alerts for broken links found in unpublished pages, even though I have the settings set not to check page drafts. I apologize for complaining about the opposite problem, but the system continues to regenerate these emails, so each time I receive the erroneous email, I think that there are new links I need to fix. (I have these links in an unpublished page because I need to store former links/link history there). If this unexpected behavior is something you could look into at some point, I would really appreciate it--and perhaps this info will help with the whole puzzle?</p>
<p>Here is the link to the unpublished page that is sending me broken link checker e-mail notifications <a class="external" href="https://syellegraves.commons.gc.cuny.edu/wp-admin/post.php?post=7&action=edit&classic-editor">https://syellegraves.commons.gc.cuny.edu/wp-admin/post.php?post=7&action=edit&classic-editor</a></p>
</blockquote> CUNY Academic Commons - Bug #14987 (New): Elementor update causes database freeze-uphttps://redmine.gc.cuny.edu/issues/149872021-11-23T21:19:15ZBoone Gorgesboone@gorg.es
<p>On Nov 9 and Nov 23, as part of regular maintenance updates, I tried updating Elementor from version 3.4.4 to the latest version (3.4.6 or 3.4.8). Both times, the Commons database was brought to a halt by an influx of database connections, within minutes.</p>
<p>See <a class="external" href="https://redmine.gc.cuny.edu/issues/14986">https://redmine.gc.cuny.edu/issues/14986</a>, <a class="external" href="https://redmine.gc.cuny.edu/issues/14951">https://redmine.gc.cuny.edu/issues/14951</a></p>
<p>Effective immediately, I won't be updating Elementor anymore during regular maintenance updates. Specifically, I will add it to the list of blocked plugins in my wp-cli-cac update tools. Ray, if you have your own version of these tools, please do the same.</p>
<p>The next time Elementor is updated to a new major version, say 3.5, I might consider trying the update again in isolation. I'll leave this ticket open for further investigation.</p> CUNY Academic Commons - Bug #13331 (New): Combine Site Template and Clone operationshttps://redmine.gc.cuny.edu/issues/133312020-09-15T16:21:07ZBoone Gorgesboone@gorg.es
<p>We have two processes on the Commons that are very similar in nature:</p>
<p>1. Populating a new site from the corresponding Site Template<br />2. Populating a new site from a clone source</p>
<p>We should explore combining the two processes. First step will be to outline the ways in which the two processes differ, both at the code level and at the functional level.</p> CUNY Academic Commons - Bug #12436 (Assigned): Nightly system downtimehttps://redmine.gc.cuny.edu/issues/124362020-02-18T16:21:55ZBoone Gorgesboone@gorg.es
<p>I'm opening this ticket to track recent outages on the Commons. A number of us receive automated notices when the database server is forced to reboot. Beginning roughly one month ago, we started getting these notices several times per week. These notifications indicate when the DB server is forced to reboot, so they indicate at best the end of a problematic period. I receive additional notifications when requests begin to take an inordinately long time, which serves as an indicator of when the incidents begin.</p>
<p>I've been keeping track of specifics over the last few weeks, and I've discerned the following patterns:</p>
<p>- The most common downtime is just after 05:00 UTC (midnight EST, UTC-5), with my incident reports rolling in sometimes around 12:03am and sometimes around 12:07am.<br />- Occasionally, the incidents have begun an hour or two earlier, shortly after 03:00 or 04:00 UTC.<br />- Incidents seem always to begin several minutes after the hour<br />- Reboots usually take place between 3 and 6 minutes after the beginning of the incident<br />- On some occasions, the reboots don't seem to fix the underlying issue, and another cycle of slow requests + db reboots immediately follows.<br />- Sometimes this'll happen a few nights in a row, while sometimes the site will go a few days without any notifications.</p>
<p>All of this strongly suggests that the problem is with an automated cron task, specifically one that takes place around midnight. I've begun to do an analysis of the tasks scheduled for around this time, cross-referencing with the logs. Ideally, we'd be able to narrow down the culprit by identifying the last cron task that begins just before the outages. This is not possible, for a couple reasons: First, the performance issues may only kick in a minute or two after the task begins running (as the system's resources are gradually used up). Second, the Cavalcade logs don't natively keep track of when a task begins running, but only when it finishes (see <a class="external" href="https://github.com/humanmade/Cavalcade-Runner/blob/master/inc/class-runner.php#L377">https://github.com/humanmade/Cavalcade-Runner/blob/master/inc/class-runner.php#L377</a>).</p>
<p>So the best we can do is to make some educated guesses. I'll follow up in a comment with initial thoughts.</p> CUNY Academic Commons - Bug #11024 (New): Subsites should not show "you should update your .htacc...https://redmine.gc.cuny.edu/issues/110242019-01-28T18:35:05ZBoone Gorgesboone@gorg.es
<p>See <a class="external" href="https://redmine.gc.cuny.edu/issues/11023#note-2">https://redmine.gc.cuny.edu/issues/11023#note-2</a></p>
<p>This is a core bug that we cannot easily work around. See <a class="external" href="https://core.trac.wordpress.org/ticket/39547">https://core.trac.wordpress.org/ticket/39547</a>.</p> CUNY Academic Commons - Bug #10794 (New): Memcached connection occasionally breakshttps://redmine.gc.cuny.edu/issues/107942018-12-06T20:30:55ZBoone Gorgesboone@gorg.es
<p>A handful of times over the past month or so, the Memcached connection seems to have failed completely. This manifests first by extreme slowness in Commons load times. With Query Monitor enabled, I can then see that there are hundreds of database hits instead of the normal small handful. Occasionally, `wp cache flush` fixes it. But more often, I have to go in and switch from one to the other item in the $memcached_servers array. When I do this (and, importantly, run `wp cache flush` immediately afterward, to ensure that WP doesn't access stale cache in the other node) things come back to life immediately.</p>
<p>I don't really have the tools at my disposal to debug this fully. If the problem is that the cache is corrupted and thus inaccessible, I guess I would know that by looking at some sort of Memcached log <a class="external" href="https://serverfault.com/questions/422350/memcached-debuging-server-logs-monitor-the-memcached-servers">https://serverfault.com/questions/422350/memcached-debuging-server-logs-monitor-the-memcached-servers</a> and perhaps by examining the contents of the cache directly via Telnet. Or the problem could be a connection issue, though I'm unsure how to test that directly.</p>
<p>I don't know the proper next steps, but I'm starting this ticket so that the issue is on Ray's radar and so that we have a place to collect ideas and incident reports.</p> CUNY Academic Commons - Bug #10678 (Reporter Feedback): Newsletter Plugin Not Sending Out Newslet...https://redmine.gc.cuny.edu/issues/106782018-11-08T02:56:19ZMark Webb
<p>Hi,</p>
<p>The Newletter plugin for the CPCP website (<a class="external" href="https://cpcp.commons.gc.cuny.edu">https://cpcp.commons.gc.cuny.edu</a>) is again having issues. Newsletters are not sending out. You then have to go in and manually run the queue but this takes forever and stops on its own unless you go back and run again. Any idea what is happening? Is it related to the WP Cron? How can we fix it? Thanks,</p>
<p>Mark</p> CUNY Academic Commons - Bug #9926 (New): twitter-mentions-as-comments cron jobs can run longhttps://redmine.gc.cuny.edu/issues/99262018-06-14T02:32:33ZBoone Gorgesboone@gorg.es
<p>Just logged a long request triggered by a cron job in twitter-mentions-as-comments. It appears that the plugin does an hourly check that involves pulling up every single post on the site. This can take a very long time when a site has many posts. The plugin has no obvious internal mechanism for dividing this process into batches.</p>
<p>The plugin hasn't been updated in 5 years, so we might consider disabling it. Here are the sites where it's running:</p>
<pre><code>[0] => <a class="external" href="http://connections.commons.gc.cuny.edu">http://connections.commons.gc.cuny.edu</a><br /> [1] => <a class="external" href="http://jitp.commons.gc.cuny.edu">http://jitp.commons.gc.cuny.edu</a><br /> [0] => <a class="external" href="http://newtestsite.commons.gc.cuny.edu">http://newtestsite.commons.gc.cuny.edu</a><br /> [1] => <a class="external" href="http://eshtestcac.commons.gc.cuny.edu">http://eshtestcac.commons.gc.cuny.edu</a><br /> [2] => <a class="external" href="http://arctest2.commons.gc.cuny.edu">http://arctest2.commons.gc.cuny.edu</a><br /> [3] => <a class="external" href="http://acert.commons.gc.cuny.edu">http://acert.commons.gc.cuny.edu</a><br /> [0] => <a class="external" href="http://jitpdev.commons.gc.cuny.edu">http://jitpdev.commons.gc.cuny.edu</a><br /> [1] => <a class="external" href="http://jitpstaging.commons.gc.cuny.edu">http://jitpstaging.commons.gc.cuny.edu</a><br /> [2] => <a class="external" href="http://foodscholar.commons.gc.cuny.edu">http://foodscholar.commons.gc.cuny.edu</a></code></pre>
<p>I'll start by putting 15 minutes in to see if I can rewrite the plugin to use separate cron tasks for each post.</p> CUNY Academic Commons - Bug #6644 (Reporter Feedback): White Screen at Login Pgehttps://redmine.gc.cuny.edu/issues/66442016-11-08T17:07:40ZLuke Waltzerlwaltzer@gc.cuny.edu
<p>Getting a white screen at <a class="external" href="https://jitpstaging.commons.gc.cuny.edu/wp-login.php">https://jitpstaging.commons.gc.cuny.edu/wp-login.php</a> (all browsers). Once logged into Commons in the browser, I can navigate to the Dashboard by manually navigating to <a class="external" href="https://jitpstaging.commons.gc.cuny.edu/wp-admin/">https://jitpstaging.commons.gc.cuny.edu/wp-admin/</a>, but the <a class="external" href="http://jitpstaging.commons.gc.cuny.edu/wp-login.php">http://jitpstaging.commons.gc.cuny.edu/wp-login.php</a> stays white.</p>
<p>This issue was first reported by Amanda Licastro.</p> CUNY Academic Commons - Bug #5691 (Assigned): Differing numbers on Sites displayhttps://redmine.gc.cuny.edu/issues/56912016-06-13T17:12:55ZMatt Goldmattgold@gmail.com
<p>Hi Boone,</p>
<p>I'm trying to produce a grant report and get a sense of some CAC numbers. When I click on "Sites" in the nav bar, I see two different numbers 1575 in the "All Sites" tab and 2263 in the Viewing x of x info line.</p>
<p>Which is correct, and is this evidence of a bug of some kind? Or does it just reflect something like private/hidden sites that I can see as a super-admin?</p>
<p>Marking this as high priority only because I'm trying to get the report in and would appreciate a quick answer if at all possible.</p> CUNY Academic Commons - Bug #4388 (Assigned): Repeated request for authentication.https://redmine.gc.cuny.edu/issues/43882015-08-05T19:43:46ZAlice.Lynn McMichaelalimcmichael@hotmail.com
<p>Hi, I'm building a site on the Commons, and when I click on a page or refresh one, a pop-up asking for authentication interrupts the work, often making me click OK up to 8-10 times. (It doesn't go away if I click Cancel, either). I can't tell whether this is Commons-wide or related to my account or theme, although it did not happen when I used a different Commons site yesterday</p>
<p>My site is not public yet, but the URL is amcmichael.commons.gc.cuny.edu and the theme is Make. I've had this problem repeatedly over the last couple of weeks. (See the attached screenshot for the pop-up box that I get).</p>
<p>Thank you.<br />Best,<br />Alice Lynn</p>