aboutsummaryrefslogtreecommitdiffstats
path: root/.openshift/README.md
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-12 17:29:34 +1100
committerredmatrix <redmatrix@redmatrix.me>2015-10-12 17:29:34 +1100
commitdcdcba9f1f22f0ea2fe609192493a981acbf3ca0 (patch)
tree694832f5e83987a8cb6807ffc1d7b688dd4ed82b /.openshift/README.md
parentdec37b3dbe07d373d6bfaeb630bafb755371aace (diff)
parentdf45374041a9c955eb2ff49ba07959813360c057 (diff)
downloadvolse-hubzilla-dcdcba9f1f22f0ea2fe609192493a981acbf3ca0.tar.gz
volse-hubzilla-dcdcba9f1f22f0ea2fe609192493a981acbf3ca0.tar.bz2
volse-hubzilla-dcdcba9f1f22f0ea2fe609192493a981acbf3ca0.zip
Merge pull request #79 from HaakonME/master
Updated Help pages to include Hubzilla on OpenShift
Diffstat (limited to '.openshift/README.md')
-rw-r--r--.openshift/README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/.openshift/README.md b/.openshift/README.md
index c778b8f32..535b9bdd1 100644
--- a/.openshift/README.md
+++ b/.openshift/README.md
@@ -9,7 +9,7 @@ rhc app-create your_app_name php-5.4 mysql-5.5 cron phpmyadmin --namespace your_
Make a note of the database username and password OpenShift creates for your instance, and use these at https://your_app_name-your_domain.rhcloud.com/ to complete the setup.
-NOTE: PostgreSQL is NOT support yet.
+NOTE: PostgreSQL is NOT supported by the deploy script yet.
Update
To update, consider your own workflow first. I have forked Hubzilla code into my GitHub account to be able to try things out, this remote repo is called origin. Here is how I fetch new code from upstream, merge into my local repo, then push the updated code both into origin and the remote repo called openshift.
@@ -24,9 +24,17 @@ Symptoms of need for MySQL database administration are:
- you can login, but your channel posts are not visible. This can mean your item table is marked as crashed.
- you can login and you can see your channel posts, but apparently nobody is getting your posts, comments, likes and so on. This can mean your outq table is marked as crashed.
+You can check your OpenShift logs by doing
+
+```
+rhc tail -a your_app_name -n your_domain -l your@email.address -p your_account_password
+```
+
+and you might be able to confirm the above suspicions about crashed tables, or other problems you need to fix.
+
###How to fix crashed tables in MySQL
Using MySQL and the MyISAM database engine can result in table indexes coming out of sync, and you have at least two options for fixing tables marked as crashed.
-- Use the database username and password OpenShift creates for your instance at #^https://your_app_name-your_domain.rhcloud.com/phpmyadmin/ to login via the web into your phpMyAdmin web interface, click your database in the left column, in the right column scroll down to the bottom of the list of tables and click the checkbox for marking all tables, then select Check tables from the drop down menu. This will check the tables for problems, and you can then checkmark only those tables with problems, and select Repair table from the same drop down menu at the bottom.
+- Use the database username and password OpenShift creates for your instance at https://your_app_name-your_domain.rhcloud.com/phpmyadmin/ to login via the web into your phpMyAdmin web interface, click your database in the left column, in the right column scroll down to the bottom of the list of tables and click the checkbox for marking all tables, then select Check tables from the drop down menu. This will check the tables for problems, and you can then checkmark only those tables with problems, and select Repair table from the same drop down menu at the bottom.
- You can login to your instance with SSH - see OpenShift for details - then
```