Bug 915984 - Wordpress quickstart changes have a couple of issues
Summary: Wordpress quickstart changes have a couple of issues
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Wei Sun
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-26 22:40 UTC by Nam Duong
Modified: 2015-05-15 02:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-15 14:05:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
errortheme (19.38 KB, image/png)
2013-02-27 10:48 UTC, Wei Sun
no flags Details
righttheme (22.49 KB, image/png)
2013-03-04 03:21 UTC, Wei Sun
no flags Details

Description Nam Duong 2013-02-26 22:40:41 UTC
Description of problem:
The most recent https://github.com/openshift/wordpress-example/ (as I created an app on 2/26) has a couple of issues.  Not sure if they were intentional:
1)  User needs to complete the install and provide a password  
2)  Then $OPENSHIFT_DATA_DIR/CREDENTIALS file shows the incorrect password  (still shows:  "WordPress application credentials\n\tuser: admin\n\tpassword: OpenShiftAdmin\n")  
3)  The WP admin UI shows error:  
ERROR: The themes directory is either empty or doesn’t exist. Please check your installation.  

NOTE that I logged onto the gear and it shows the the $OPENSHIFT_REPO_DIR/php/wp-content/themes/ dir is correctly ln'd to $OPENSHIFT_DATA_DIR/themes and I'm able to install themes using the WP admin pages.

Comment 1 Nam Duong 2013-02-26 22:41:17 UTC
Thanks to @drwelby for pointing out the issues!

Comment 2 Wei Sun 2013-02-27 10:48:06 UTC
Created attachment 703364 [details]
errortheme

Test this bug on devenv_2866,this bug can be reproduced.

Step:
1.create a wordpress quickstart follow https://github.com/openshift/wordpress-example/
2.installation and set password
3.check $OPENSHIFT_DATA_DIR/CREDENTIALS
4.visit website

Result:
3.[wordpress-2866wsun3.dev.rhcloud.com ~]\> cat $OPENSHIFT_DATA_DIR/CREDENTIALS
WordPress application credentials\n\tuser: admin\n\tpassword: OpenShiftAdmin\n

4.refer to attachment.

Comment 3 Clayton Coleman 2013-02-27 21:45:19 UTC
All of these are expected, except CREDENTIALS, which I'll delete.

Comment 4 Clayton Coleman 2013-02-28 20:31:11 UTC
Fixed in my pull request https://github.com/openshift/wordpress-example/pull/28

Comment 5 Wei Sun 2013-03-01 10:09:15 UTC
We will verify this bug after pull request being merged.

Comment 6 Wei Sun 2013-03-04 03:21:08 UTC
Created attachment 704751 [details]
righttheme

Verified on INT(devenv_2886)

Step:
1.create a wordpress quickstart follow https://github.com/openshift/wordpress-example/
2.installation and set password
3.check $OPENSHIFT_DATA_DIR/CREDENTIALS
4.visit website

Result:
3.[wordpress-wsun3int.int.rhcloud.com ~]\> cat $OPENSHIFT_DATA_DIR/CREDENTIALS
cat: /var/lib/openshift/5134107b03ef64021a00035e/app-root/data//CREDENTIALS: No such file or directory
4.Don't have "ERROR: The themes directory is either empty or doesn’t exist. Please check your installation.  " .Please refer to attachment.


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