Skip to content

Sync folder lost from settings #11411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
d7oc opened this issue Nov 30, 2023 · 13 comments
Closed
2 tasks done

Sync folder lost from settings #11411

d7oc opened this issue Nov 30, 2023 · 13 comments
Labels
p2-high Escalation, on top of current planning, release blocker type:bug
Milestone

Comments

@d7oc
Copy link

d7oc commented Nov 30, 2023

Under certain currently unknown conditions the client loses the configuration for some sync connections.

No data is lost and the connection can manually be restored from a backup config:

  • Quit the client
  • create a backup of %APPDATA%\ownCloud\owncloud.cfg / ~/Library/Preferences/ownCloud/owncloud.cfg
  • open a backuo for example %APPDATA%\ownCloud\owncloud.cfg.backup_20231129_142446_5.2.0.0
  • Locate the config for the sync that got lost
    • Here 1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\localPath=C:/Users/xxx/ownCloud - [email protected]/
  • Copy all related entries:
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\localPath=C:/Users/xxx/ownCloud - [email protected]/
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\journalPath=.sync_journal.db
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\targetPath=/
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\davUrl=@Variant(\0\0\0\x11\0\0\0\x37https://owncloud.server.com/remote.php/dav/files/test/)
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\displayString=ownCloud
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\paused=false
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\ignoreHiddenFiles=true
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\deployed=false
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\priority=0
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\virtualFilesMode=wincfapi
1\Folders\b61f197e-333b-4ec4-b43e-3513ab03c5e3\version=13
  • Insert them in %APPDATA%\ownCloud\owncloud.cfg / ~/Library/Preferences/ownCloud/owncloud.cfg
  • Start the client
Original report ### Pre-submission Checks
  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Describe the bug

The ownCloud Mac client started staying in paused mode since some time. I haven't found a solution yet. Logging out and in again didn't solve the issue.

Expected behavior

Client should sync

Steps to reproduce the issue

  1. Start client against https://cloud.owncloud.com/
  2. Wait for the client to sync

Screenshots

Screenshot 2023-11-30 at 15 14 46

Logs

-> https://cloud.owncloud.com/f/6132439

Client version number

ownCloud 5.1.2.12600 9a0beb
Libraries Qt 6.4.3, OpenSSL 3.1.2 1 Aug 2023
Using virtual files plugin: suffix
OS: macos-23.1.0
QPA: cocoa

Desktop environment (Linux only)

No response

Client package version and origin (Linux only)

No response

Installation path (Windows only)

No response

Server information

No response

Additional context

No response

@d7oc d7oc added the type:bug label Nov 30, 2023
@TheOneRing
Copy link
Contributor

Please add a screenshot of your client, are there any warnings?

@d7oc
Copy link
Author

d7oc commented Nov 30, 2023

Screenshot 2023-11-30 at 15 19 59

No warnings

@TheOneRing
Copy link
Contributor

But also no sync folder.

@d7oc
Copy link
Author

d7oc commented Nov 30, 2023

The sync folder is there. There is also some sync activity shown in the in the Server Activity tab.

@TheOneRing TheOneRing changed the title Client stays in paused mode forever Sync folder lost from settings Dec 1, 2023
TheOneRing added a commit that referenced this issue Dec 1, 2023
TheOneRing added a commit that referenced this issue Dec 1, 2023
TheOneRing added a commit that referenced this issue Dec 1, 2023
TheOneRing added a commit that referenced this issue Dec 1, 2023
TheOneRing added a commit that referenced this issue Dec 5, 2023
@michaelstingl michaelstingl added the p2-high Escalation, on top of current planning, release blocker label Dec 19, 2023
@michaelstingl michaelstingl added this to the Desktop 6.0 milestone Dec 19, 2023
@hellerbarde
Copy link

I have observed this issue as well. Unfortunately I can't reliably recreate it (yet) but I'm noticing a pattern and I suspect it has to do with situations where my WiFi is flaky or not available during or right after bootup.

I figured I should mention it just in case it's relevant.

My Version Information
ownCloud 5.2.0.12726 [f6cca1](https://github.com/owncloud/client/commit/f6cca1968d4fda84c01bd239b46371d7b0131278)
Libraries Qt 6.4.3, OpenSSL 3.1.2 1 Aug 2023
Using virtual files plugin: suffix
OS: pop-6.5.6-76060506-generic
QPA: xcb

@d7oc
Copy link
Author

d7oc commented Dec 28, 2023

Happened again here with

ownCloud 5.2.0.12726 f6cca1
Libraries Qt 6.4.3, OpenSSL 3.1.2 1 Aug 2023
Using virtual files plugin: suffix
OS: macos-23.2.0
QPA: cocoa

Logs are available internally: https://cloud.owncloud.com/f/6153507

@TheOneRing
Copy link
Contributor

I'd recommend using a 5 daily build which includes 2b31576 but this "fix" is just a random guess.

@d7oc this happened unrelated to a client update I assume?

@d7oc
Copy link
Author

d7oc commented Jan 8, 2024

Yes it happened without a client update.

@codepoet80
Copy link

codepoet80 commented Jan 8, 2024

Closed my issue (11464) as a dupe, and was able to use the work-around, but just wanted to add here that this is happening on macOS as well. I can reliably reproduce, so let me know if I can help with logs or anything.

@michaelstingl
Copy link
Contributor

@codepoet80 happens also with the 5.2.1?

@codepoet80
Copy link

codepoet80 commented Jan 9, 2024

Yes, as noted on my Issue, I'm reported on 5.2.1.13040 979bb9 Mac -- however, it could have been caused on an earlier version, and the update didn't magically fix it.
I haven't seen the issue pop up yet today -- although its usually a few reboots before it appears. I guess I'll update here if it re-occurs?

@michaelstingl
Copy link
Contributor

however, it could have been caused on an earlier version, and the update didn't magically fix it.

Yes, update doesn't fix it. If the sync connection disappeared pre-5.2.1, upgrade to 5.2.1 doesn't fix it.

I haven't seen the issue pop up yet today -- although its usually a few reboots before it appears. I guess I'll update here if it re-occurs?

Yes, please keep an eye on it. Please make sure you have the debug log enabled in the background:
https://doc.owncloud.com/desktop/5.2/appendices/troubleshooting.html#logging-to-a-temporary-directory

@TheOneRing
Copy link
Contributor

Fixed in 5.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-high Escalation, on top of current planning, release blocker type:bug
Projects
None yet
Development

No branches or pull requests

5 participants