[wp-trac] [WordPress Trac] #46040: Broken symlinks prevent updates

WordPress Trac noreply at wordpress.org
Fri Sep 2 21:39:16 UTC 2022


#46040: Broken symlinks prevent updates
-------------------------------------+------------------------------
 Reporter:  joemoto                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Upgrade/Install          |     Version:  5.0.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------

Comment (by Palijn):

 Hi, trying to resurrect this bug as it apparently has never been fixed,
 although a patch exists here.

 Context : I am trying to update the MailPoet extension (more than 600000
 active installs).
 However, the extension suggest that if one does not want (or cannot) rely
 on the WordPress Cron, it is possible to run from the linux cron the .php
 file that lies in the mailpoet extension folder.
 When installed under a cPanel setup, each run ''will'' generate the
 dreaded .ea-php-cli.cache symlink that ''will'' make the extension update
 fail.
 The only way out then is to
 {{{
 rm .ea-php-cli.cache
 }}}
  and update the extension after having disabled the crontab entry (because
 Mailpoet suggests to run it every 1 min , which is probably never enough
 to actually update the extension before the next link generation !)

 Wordpress properly handling the symlink on extension update, whatever the
 way, would be a godsend !
 Thanks for your attention

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46040#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list