Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
__TOC__  <b>NOTE:</b> For Fedora, all All Greyhole commands must be executed as ''root '' user. Ubuntu requires commands be or prefixed with <code>sudo</code>.
__TOC__Gathering good troubleshooting information when reporting an issue with Greyhole, or asking for help. You should provide the following in a text file or use fpaste or [https://pastebin.com/ Pastebin] (please '''DO NOT''' post excessive amounts of text content).
Gathering Good Troubleshooting Information when reporting an issue with Provide the info below to [https://greyhole.freshdesk.com/support/home Greyholesupport on Freshdesk], or asking for helpnot [https://forums. You should provide the followingamahi.org Amahi Forums]:
1. What version of OS, Samba & Greyhole are you running?
fpaste /etc/samba/smb.conf
fpaste /etc/greyhole.conf
 
::'''NOTE:''' <code>yum</code> (deprecated) has been replaced with <code>dnf</code> as the package manager for Fedora 23 and greater.
<blockquote><u>Ubuntu:</u></blockquote>
4. The list drives in your storage pool (per Amahi platform):
mysql -u root -phda p -e "select * from disk_pool_partitions" hda_production ::'''WARNING:''' Please see [[Database Root Password]] for the appropriate login password.
5. A list of the directories on the root of the drives included in your storage pool, obtained with the following command (provide a paste URL):
<blockquote><u>Fedora</u></blockquote>
mysql -u root -phda p -e "select concat(path, '/gh') from disk_pool_partitions" \
hda_production | grep -v 'concat(' | xargs ls -la | fpaste
 
::'''WARNING:''' Please see [[Database Root Password]] for the appropriate login password.
<blockquote><u>Ubuntu</u></blockquote>
6. The Greyhole work queue:
greyhole --view-queue
:If the above command returns nothing, execute the following to see the problem:
tail /var/log/greyhole.log
Stop the greyhole daemon<br />
<blockquote><u>Fedora 19</u></blockquote>
systemctl stop amahi-greyhole.service
Restart the greyhole daemon<br />
<blockquote><u>Fedora 19</u></blockquote>
systemctl start amahi-greyhole.service
Restart the greyhole daemon<br />
<blockquote><u>Fedora 19</u></blockquote>
systemctl start amahi-greyhole.service
12,424

edits