Tagsistant icon indicating copy to clipboard operation
Tagsistant copied to clipboard

cannot get tagsistant v.0.8.2 working under Ubuntu 18.04

Open zkol opened this issue 5 years ago • 1 comments

After reading the docs, I wanted to start with tagsistant. Luckily configure, make, install from GIT with current Ubuntu 18.04. LTS worked flawless, but for a beginner it is almost not usable because of error messages (see below the protocol of my struggle).

skol@karg:/home$ tagsistant /home/files

 *** saving repository in /home/skol/.tagsistant/

 Tagsistant (tagfs) v.0.8.2 (codename: Athens)
 Build: 580.20160417.000037 FUSE_USE_VERSION: 26
 (c) 2006-2014 Tx0 <[email protected]>
 For license information, see tagsistant -h

 Using default plugin dir: /usr/local/lib/
 Loaded plugin:      application/pdf -> libtagsistant_pdf-0.1.so
 Loaded plugin:            image/gif -> libtagsistant_gif-0.1.so
 Loaded plugin:      application/ogg -> libtagsistant_ogg-0.1.so
 Loaded plugin:              image/* -> libtagsistant_photo-0.1.so
 Loaded plugin:           audio/mpeg -> libtagsistant_mp3-0.1.so
 Loaded plugin:            text/html -> libtagsistant_html-0.1.so
 Loaded plugin:      application/xml -> libtagsistant_xml-0.1.so
 Loaded plugin:           image/jpeg -> libtagsistant_jpeg-0.1.so
 Loaded plugin:                  */* -> libtagsistant_generic-0.1.so
 Loaded plugin:            image/png -> libtagsistant_png-0.1.so

 *** going in the background (PID: 27251) ***
skol@karg:/home$ no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !

skol@karg:/home$ ls -al

no tables in statement !
insgesamt 92
drwxr-xr-x 12 root         root          4096 Jul 10 10:51 .
drwxr-xr-x 26 root         root          4096 Jul  5 07:47 ..
drwxr-xr-x  2 skol         skol          4096 Jul 10 10:52 files
drwx------  2 root         root         16384 Mär  6  2016 lost+found
drwx-w---- 86 skol         skol         32768 Jul 10 10:52 skol

skol@karg:/home$ cd files

no tables in statement !
no tables in statement !

skol@karg:/home/files$ ls

no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
alias  archive  export  relations  stats  store  tags

skol@karg:/home/files$ uname -a Linux karg 4.15.0-109-lowlatency #110-Ubuntu SMP PREEMPT Tue Jun 23 03:19:37 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

skol@karg:/home/files$ df -k

no tables in statement !
Dateisystem         1K-Blöcke   Benutzt Verfügbar Verw% Eingehängt auf
udev                  3976508         0   3976508    0% /dev
tmpfs                  802504      1624    800880    1% /run
/dev/sda5            21294972  19252468    937712   96% /
tmpfs                 4012504    270044   3742460    7% /dev/shm
tmpfs                    5120         4      5116    1% /run/lock
tmpfs                 4012504         0   4012504    0% /sys/fs/cgroup
/dev/sda1             1032088    301060    678600   31% /boot
/dev/sda3            12254384   5512316   6096540   48% /var
/dev/sda6           433359648 392117892  19205328   96% /home
tmpfs                  802504     13872    788632    2% /tmp
tmpfs                  802500        40    802460    1% /run/user/1000
tagsistant          433359648 392117892  19205328   96% /home/files

NOTE: accessing /home/files/store/@ with a graphical file manager (Thunar 1.6.15) always returns an "error" file containing: Syntax error: null query. Specify at least one tag between store/ and @/ or @@/.

QUESTION: Is there a way to get rid of the error messages from CLI and Thunar?

What I tried so far (even if Google is not clear about the need of the fuse group for current Ubuntu):

skol@karg:/home/files/store/schule/@$ sudo groupadd fuse skol@karg:/home/files/store/schule/@$ sudo usermod -a -G fuse skol skol@karg:/home/files/store/schule/@$ cd /home skol@karg:/home$ fusermount -u /home/files skol@karg:/home$ rm -fr /home/skol/.tagsistant/

(To avoid conflicts, I wanted to have everything out of my home directory and created /home/.REPO/files instead with a corresponding entry in /etc/fstab)

skol@karg:/home$ ls -la .REPO

insgesamt 12
drwxr-xr-x  3 root root 4096 Jul 10 14:05 .
drwxr-xr-x 13 root root 4096 Jul 10 14:05 ..
drwxr-xr-x  2 skol skol 4096 Jul 10 14:05 files

skol@karg:/home$ cat /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
tagsistant#/home/.REPO/files	/home/files	fuse	noatime,user,uid=1000,gid=1000	0	0

tagsistant /home/.REPO/files /home/files

*** saving repository in /home/.REPO/files

Tagsistant (tagfs) v.0.8.2 (codename: Athens)
Build: 580.20160417.000037 FUSE_USE_VERSION: 26
(c) 2006-2014 Tx0 <[email protected]>
For license information, see tagsistant -h

Using default plugin dir: /usr/local/lib/
Loaded plugin:      application/pdf -> libtagsistant_pdf-0.1.so
Loaded plugin:            image/gif -> libtagsistant_gif-0.1.so
Loaded plugin:      application/ogg -> libtagsistant_ogg-0.1.so
Loaded plugin:              image/* -> libtagsistant_photo-0.1.so
Loaded plugin:           audio/mpeg -> libtagsistant_mp3-0.1.so
Loaded plugin:            text/html -> libtagsistant_html-0.1.so
Loaded plugin:      application/xml -> libtagsistant_xml-0.1.so
Loaded plugin:           image/jpeg -> libtagsistant_jpeg-0.1.so
Loaded plugin:                  */* -> libtagsistant_generic-0.1.so
Loaded plugin:            image/png -> libtagsistant_png-0.1.so

*** going in the background (PID: 2063) ***
skol@karg:/home$ no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !

skol@karg:/home$ cd files

no tables in statement !
no tables in statement !

skol@karg:/home/files$ mkdir tags/schule

no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !

skol@karg:/home/files$ echo "test" > /home/files/store/schule/@/TEST.txt

no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
skol@karg:/home/files$ no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !

skol@karg:/home/files$ ls store/schule/@

no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
TEST.txt

skol@karg:/home/files$ ls store/schule/@ 2>/dev/null

no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
TEST.txt

skol@karg:/home/files$ echo $? 0

Redirecting stderr is not possible as the message is not meant as error (but redirecting is no solution anyway)

After reboot it was not mounted automatically:

skol@karg:/home$ sudo mount -a

 *** saving repository in /home/.REPO/files
 *** Adding FUSE options rw,noatime,noexec,nosuid,nodev,uid=1000,gid=1000

 Tagsistant (tagfs) v.0.8.2 (codename: Athens)
 Build: 580.20160417.000037 FUSE_USE_VERSION: 26
 (c) 2006-2014 Tx0 <[email protected]>
 For license information, see tagsistant -h

 Using default plugin dir: /usr/local/lib/
 Loaded plugin:      application/pdf -> libtagsistant_pdf-0.1.so
 Loaded plugin:            image/gif -> libtagsistant_gif-0.1.so
 Loaded plugin:      application/ogg -> libtagsistant_ogg-0.1.so
 Loaded plugin:              image/* -> libtagsistant_photo-0.1.so
 Loaded plugin:           audio/mpeg -> libtagsistant_mp3-0.1.so
 Loaded plugin:            text/html -> libtagsistant_html-0.1.so
 Loaded plugin:      application/xml -> libtagsistant_xml-0.1.so
 Loaded plugin:           image/jpeg -> libtagsistant_jpeg-0.1.so
 Loaded plugin:                  */* -> libtagsistant_generic-0.1.so
 Loaded plugin:            image/png -> libtagsistant_png-0.1.so

 *** going in the background (PID: 2629) ***
no tables in statement !
no tables in statement !
skol@karg:/home$ no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
no tables in statement !
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option

skol@karg:/home$ ls files ls: Zugriff auf 'files' nicht möglich: Keine Berechtigung

skol@karg:/home$ ls -al

ls: Zugriff auf 'files' nicht möglich: Keine Berechtigung
insgesamt 92
drwxr-xr-x 13 root         root          4096 Jul 10 14:05 .
drwxr-xr-x 26 root         root          4096 Jul  5 07:47 ..
d?????????  ? ?            ?                ?            ? files
drwx------  2 root         root         16384 Mär  6  2016 lost+found
drwxrwxr-x 28 skol         skol          4096 Apr 26  2019 opt
drwxr-xr-x  3 root         root          4096 Jul 10 14:05 .REPO
drwx-w---- 85 skol         skol         32768 Jul 10 15:10 skol

skol@karg:/home$ sudo umount /home/files skol@karg:/home$ ls -al

insgesamt 96
drwxr-xr-x 13 root         root          4096 Jul 10 14:05 .
drwxr-xr-x 26 root         root          4096 Jul  5 07:47 ..
drwxr-xr-x  2 skol         skol          4096 Jul 10 10:51 files
drwx------  2 root         root         16384 Mär  6  2016 lost+found
drwxr-xr-x  3 root         root          4096 Jul 10 14:05 .REPO
drwx-w---- 85 skol         skol         32768 Jul 10 15:10 skol

At this point I give up. Any help to get this working?

zkol avatar Jul 10 '20 13:07 zkol

Hi. The "no tables in statement !" error messages all come from tagsistant, not the other commands you're running, and I think they're harmless. To not see them, run it in a separate terminal or run

tagsistant | grep -v 'no tables in statement !'

nahoj avatar Jul 18 '21 07:07 nahoj