This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE 4.13 - Dolphin - Get FIND to work on NAS

Tags: None
(comma "," separated)
mykurtaccount
Registered Member
Posts
19
Karma
0
I have a NAS attached to my computer with folders mapped/mounted under my username

/home/kurt/NAS/DS1813+/Comics
/home/kurt/NAS/DS1813+/Music
etc..etc

These are mounted via my /etc/fstab file:

//192.168.0.200/Video /home/kurt/NAS/DS1813+/Video cifs user,noauto,iocharset=utf8,uid=1001,gid=1001,credentials=/home/kurt/.cifscredentials,sec=ntlm,file_mode=0775,dir_mode=0775 0 0
//192.168.0.200/Comics /home/kurt/NAS/DS1813+/Comics cifs user,noauto,iocharset=utf8,uid=1001,gid=1001,credentials=/home/kurt/.cifscredentials,sec=ntlm,file_mode=0775,dir_mode=0775 0 0
//192.168.0.200/Books /home/kurt/NAS/DS1813+/Books cifs user,noauto,iocharset=utf8,uid=1001,gid=1001,credentials=/home/kurt/.cifscredentials,sec=ntlm,file_mode=0775,dir_mode=0775 0 0
//192.168.0.200/Music /home/kurt/NAS/DS1813+/Music cifs user,noauto,iocharset=utf8,uid=1001,gid=1001,credentials=/home/kurt/.cifscredentials,sec=ntlm,file_mode=0775,dir_mode=0775 0 0

I used to be able to use DOLPHIN's FIND/SEARCH feature to find files within these folders however when I use it now it doesn't find anything even if I use the exact name of the file to be found.

The find feature still work OK for files on the local disc.

In System Settings --> Desktop Search the only location in the "Do not search in these locations" box is an external USB hard drive.

How can I get this to work again please.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you initiate the search when already in one of the NAS mounted directories, does that have any effect on whether the search is performed or not?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
vHanda
KDE Developer
Posts
84
Karma
0
OS
Please try to follow this guide over here - http://community.kde.org/Baloo/Debuggin ... ch_results and see if you can find any info about the file with the tools recommend. We need to know if it is a problem with Baloo or with the Dolphin Baloo integration.
mykurtaccount
Registered Member
Posts
19
Karma
0
bcooksley wrote:If you initiate the search when already in one of the NAS mounted directories, does that have any effect on whether the search is performed or not?


Nope - Doesn't matter is I start the search on the local drive or whether I start the search from a NAS directory. Nothing is found from the NAS.
mykurtaccount
Registered Member
Posts
19
Karma
0
vHanda wrote:Please try to follow this guide over here - http://community.kde.org/Baloo/Debuggin ... ch_results and see if you can find any info about the file with the tools recommend. We need to know if it is a problem with Baloo or with the Dolphin Baloo integration.


I have a file on the NAS as follows:

/home/kurt/NAS/DS1813+/Comics/s/Spider-Man/Amazing Spider-Man/Amazing Spider-Man - Big Time TPB.cbr

balooshow /home/stephen/NAS/DS1813+/Comics/s/Spider-Man/Amazing\ Spider-Man/Amazing\ Spider-Man\ -\ Big\ Time\ TPB.cbr
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QString)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QString)
No index information found

I have no excluded folders apart from a USB attached drive.
The baloo process is running:

kurt 5573 1 0 Apr22 ? 00:04:14 /usr/bin/baloo_file
kurt 5630 5579 0 Apr22 ? 00:00:01 /usr/bin/akonadi_baloo_indexer --identifier akonadi_baloo_indexer
kurt 19675 5573 0 14:18 ? 00:00:00 /usr/bin/baloo_file_extractor 6056

baloosearch spider-man

4428 /home/kurt/Books/Part 5/Spider-Man Winter Special 1980 (Marvel-UK).cbr

4481 /home/kurt/Books/Part 5/Spider-Man Winter Special 1982 (Marvel-UK).cbr

4425 /home/kurt/Books/Part 5/Sensational Spider-Man 035 (2007) (Digital) (Zone-Empire).cbr

4426 /home/kurt/Books/Part 5/Sensational Spider-Man 040 (2007) (Digital) (Zone-Empire).cbr

4485 /home/kurt/Books/Part 5/Sensational Spider-Man 039 (2007) (Digital) (Zone-Empire).cbr

4486 /home/kurt/Books/Part 5/Sensational Spider-Man 038 (2007) (Digital) (Zone-Empire).cbr

4487 /home/kurt/Books/Part 5/Sensational Spider-Man 037 (2007) (Digital) (Zone-Empire).cbr

4488 /home/kurt/Books/Part 5/Sensational Spider-Man 036 (2007) (Digital) (Zone-Empire).cbr

4489 /home/kurt/Books/Part 5/Sensational Spider-Man 034 (2007) (Digital) (Zone-Empire).cbr

4490 /home/kurt/Books/Part 5/Sensational Spider-Man 033.2 (2012) (Digital) (Zone-Empire).cbr

So nothing from NAS only from local drive.
mykurtaccount
Registered Member
Posts
19
Karma
0
mykurtaccount wrote:I have a NAS attached to my computer with folders mapped/mounted under my username

/home/kurt/NAS/DS1813+/Comics
/home/kurt/NAS/DS1813+/Music
etc..etc

These are mounted via my /etc/fstab file:

//192.168.0.200/Video /home/kurt/NAS/DS1813+/Video cifs user,noauto,iocharset=utf8,uid=1001,gid=1001,credentials=/home/kurt/.cifscredentials,sec=ntlm,file_mode=0775,dir_mode=0775 0 0
//192.168.0.200/Comics /home/kurt/NAS/DS1813+/Comics cifs user,noauto,iocharset=utf8,uid=1001,gid=1001,credentials=/home/kurt/.cifscredentials,sec=ntlm,file_mode=0775,dir_mode=0775 0 0
//192.168.0.200/Books /home/kurt/NAS/DS1813+/Books cifs user,noauto,iocharset=utf8,uid=1001,gid=1001,credentials=/home/kurt/.cifscredentials,sec=ntlm,file_mode=0775,dir_mode=0775 0 0
//192.168.0.200/Music /home/kurt/NAS/DS1813+/Music cifs user,noauto,iocharset=utf8,uid=1001,gid=1001,credentials=/home/kurt/.cifscredentials,sec=ntlm,file_mode=0775,dir_mode=0775 0 0

I used to be able to use DOLPHIN's FIND/SEARCH feature to find files within these folders however when I use it now it doesn't find anything even if I use the exact name of the file to be found.

The find feature still work OK for files on the local disc.

In System Settings --> Desktop Search the only location in the "Do not search in these locations" box is an external USB hard drive.

How can I get this to work again please.


Apologies for bumping the thread but for me this is a MAJOR problem. I can only search my NAS with the command line and therefore lose any ability to drag and drop/organize via a GUI (Dolphin), Surely there MUST be a way for me to use Dolphin to search my NAS.

Am I doing somethin wrong. Is there something I'm not doing. I can't believe I'm the only one with attached NAS storage.

Again apologies.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I've moved this to the Dolphin forum so the Dolphin folks can comment on why this behaviour might be occurring.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
mykurtaccount
Registered Member
Posts
19
Karma
0
Well it seems to me to be a baloo failure.

I've now added the folder that my NAS is mapped to so that it is excluded from desktop search and I can now search my NAS.
freininghaus
Moderator
Posts
224
Karma
1
OS
bcooksley wrote:I've moved this to the Dolphin forum so the Dolphin folks can comment on why this behaviour might be occurring.


Sorry, but I have no idea what might be going wrong. This looks like it might be a Baloo issue.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Indeed, it definitely seems to be related to Baloo - or somewhere in the interaction between Dolphin / Baloo - as folders which Baloo is not explicitly excluded from but self-excludes (such as network mounts) should be covered by Dolphin's internal search functionality.

Is there an explicit API used by Dolphin to determine which directories Baloo is responsible for when conducting a search?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
freininghaus
Moderator
Posts
224
Karma
1
OS
bcooksley wrote:Is there an explicit API used by Dolphin to determine which directories Baloo is responsible for when conducting a search?

Yes, there is Baloo::IndexerConfig::shouldBeIndexed(const QString&), see

http://code.woboq.org/kde/kdelibs/baloo ... fig.h.html
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Okay, this is quite possibly a Baloo bug then. Going to move this back to the Semantic Desktop forum.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell