First of all, everything is back to Normal, and working fine.  However,
in the process of getting everything going I encountered several
wrinkles, some of which require some clarifying.

The task was to back up Qlogitech Media Server (QLMS), re-initialize the
QNAP TS-212P device running QTS 4.3.3.1624, and restore  QLMS with the
original settings, add-ons etc. The reason was to get rid of some
malware detected by Malware Remover, allegedly deleted, but somehow
reappearing after every reboot of the device.   

1. BACKING UP QLMS
Digimaster pointed to the backup process... basically to run:

Code:
--------------------
    ./QLogitechMediaServer.sh backup
--------------------
 

I did this several times; a backup file QLMS_BCKUP_8.2.tgz was created
every time, but in the process of running the command, the following
error was generated three times in each run:
/bin/grep: invalid option – w

The backup file QLMS_BCKUP_8.2.tgz “looked” complete and safe, but I
sought reassurance on this thread that the file was useable (in spite of
the errors).  After some time had passed without the reassurance, I
decided to take the plunge.

2. REINITIALIZING THE DEVICE:
According to
https://www.qnap.com/en/how-to/knowledge-base/article/the-different-ways-of-resetting-your-nas-explained,
there are three 'levels' of re-initialization:
1. *Restore Factory Defaults & Format All Volumes*
2. *Reset Settings*   (No formatting)
3. *Reinitialize NAS * (This includes clearing the partitions)
Since the reason for going through this process was to get rid of a
persistent but unidentified risky malware, I chose the first option
*Restore Factory Defaults & Format All Volumes* by pressing the
corresponding button in the QTS's Control Panel.  

I left the machine for a while expecting to find the device back in its
factory default shape upon restarting.  Instead, while all settings were
gone, none of the files on the device had been deleted.  I got an error
message *[Mirror Disk Volume 1 2] formatting failed*.

Still, I re-installed and ran Malware Remover as a first step. No
malware was found. I rebooted and still no malware. So I'm operating now
on the assumption that a mere restoring of Factory defaults was
sufficient to clear the malware.  

3. RESTORING THE QLMS
Now back to restoring my QLMS. With the QLMS_BCKUP_8.2.tgz file in the
Public folder, I navigated to */share/*/.qpkg/LogitechMediaServer* and
ran 
Code:
--------------------
    ./QLogitechMediaServer.sh restore
--------------------


Errors again: "important files not found, must reinstall” (paraphrasing,
not exact words).  Tried a second time, same result.

-[As an aside, if the reformatting that I was directed to do by the QNAP
technician had worked, I would not have had the
/share/*/.qpkg/LogitechMediaServer folder to go to to run the
./QLogitechMediaServer.sh restore !!!! ]-

With no other option, I downloaded a fresh version of the QLMS from
digimaster's repo and installed it.  Everything worked. All settings
were restored.



digimaster wrote: 
> Yes there is, logon by ssh shell.
> Do ( cd /share/*/.qpkg/LogitechMediaServer ), now do (
> ./QLogitechMediaServer.sh backup ).
> A backup will be mad eof the current settings and plugins, which can be
> found in /share/*//Public/.
> Here you will see  QLMS_BCKUP_*.*tgz file, download them to a usb stick,
> or you' re laptop/desktop.
> 
> Now if you reset and reinstalled everything on you're QNap, place them
> back in the same directory.
> Now again logon you' re QNap, place the files back in share/*//Public/.
> Do ( cd /share/*/.qpkg/LogitechMediaServer ), now do (
> ./QLogitechMediaServer.sh restore ) and ( ./QLogitechMediaServer.sh
> restart )
> 
> If everything went good, its back with the old settings and plugings.
> 
> Good luck.


------------------------------------------------------------------------
George_C's Profile: http://forums.slimdevices.com/member.php?userid=64770
View this thread: http://forums.slimdevices.com/showthread.php?t=108702

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to