Doubled NextCloud client instances

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Doubled NextCloud client instances

Postby mackowiakp » Feb 26th, '24, 07:19

I have most current version of NextCloud client available in Mageia 9 repos.

Code: Select all
[maciek@Piotr ~]$ nextcloud -v
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
failed to load driver: zink
nextcloud.gui.application: Migrating old config from "/home/maciek/.local/share/Nextcloud" to "/home/maciek/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/maciek/.local/share/Nextcloud" to "/home/maciek/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files ("Dokumenty_sync.log", "FB+WhatsApp_sync.log", "Fotografie z aparatu_sync.log", "TMP_sync.log")
nextcloud.gui.application: Fallback move of  "Dokumenty_sync.log" also failed
nextcloud.gui.application: Fallback move of  "FB+WhatsApp_sync.log" also failed
nextcloud.gui.application: Fallback move of  "Fotografie z aparatu_sync.log" also failed
nextcloud.gui.application: Fallback move of  "TMP_sync.log" also failed
Nextcloud version 3.11.1git
Git revision c65a8fd6a9d1d436a3ad8a6486117659f0007af2
Using Qt 5.15.7, built against Qt 5.15.7
Using Qt platform plugin 'xcb'
Using 'OpenSSL 3.0.12 24 Oct 2023'
Running on Mageia 9, x86_64


I don’t know why, but very often two instances of the NextCloud client start on their own.
I have declared the start of this client in my KDE desktop environment (Plasma) via the GUI "System settings" of KDE.
However, after two Nextcloud icons appear in the tasks area, after entering the option to set the application autostart (together with the initiation of the KDE session), there are two instances to run.
I delete one, but after rebooting the computer, two instances of the NC client appear again from time to time.
This prevents the files from synchronizing properly, of course.
What could be the error and what logs should I send for analysis?
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Doubled NextCloud client instances

Postby sturmvogel » Feb 26th, '24, 11:00

Doesn‘t Nextcloud client have an own setting for autostart? Doublecheck the client setting GUI. It looks like, that your self created autostart entry overlaps with the one from Nextcloud itself…

A second thing to check is, if you are starting your machine with a new session or the prior one. Check systemsettings…
sturmvogel
 
Posts: 734
Joined: Jul 30th, '12, 00:39

Re: Doubled NextCloud client instances

Postby morgano » Feb 27th, '24, 00:04

Funny, i just checked: i have two entries for Nextcloud in that list in systemsettings autostart dialogue, but always only one client appear.
I never made an entry here manually.
Removed one of them now...

When you right click the Nextcloud system tray icon, select settings, then the cog wheel top right, there is a check box top left for starting at system start.
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1475
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Doubled NextCloud client instances

Postby mackowiakp » Feb 27th, '24, 00:18

Doesn‘t Nextcloud client have an own setting for autostart?


Yes, it does. But strangely enough, after some time, two entries about the start of NextCloud appear there.
I removed both and disabled NextCloud autostart in the client configuration. And - very strangely - a single entry appeared on its own.

It looks like, that your self created autostart entry overlaps with the one from Nextcloud itself…


I did not make any modifications to the system in this respect.
It seems to me that the problem appeared after one of the last system updates.

A second thing to check is, if you are starting your machine with a new session or the prior one. Check systemsettings…


I have it set so that the system always starts from a new session.
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Doubled NextCloud client instances

Postby mackowiakp » Feb 27th, '24, 00:21

When you right click the Nextcloud system tray icon, select settings, then the cog wheel top right, there is a check box top left for starting at system start.


I know about it. I disabled NextCloud autostart in the client configuration. And - very strangely - a single entry appeared on its own.
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Doubled NextCloud client instances

Postby mackowiakp » Feb 27th, '24, 06:53

What's more interesting, normally the NextCloud client should not start if one instance of the client is already running.
As below:

Code: Select all
[maciek@Piotr ~]$ nextcloud
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
failed to load driver: zink
nextcloud.gui.application: Migrating old config from "/home/maciek/.local/share/Nextcloud" to "/home/maciek/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/maciek/.local/share/Nextcloud" to "/home/maciek/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files ("Dokumenty_sync.log", "FB+WhatsApp_sync.log", "Fotografie z aparatu_sync.log", "TMP_sync.log")
nextcloud.gui.application: Fallback move of  "Dokumenty_sync.log" also failed
nextcloud.gui.application: Fallback move of  "FB+WhatsApp_sync.log" also failed
nextcloud.gui.application: Fallback move of  "Fotografie z aparatu_sync.log" also failed
nextcloud.gui.application: Fallback move of  "TMP_sync.log" also failed
nextcloud.gui.application: Already running, exiting...
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Doubled NextCloud client instances

Postby xboxboy » Feb 28th, '24, 15:37

Yes, I've noticed this myself in the last week or so: And it's become grumpy at syncing, I've had to 're-add' a couple of directories. I also have my own nextcloud server, manually installed: And I've got a warning, but when I google about it, it appears it's a bug, and should get fixed next release: So maybe there's issues upstream???
xboxboy
 
Posts: 400
Joined: Jun 2nd, '13, 06:41

Re: Doubled NextCloud client instances

Postby mackowiakp » Feb 29th, '24, 00:48

Yep. No bugs no software...
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Doubled NextCloud client instances

Postby xboxboy » Feb 29th, '24, 15:55

There was a server update for me today, so I did it. Run into a memory issue (again, one day I'll understand php properly) got over that, and strange warning I had that was possibly a bug, is now gone :)

You use the android app? Mines getting really, really laggy at auto-upload of pictures: Driving me crazy.
xboxboy
 
Posts: 400
Joined: Jun 2nd, '13, 06:41


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron