Page 1 of 1

Read before posting: Greyhole troubleshooting

Posted: Tue Nov 09, 2010 6:09 am
by gboudreau
When reporting an issue with Greyhole, or asking for help regarding Greyhole, you should provide the information as detailed in the Greyhole Troubleshooting guide.

Also, please provide some context to how your issue happened, so that it can be diagnosed better.

Re: Read before posting: Greyhole troubleshooting

Posted: Sun Oct 21, 2012 5:45 am
by smith7fl
The 1st line on the referenced page for Greyhole troubleshooting:

Code: Select all

​uname -r; rpm -q samba hda-greyhole​
does not work if you are using ubuntu without rpm installed.
uname -r; rpm -q samba hda-greyhole
3.2.0-32-generic
The program 'rpm' is currently not installed. You can install it by typing:
sudo apt-get install rpm

Best Regards,
jim

Re: Read before posting: Greyhole troubleshooting

Posted: Sun Oct 21, 2012 6:04 am
by bigfoot65
That page is Fedora specific. We need to add Ubuntu specific guidance. If you are willing to help, we would greatly appreciate it.

Re: Read before posting: Greyhole troubleshooting

Posted: Sun Oct 21, 2012 11:01 am
by gboudreau
Myself, I now use a better version of the commands in the wiki, packaged as an easy to run shell script.
See https://github.com/gboudreau/Greyhole/wiki/GetHelp

It should work on all Linux variations, including all Amahi versions.
(But might require some changes, if Amahi still use the hda-greyhole package.)

Re: Read before posting: Greyhole troubleshooting

Posted: Mon Jan 09, 2017 11:01 pm
by taa
I've done a careful comparison of the following:

1. Fedora-specific info requested by Greyhole Troubleshooting steps 1-6 only.

2. The output of

Code: Select all

apaste --sysinfo
3. The output of gboudreau's script, which is the execution of:

Code: Select all

curl -Ls http://bit.ly/gh-infos | sudo sh

Not surprisingly, there's a fair amount of duplicate info.

bigfoot65, I realize that the --sysinfo is likely used to troubleshoot non-greyhole issues as well, but I'm wondering if you (or whomever maintains the apaste utility) would be willing to add the following. This way, users could provide two URLs to provide all the info needed for troubleshooting greyhole issues.

Blank lines added for readability.

Code: Select all

systemctl status mariadb rpm -q amahi-greyhole fdisk -l mysql -u root -phda -e "select * from disk_pool_partitions" hda_production mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la
apaste's output might include the rpm amahi-greyhole info, but only if it's within the "Last 20 packages installed".

Only step 7 from Greyhole Troubleshooting would not be included as it is for troubleshooting a specific file.

This would substantially reduce the number of requested items at Greyhole Troubleshooting, which is rather overwhelming. If apaste could be modified in the way I'm suggesting above, I'd be glad to update the Greyhole Troubleshooting wiki page. I'm assuming the Ubuntu info is going away so that could be delegated to an archival link, leaving only Fedora-specific instructions.



Edited by me to add: systemctl status mariadb

Re: Read before posting: Greyhole troubleshooting

Posted: Tue Jan 10, 2017 11:09 am
by bigfoot65
Please submit a bug report and identify this as a feature request.

It will be considered.