Page 1 of 1

SSD Profile Tool app removal

Posted: Sun Nov 25, 2018 7:20 am
by gnestor
I have a TS-431 (4 bay) NAS running firmware 4.3.5.0728 build 20181013. (I don't think the other items are relevant to this question, such as my computers OS)

I made the mistake of installing the "SSD Profiling Tool" (version 1.0.0696), which told me when I installed it that I was giving my permission to pass data from my NAS back to QNap, but it also told me that I could remove my permission for this by removing the tool. This made me assume that it was like many other apps and that I could just remove it whenever I wanted. That isn't the case, and when I reached out to the helpdesk they told me "it's a system function, it shouldn't be removed". (The other frustrating thing is that I've stopped the app numerous times, but find when I check a few weeks later that it has magically re-enabled itself). Needless to say I'm a bit annoyed.

I've shelled into the NAS and found the directory that the tool is installed in, but I don't think it's wise to just delete the directory. (It's in /mnt/ext/opt/SSDLabaratory I think).

Bottom line, does anyone know how to safely remove/uninstall this app? (I'm fine with using unix/linux commands if you tell me what I should type in).

Please help!

Re: SSD Profile Tool app removal

Posted: Sun Nov 25, 2018 7:25 am
by dolbyman
I think you can just stop//deactivate the tool .. then it should he as good as gone..minus the bit of space used for the program on disk

Re: SSD Profile Tool app removal

Posted: Wed Nov 28, 2018 1:27 pm
by gnestor
dolbyman wrote: Sun Nov 25, 2018 7:25 am I think you can just stop//deactivate the tool .. then it should he as good as gone..minus the bit of space used for the program on disk
Thanks, but tried this and it doesn't work. It auto-magically re-enables itself. See behavior below in xftroxgpx's post...I think he's starting to feel my frustration! As he steps through various attempts to keep it stopped/remove it, it just keep showing back up and re-enabling itself on boot up. (I think this is a borderline malicious app if there isn't a way for the user to disable/remove it after installing it from the QNAP app store.)

Re: SSD Profile Tool app removal

Posted: Thu Dec 06, 2018 10:58 am
by gnestor
The help desk gave me a couple things to try. Here's what they told me to do:

"To remove it, you will have to open an ssh session.
Then enter cd /mnt/HDA_ROOT/.config/
From there enter vi qpkg.conf and remove everything from [SSDLaboratory] and below it by pressing dd on each line.
After that enter cd /mnt/ext/opt/ and enter rm -r SSDLaboratory/"

BUT...it magically re-appears after reboot (the directory is back and the qpkg.conf file has the SSDLaboratory entry back in it at the bottom). I went back a few times and he talked to his tech lead, and the word is that this is part of the firmware in 4.3.5+, and the only way to remove it is to revert to firmware 4.3.4 (which I am considering doing).

If anyone figures out how to permanently get rid of this, I'd much appreciate the post!

Re: SSD Profile Tool app removal

Posted: Sat Dec 18, 2021 1:07 pm
by contracn
SSD Profile Tool app removal In QTS5.0

1.download SSD Profile app in https://www.qnap.com/en-us/app_center/
2.Install Manually in App Center
3.Start SSD Profile app ,stop
4.then remove

Re: SSD Profile Tool app removal

Posted: Fri Feb 18, 2022 12:44 am
by Johann78
I moved to QuTS hero and than the manual App install dont work, as the app is only for QTS but not for QuTS hero...

so I found several files and directorys to edit or remove manually ...

/mnt/HDA_ROOT/.config/ [SSDLaboratory]

search for SSDProfiling in such files :
cd /etc
sudo grep -i SSDP */*
then edit the files
sudo vi
sudo vi /etc/init.d/init_qpkg.sh
sudo vi /etc/init.d/tr-init_final.sh.orig
sudo vi /etc/rcS.d/S57init_qpkg
...

# install SSDProfilingTool qpkg
[ ! -f ${UPDATEPKG_DIR}/SSDProfilingTool.bin ] || /sbin/qpkg_cli -m ${UPDATEPKG_DIR}/SSDProfilingTool.bin -q --keep 2>/dev/null 1>/dev/null
UPDATEPKG_DIR="${ROOT_PART}/update_pkg"
ROOT_PART="/mnt/HDA_ROOT"

/mnt/ext/opt/

config/qpkg_code_signing.conf:filepath = /share/ZFS530_DATA/.qpkg/.installation/SSDProfilingTool_1.0.1861_20211221_x86_64.qpkg
init.d/mountall: [ ! -f ${UPDATEPKG_DIR}/SSDProfilingTool.bin ] || /bin/touch /var/qfunc/SSDProfilingTool.update &
if [ x`/sbin/getcfg SSDLaboratory Enable -f /etc/config/qpkg.conf` = xTRUE ]; then
rcS.d/S30mountall: [ ! -f ${UPDATEPKG_DIR}/SSDProfilingTool.bin ] || /bin/touch /var/qfunc/SSDProfilingTool.update &
config/qanalytic.conf:[ssdprofilingtool]

[ssdprofilingtool]
CACHE_PATH = /mnt/ext/opt/SSDLaboratory/.@analytic

after that it was gone ...
don't know why QNAP keeps it when migration from QTS to QuTS hero ...

Re: SSD Profile Tool app removal

Posted: Fri Feb 18, 2022 12:50 am
by dolbyman
Was not aware that you can migrate, as it's ext vs zfs