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.
Thanks to @drwelby for pointing out the issues!
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.
All of these are expected, except CREDENTIALS, which I'll delete.
Fixed in my pull request https://github.com/openshift/wordpress-example/pull/28
We will verify this bug after pull request being merged.
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.