From df45374041a9c955eb2ff49ba07959813360c057 Mon Sep 17 00:00:00 2001 From: Haakon Meland Eriksen Date: Sun, 11 Oct 2015 14:32:01 +0200 Subject: Updated Hubzilla on OpenShift HOWTO with use of logging --- .openshift/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.openshift') diff --git a/.openshift/README.md b/.openshift/README.md index 3ed5fd595..535b9bdd1 100644 --- a/.openshift/README.md +++ b/.openshift/README.md @@ -24,6 +24,14 @@ 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. -- cgit v1.2.3