QSYNC Client rebooting every 30s - MX-Linux

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
Post Reply
Erolus
Starting out
Posts: 14
Joined: Wed Jan 13, 2021 5:46 am

QSYNC Client rebooting every 30s - MX-Linux

Post by Erolus »

SOFTWARE VERSIONS INSTALLED
- OS: Linux MX-21.1_ahs_x64 + XFCE
- xfce4-panel --version : xfce4-panel 4.16.3 (Xfce 4.16)
- NAS: TS-653D [5.0.0.1986 (2022-03-24)]
- QSYNC CENTRAL: 4.4.0.7
- Qsync Client Ubuntu 1.0.7: QNAPQsyncClientUbuntux64-1.0.7.0318

ISSUE
QNAPQsyncClientUbuntux64-1.0.7.0318 keeps rebooting itself every 15s-30s on MX-Linux.

HISTORY
- I was previously using Qsync Client Ubuntu 1.0.5 (1.0.5.0305) on my PC as version 1.0.6 (1.0.6.2624) I tried was buggy and was generating issues.
- Yesterday (16/04/22) I updated QSYNC-Central on the NAS to Qsync Central 4.4.0.6 after which Qsync Client Ubuntu 1.0.5 was not able to connect to the NAS anymore. :-(
- From the following page ( https://www.qnap.com/en-au/app_releasen ... syncServer ) I understand that Qsync Central 4.4.0.6 will only work with Qsync Client Ubuntu 1.0.7.
Therefore I had to install QNAPQsyncClientUbuntux64-1.0.7.0318.
- Since QNAPQsyncClientUbuntux64-1.0.7.0318 was installed I was able to restore the connection to the NAS but QNAPQsyncClientUbuntux64-1.0.7.0318 keeps restarting itself every 30s so it is impossible to work correctly with it!

I understand that unfortunatly QNAP is not testing compatibility with other distribution than Ubuntu. However if someone has an idea to make it work on MX-Linux I am ready to try anything.

Other question:
If I can't have QNAPQsyncClientUbuntux64-1.0.7.0318 to work, is it possible to download other PREVIOUS QNAPQsyncClientUbuntux64-1.0.7.**** versions which may not have the same issues?
On the release notes of https://www.qnap.com/en-au/utilities/essentials I was not able to find any version number.

The only link is the latest one (1.0.7.0318): https://download.qnap.com/Storage/Utili ... 7.0318.deb

Thanks a lot
You do not have the required permissions to view the files attached to this post.
Erolus
Starting out
Posts: 14
Joined: Wed Jan 13, 2021 5:46 am

Re: QSYNC Client rebooting every 30s - MX-Linux

Post by Erolus »

Hi Paul,
Thanks for taking the time to help.

Yes, this is the issue.
When the qsync app is launched, it appears in the system tray then connects, then disappear (closes), then reappears again (re-launch)...
I installed it on 2 different computers with MX-21.1_ahs_x64 + XFCE, same issue.
Erolus
Starting out
Posts: 14
Joined: Wed Jan 13, 2021 5:46 am

Re: QSYNC Client rebooting every 30s - MX-Linux

Post by Erolus »

I did some experimentations on 2 other computer with exactly the same install of MX-21.1_ahs_x64 + XFCE:

1- Installing QNAPQsyncClientUbuntux64-1.0.7.0318 on a computer that did not have QNAPQsyncClientUbuntux64 before
=> Works perfectly

2- Installing on a third computer that had Qsync Client Ubuntu 1.0.5.0305 by doing the following commands before:
sudo mv /usr/local/bin/QNAP/ /usr/local/bin/QNAP_OLD/
rm -rf ~/.local/share/QNAP/
rm -rf ~/.config/QNAP/
=> Works perfectly

2- Installing on a computer-1 and computer-2 that have "looping' QNAPQsyncClientUbuntux64-1.0.7.0318 by doing the following commands before:
sudo mv /usr/local/bin/QNAP/ /usr/local/bin/QNAP_OLD/
rm -rf ~/.local/share/QNAP/
rm -rf ~/.config/QNAP/
=> STILL REBOOTING

Here is the terminal output when ran in terminal:
============================================
$ /usr/local/bin/QNAP/QsyncClient/Qsync.sh
SubPorcess console: "0.999904"
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
"[2022/04/17 08:26:54] [Debug] [QFileAPI] CQQtFile::Open (strPathName=/home/user/.local/share/QNAP/Qsync/FileUpdateLog.db)"
"[2022/04/17 08:26:54] [Debug] [QFileAPI] CQQtFile::Close (strPathName=/home/user/.local/share/QNAP/Qsync/FileUpdateLog.db)"
"[2022/04/17 08:26:54] [Debug] [QsyncApp] QsyncConfigSettingTable::Initialize sqlite3_step (create table LogFileInfo) success"
"[2022/04/17 08:26:54] [Debug] QsyncWindow::tutkInit(P2PTunnelAgentInitialize start)"
"[2022/04/17 08:26:54] [Debug] QsyncWindow::tutkInit(P2PTunnelAgentInitialize end)"
"[2022/04/17 08:26:54] [Debug] QsyncWindow::tutkInit m_nTunnelAgentInitRet = 0"
"[2022/04/17 08:26:54] [Debug] [QsyncApp] QsyncConfigSettingTable::Initialize sqlite3_step (create table ContactEmail) success"
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
Could not parse stylesheet of object QLabel(0x55a93fddc560)
Could not parse stylesheet of object QLabel(0x55a93fddc560)
Could not parse stylesheet of object QLabel(0x55a93fddc560)
QLayout: Attempting to add QLayout "" to InitPage3 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage3 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage3 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage3 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage3 "", which already has a layout
Could not parse stylesheet of object QLabel(0x55a93fc37140)
Could not parse stylesheet of object QLabel(0x55a93fc37140)
QLayout::addChildLayout: layout "" already has a parent
Could not parse stylesheet of object QLabel(0x55a93fc37140)
"[2022/04/17 08:27:24] [Debug] QsyncWindow::checkMemory open file count - 1178 files, Private Memory - 28 MB"
"[2022/04/17 08:27:24] [Debug] QsyncWindow::checkMemory open file count > 1000 files, out_of_memory > 75 MB"
"[2022/04/17 08:27:24] [Debug] QsyncWindow::tutkUnInit(P2PTunnelAgentDeInitialize start)"
"[2022/04/17 08:27:25] [Debug] QsyncWindow::tutkUnInit(P2PTunnelAgentDeInitialize end)"
Performing application reboot...
"/usr/local/bin/QNAP/QsyncClient/Qsync"
"[2022/04/17 08:27:25] [Error] [QsyncApp] QsyncWindow::doQuit Performing application reboot..."
Terminated
Last edited by Erolus on Sun Apr 17, 2022 7:30 am, edited 1 time in total.
Erolus
Starting out
Posts: 14
Joined: Wed Jan 13, 2021 5:46 am

Re: QSYNC Client rebooting every 30s - MX-Linux

Post by Erolus »

OTHER TRY ON PC-1 with "looping' QNAPQsyncClientUbuntux64-1.0.7.0318:

Removing everything QNAP:
sudo apt remove qnapqsyncclient
sudo rm -rf /usr/local/bin/QNAP/
rm -rf ~/.local/share/QNAP/
rm -rf ~/.config/QNAP/
sudo rm -rf /usr/lib/nautilus/extensions-3.0/libnautilus-qsync.a
sudo rm -rf /usr/lib/nautilus/extensions-3.0/libnautilus-qsync.so
sudo rm -rf /usr/lib/nautilus/extensions-3.0/libnautilus-qsync.la
sudo rm -rf /usr/share/applications/QNAPQsyncClient.desktop
sudo rm -rf /usr/share/nautilus-qsync/
sudo rm -rf /usr/local/lib/QNAP/

=> Reboot
=> Install QNAPQsyncClientUbuntux64-1.0.7.0318
=> start in terminal: /usr/local/bin/QNAP/QsyncClient/Qsync.sh

==> Same issue: looping

======TERMINAL OUTPUT=====
$ /usr/local/bin/QNAP/QsyncClient/Qsync.sh
SubPorcess console: "0.999904"
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
"[2022/04/17 09:14:43] [Debug] [QsyncApp] QsyncConfigSettingTable::Initialize sqlite3_step (create table LogFileInfo) success"
"[2022/04/17 09:14:44] [Debug] QsyncWindow::tutkInit(P2PTunnelAgentInitialize start)"
"[2022/04/17 09:14:44] [Debug] QsyncWindow::tutkInit(P2PTunnelAgentInitialize end)"
"[2022/04/17 09:14:44] [Debug] QsyncWindow::tutkInit m_nTunnelAgentInitRet = 0"
"[2022/04/17 09:14:46] [Debug] [QsyncApp] QsyncConfigSettingTable::Initialize sqlite3_step (create table ContactEmail) success"
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage1 "", which already has a layout
Could not parse stylesheet of object QLabel(0x55a53875ff60)
Could not parse stylesheet of object QLabel(0x55a53875ff60)
Could not parse stylesheet of object QLabel(0x55a53875ff60)
QLayout: Attempting to add QLayout "" to InitPage3 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage3 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage3 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage3 "", which already has a layout
QLayout: Attempting to add QLayout "" to InitPage3 "", which already has a layout
Could not parse stylesheet of object QLabel(0x55a53872d150)
Could not parse stylesheet of object QLabel(0x55a53872d150)
QLayout::addChildLayout: layout "" already has a parent
Could not parse stylesheet of object QLabel(0x55a53872d150)
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 485, resource id: 8394127, major code: 40 (TranslateCoords), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 734, resource id: 8394722, major code: 40 (TranslateCoords), minor code: 0
"[2022/04/17 09:15:16] [Debug] QsyncWindow::checkMemory open file count - 1177 files, Private Memory - 34 MB"
"[2022/04/17 09:15:16] [Debug] QsyncWindow::checkMemory open file count > 1000 files, out_of_memory > 75 MB"
"[2022/04/17 09:15:16] [Debug] QsyncWindow::tutkUnInit(P2PTunnelAgentDeInitialize start)"
"[2022/04/17 09:15:17] [Debug] QsyncWindow::tutkUnInit(P2PTunnelAgentDeInitialize end)"
Performing application reboot...
"/usr/local/bin/QNAP/QsyncClient/Qsync"
"[2022/04/17 09:15:17] [Error] [QsyncApp] QsyncWindow::doQuit Performing application reboot..."
Terminated


What doe mean:
"Could not parse stylesheet of object QLabel(0x55a53872d150)" ?

Apparently, this is a memory issue?
[Debug] QsyncWindow::checkMemory open file count > 1000 files, out_of_memory > 75 MB"
Erolus
Starting out
Posts: 14
Joined: Wed Jan 13, 2021 5:46 am

Re: QSYNC Client rebooting every 30s - MX-Linux

Post by Erolus »

Hi Paul,

- Install procedure
I installed it by double-clicking the QNAPQsyncClientUbuntux64-1.0.7.0318.deb file.

- Starting in terminal
I usually start the app at startup but I wanted to see the terminal prompt to search for error and copy/paste the result here.
Starting it a startup or terminal or menu gives the same result: looping start-stop :-(
thrdinka
First post
Posts: 1
Joined: Thu Apr 21, 2022 8:39 pm

Re: QSYNC Client rebooting every 30s - MX-Linux

Post by thrdinka »

yes, I have the same problem on Linux Mint with Cinnamon desktop.
There are some limitations in the new Qsyncclient like memory allocations. But there's one more: I determined that the path length is more limited, than in the previous version.
No solution until now.
Posted a support ticket, and still waiting ...
Erolus
Starting out
Posts: 14
Joined: Wed Jan 13, 2021 5:46 am

Re: QSYNC Client rebooting every 30s - MX-Linux

Post by Erolus »

This is frustrating. :-(
Once it works again (if this happens) I think I will just stop updating the QNAP.
thomas.rehberg
Starting out
Posts: 46
Joined: Wed May 15, 2013 5:23 pm

Re: QSYNC Client rebooting every 30s - MX-Linux

Post by thomas.rehberg »

The only way for me to get it working is to downgrade the Linux client to 1.05.0305. I have stopped the automated upgrade now until it is fixed.
Erolus
Starting out
Posts: 14
Joined: Wed Jan 13, 2021 5:46 am

Re: QSYNC Client rebooting every 30s - MX-Linux

Post by Erolus »

Hi Guys,

This is so strange...
I completely re-installed Linux and re-installed QNAPQsyncClientUbuntux64-1.0.7.0318.
It worked fine for 1 month.
Then now we are back to the same restart thing every 30 seconds.

I am so unhappy with this software.

Is there no log to check what is going wrong with this thing?
dosborne
Experience counts
Posts: 1813
Joined: Tue May 29, 2018 3:02 am
Location: Ottawa, Ontario, Canada

Re: QSYNC Client rebooting every 30s - MX-Linux

Post by dosborne »

I'm not sure of the feasibility in this specific situation, but would a rsync solution work for you? Rsync may be more stable and better supported and better documented.

Just pointing out a potential alternative in case it helps.
QNAP TS-563-16G 5x10TB Seagate Ironwolf HDD Raid-5 NIC: 2x1GB 1x10GbE
QNAP TS-231P-US 2x18TB Seagate Exos HDD Raid-1
[Deadbolt and General Ransomware Detection, Prevention, Recovery & MORE]
Erolus
Starting out
Posts: 14
Joined: Wed Jan 13, 2021 5:46 am

Re: QSYNC Client rebooting every 30s - MX-Linux

Post by Erolus »

Thank you,

I will have to look into RSYNC and see if I can get the QNAP to work with it.
As I have no experience using it I would take any advice on how to do that.
Thanks for the idea!

QNAPQsyncClientUbuntux64-1.0.8.0623 is out but unfortunately... just as bad as QNAPQsyncClientUbuntux64-1.0.7.0318.

Why are the people at QNAP so passionate about developing softwares that are UBUNTU-Only?
Post Reply

Return to “Miscellaneous”