Bug 1096850 - Wordpress Cartridge Continues to update over and over
Summary: Wordpress Cartridge Continues to update over and over
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-12 14:17 UTC by Steven Oliver
Modified: 2017-05-31 18:22 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-31 18:22:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Steven Oliver 2014-05-12 14:17:31 UTC
Description of problem: I'm running wordpress through OpenShift. Upon being prompted to upgrade my installation by wordpress to 3.9.1 I upgraded. After the upgrade the notice to upgrade would not go away so I upgraded again. I might have even attempted the upgrade a third time. Regardless, wordpress now appears to be in some sort of loop. I have received at least 12 emails informing me my installation has been updated.

http://blog-steveno.rhcloud.com/

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jordan Liggitt 2014-05-12 15:56:41 UTC
Looks like the version of Wordpress on that site is 3.9:
<meta name="generator" content="WordPress 3.9" />

The cartridge has already been updated to 3.9.1, but it looks like the wordpress-driven upgrade from 3.9 to 3.9.1 is failing.

Comment 2 Jordan Liggitt 2014-05-12 16:54:47 UTC
After running the upgrade in the wordpress admin console, the admin console still shows 3.9 as the installed version.

I see this on my gear:

[....rhcloud.com app-root]\> grep -R "\$wp_version = " .
./data/current/wp-includes/version.php:$wp_version = '3.9.1';
./build-dependencies/3.9/wp-includes/version.php:$wp_version = '3.9';
./runtime/data/current/wp-includes/version.php:$wp_version = '3.9.1';
./runtime/build-dependencies/3.9/wp-includes/version.php:$wp_version = '3.9';
./runtime/repo/php/wp-includes/version.php:$wp_version = '3.9.1';
./repo/php/wp-includes/version.php:$wp_version = '3.9.1';

Looks like the downloaded version of wordpress is still in the build-dependencies folder.

Are the build or deploy hooks copying original downloaded files on top of wordpress-upgraded files? This would be bad... the upgraded databases could be accessed by old code.

Comment 3 Steven Oliver 2014-05-12 19:57:35 UTC
I won't spam this every time I get an email, but as an FYI they continue to roll in. My latest was today (May 12th) at 3:55PM according to the time stamp in Gmail.

Comment 4 Jordan Liggitt 2014-05-13 02:18:08 UTC
That's due to wordpress automatically trying to update itself. I think you can turn that off for your installation until we figure out why the update process isn't succeeding:

http://codex.wordpress.org/Configuring_Automatic_Background_Updates

Comment 5 Tomi Savolainen 2014-08-08 12:35:13 UTC
I'm also getting emails from no-reply about an update of WordPress 3.9.1 to 3.9.2. It hasn't updated it and keeps sending me emails over and over. Can something be done?

Comment 6 kevin.hooke@gmail.com 2014-08-18 01:34:00 UTC
I have the same issue, updating from 3.9.1 to 3.9.2, but I don't have automatic updates on, so I'm trying to do it via the Wordpress Dashboard. It appears the upgrade completes, but then shows you a 'Welcome to 3.9.1' page, and the update shows as still available on the 'available updates' page.

Comment 7 Stephen Gallagher 2014-08-18 13:04:38 UTC
http://fedoraserver-wgblog.rhcloud.com/ is having the same issue with a notice coming in every twelve hours reading:

Howdy! Your site at http://fedoraserver-wgblog.rhcloud.com has been updated automatically to WordPress 3.8.4.

For more on version 3.8.4, see the About WordPress screen:
https://fedoraserver-wgblog.rhcloud.com/wp-admin/about.php

WordPress 3.9.2 is also now available. Updating is easy and only takes a few moments:
https://fedoraserver-wgblog.rhcloud.com/wp-admin/update-core.php

Keeping your site updated is important for security. It also makes the internet a safer place for you and your readers.

If you experience any issues or need support, the volunteers in the WordPress.org support forums may be able to help.
http://wordpress.org/support/

The WordPress Team

Comment 8 Máirín Duffy 2014-08-19 13:16:33 UTC
Hi, for what it's worth, I set up the blog Stephen mentions in comment 7 and I just used the Wordpress cartridge that was provided in the OpenShift UI. There wasn't any special / exotic setup involved.

Comment 9 kevin.hooke@gmail.com 2014-08-25 01:47:19 UTC
After I tried the manual update some time later I started getting the automated update emails, and I've been getting approx one a day since my post above.

Comment 10 Stephen Gallagher 2014-09-12 12:55:55 UTC
Any progress on this? It's really quite irritating...

Comment 11 Steven Oliver 2014-11-04 18:45:08 UTC
I just tried updating my blog again since Wordpress 4.0 is out. Still broken. After going through the automated update process for 4.0 it still comes up with the "Welcome to 3.9.1"...

Comment 12 Stephen Gallagher 2014-11-24 15:47:25 UTC
This is back again now and this time I'm getting two messages every few hours telling me that my site was upgraded to both 3.8.5 and 4.0.1.

Comment 13 Eric Paris 2017-05-31 18:22:11 UTC
We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause.


Note You need to log in before you can comment on or make changes to this bug.