Skip to content

[Bug]: nextcloud starts before disk mount #8244

@imabot2

Description

@imabot2

⚠️ Before submitting, please verify the following: ⚠️

Bug description

I use NextCloud client on Ubuntu 24.04. The destination folder is not on the main disk. The disk is in automount mode on Linux. NextCloud starts before the disk is mounted and files can't be sync.

I my case, the same problem appears if the folder is a simlink pointing to the secondary disk.

Steps to reproduce

  1. Install a secondary HDD on Ubuntu 24.04
  2. Install NextCloud with the imageapp
  3. Configure destination folder in the secondary disk (/mnt/user/data/nextcloud/ for example)

Expected behavior

NextCloud client should sync files

Which files are affected by this bug

All

Operating system

Linux

Which version of the operating system you are running.

Ubuntu 24.04

Package

Official Linux AppImage

Nextcloud Server version

?

Nextcloud Desktop Client version

3.16.4

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud logs

2025-05-07 18:12:40:042 [ info nextcloud.sync.credentials.webflow /home/user/src/gui/creds/webflowcredentials.cpp:117 ]:	Get QNAM
2025-05-07 18:12:40:053 [ info nextcloud.gui.account.manager /home/user/src/gui/accountmanager.cpp:548 ]:	Restored:  0  unknown certs.
2025-05-07 18:12:40:095 [ info nextcloud.gui.folder.manager /home/user/src/gui/folderman.cpp:195 ]:	Setup folders from settings file
2025-05-07 18:12:40:095 [ info nextcloud.gui.folder.manager /home/user/src/gui/folderman.cpp:394 ]:	FolderDefinition::maxSettingsVersion: 13
2025-05-07 18:12:40:096 [ info nextcloud.gui.folder.manager /home/user/src/gui/folderman.cpp:394 ]:	FolderDefinition::maxSettingsVersion: 13
2025-05-07 18:12:40:096 [ info nextcloud.gui.folder.manager /home/user/src/gui/folderman.cpp:394 ]:	FolderDefinition::maxSettingsVersion: 13
2025-05-07 18:12:40:100 [ warning nextcloud.sync.database /home/user/src/common/syncjournaldb.cpp:148 ]:	Could not find a writable database path "/media/user/DATA/uabox/.sync_4fd9fb8765fe.db" "No such file or directory"
2025-05-07 18:12:40:105 [ warning nextcloud.gui.folder /home/user/src/gui/folder.cpp:186 ]:	Broken symlink: "/media/user/DATA/uabox/"
2025-05-07 18:12:40:113 [ info nextcloud.sync.configfile /home/user/src/libsync/configfile.cpp:1277 ]:	User defined ignore list does not exist: "/home/user/.config/Nextcloud/sync-exclude.lst"
2025-05-07 18:12:40:113 [ info nextcloud.sync.configfile /home/user/src/libsync/configfile.cpp:1288 ]:	Adding system ignore list to csync: "/etc/Nextcloud/sync-exclude.lst"
2025-05-07 18:12:40:113 [ info nextcloud.gui.folder.manager /home/user/src/gui/folderman.cpp:1291 ]:	Adding folder to Folder Map  OCC::Folder(0x5c833adddef0) "1"
2025-05-07 18:12:40:113 [ info nextcloud.gui.folder.manager /home/user/src/gui/folderman.cpp:722 ]:	Schedule folder  "1"  to sync!
2025-05-07 18:12:40:113 [ info nextcloud.gui.folder.manager /home/user/src/gui/folderman.cpp:735 ]:	Folder is not ready to sync, not scheduled!
2025-05-07 18:12:40:113 [ warning nextcloud.gui.application /home/user/src/gui/application.cpp:505 ]:	Migration result AccountManager::AccountsRestoreResult:  OCC::AccountManager::AccountsRestoreSuccess
2025-05-07 18:12:40:114 [ warning nextcloud.gui.application /home/user/src/gui/application.cpp:506 ]:	Folders migrated:  1
2025-05-07 18:12:40:114 [ warning nextcloud.gui.application /home/user/src/gui/application.cpp:507 ]:	No accounts were migrated, prompting user to set up accounts and folders from scratch.

Additional info

If the bug can't be solved, it would be great if the client could retry at regular intervals

Metadata

Metadata

Assignees

Labels

bugneeds infoUser feedback is required. Will be closed if not responded.stale

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions