nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
3.04k stars 799 forks source link

client hangs indefinitely after reboot #3217

Closed Chr157i4n closed 3 years ago

Chr157i4n commented 3 years ago

Expected behaviour

Client starting normally after reboot

Actual behaviour

I can install and configure the client, but after a reboot of my notebook the client doesnt start and hangs indefinitely. it uses ~30% of my CPU and the explorer is really slow while the client is hanging: grafik

i can get the client to work again, when i delete the config file in Appdata Roaming (nextcloud.cfg), but then i need to reconfigure the client.

When the client is hanging the symbol in the tray is grey and i cant click on it. grafik

On my normal desktop pc everything works fine. This only occurs on my notebook. On my notebook i connected the client using the public url instead of my private ipv4 as on my desktop pc.

Everytime i restart the client it doenst get further than "Adding user defined ignore list" in the logs.

Steps to reproduce

  1. clean install of the client (i also deleted Appdata/Local and Appdata/Roaming Folder)
  2. login and sync first time
  3. reboot pc

Client configuration

Client version: 3.2.0

Operating system: Windows 10 20H2

OS language: German

Installation path of client: C:\Program Files\Nextcloud

Server configuration

Nextcloud version: NextCloudPi 20.0.8

Logs

  1. Client logfile: 2021-04-26 17:12:35:447 [ info nextcloud.gui.application ]: "################## Nextcloud locale:[de_DE] ui_lang:[] version:[3.2.0stable-Win64 (build 20210409)] os:[Windows 10 (10.0)]" 2021-04-26 17:12:35:462 [ info nextcloud.gui.application ]: Using "de_DE" translation 2021-04-26 17:12:35:462 [ info nextcloud.gui.application ]: VFS windows plugin is available 2021-04-26 17:12:35:462 [ info nextcloud.gui.application ]: VFS suffix plugin is available 2021-04-26 17:12:35:462 [ debug nextcloud.gui.socketapi ] [ OCC::SocketApi::SocketApi ]: creating "//./pipe" true 2021-04-26 17:12:35:462 [ info nextcloud.gui.socketapi ]: server started, listening at "\\.\pipe\nextcloud-chkoe" 2021-04-26 17:12:35:462 [ info nextcloud.gui.folder.manager ]: setting remote poll timer interval to 30000 msec 2021-04-26 17:12:35:484 [ info nextcloud.gui.account.manager ]: Account for QUrl("https://myURL") using auth type "webflow" 2021-04-26 17:12:35:484 [ info nextcloud.sync.credentials.webflow ]: Get QNAM 2021-04-26 17:12:35:484 [ info nextcloud.gui.account.manager ]: Restored: 0 unknown certs. 2021-04-26 17:12:35:484 [ debug nextcloud.gui.activity ] [ OCC::User::setNotificationRefreshInterval ]: Starting Notification refresh timer with 300 sec interval 2021-04-26 17:12:35:516 [ info nextcloud.gui.folder.manager ]: Setup folders from settings file 2021-04-26 17:12:35:516 [ info plugins ]: Created VFS instance for: "win" 2021-04-26 17:12:35:516 [ info nextcloud.sync.database ]: Detected filesystem "NTFS" for "C:/Cloud/nextcloud/.sync_d7887ea852e9.db" 2021-04-26 17:12:35:516 [ debug nextcloud.gui.folder ] [ OCC::Folder::checkLocalPath ]: Checked local path ok 2021-04-26 17:12:35:516 [ info nextcloud.sync.configfile ]: Adding user defined ignore list to csync: "C:/Users/chkoe/AppData/Roaming/Nextcloud/sync-exclude.lst"

  2. Server logfile: nextcloud log (data/nextcloud.log): nothing in the logfiles regarding my problem

mgallien commented 3 years ago

So this looks lot a lot like #3196. Can you have a look at it and check that the solution exposed there also work for you ?

Chr157i4n commented 3 years ago

i already checked that. There are no .rmlock or .lock or other strange files in the config folder. My log file is also different from the one in that issue.

weiw11 commented 3 years ago

I have the same issue and I've also tried cleaning out the registry of any Nextcloud entries but it still just hangs.

In addition to the issue posted, explorer would refuse to respond unless I force close nextcloud. Restarting it doesn't work as nextcloud will still run in the background but not responding despite the icon missing from the task bar.

Chr157i4n commented 3 years ago

Now i have the same problem on my desktop pc. Steps to reproduce:

  1. everything worked fine and was synced
  2. i reinstalled Windows so i had to reinstall the client (the cloud directory was on another drive)
  3. had a lot off error, while syncing, so i decided to delete all files in the cloud directory
  4. i also deleted the content of Appdata/Roaming and Appdata/Local
  5. then i reconfigured and resynced the client
  6. reboot
Chr157i4n commented 3 years ago

i dont even need to reboot my pc. restarting the client is enough. when i delete the config file inside Appdata/Roaming then it starts up again (but i have to reconfigure everything). At least it restarts normally when i dont add a folder for syncing.

github-actions[bot] commented 3 years ago

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

github-actions[bot] commented 3 years ago

This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you!