Hi!
Fresh Ubuntu 24.04 installation, Nextcloud via snap 3.12.7. I trying to sync my home folder /home/seventh from previous install and got the error:
“Unable to open or create the local sync database. Make sure you have write access to the sync folder”
journalctl:
Aug 10 09:29:37 7th-dell kernel: audit: type=1400 audit(1723274977.016:7973): apparmor=“DENIED” operation=“mknod” class=“file” profile=“snap.nextcloud-desktop-client.nextcloud” name=“/home/seventh/.sync_d741cd37417b.db” pid=17426 comm=“nextcloud” requested_mask=“c” denied_mask=“c” fsuid=1000 ouid=1000
How to solve it?
j-ed
August 10, 2024, 8:22am
2
seventh:
apparmor=“DENIED”
You have AppArmor installed and activiated on your server which denies access to your database. Make sure you grant access to run Nextcloud.
By using the search function of this forum or our preferred Internet search engine, you should find more detailed information abot what needs to be done. See e.g.:
https://duckduckgo.com/?q=nextcloud+snap+apparmor&t=ffab&ia=web
orbalt
August 28, 2024, 6:26am
3
For Windows client I recommend checking this thread:
Nextcloud version: 18.0.3
Operating System and version: Ubuntu 16.04 LTS x64
Apache version: Apache 2.4.18
PHP version: 7.2.29
Client version: 2.6.4 stable - Win64 build 20200303
Client OS: Windows 10 x64 1903
Issue:
After installing the Windows client and setting up sync, some folders sync and others fail with a specific error:
Unable to open or create the local sync database. Make sure you have write access in the sync folder.
Folders that sync:
Desktop
Downloads
Photos
Folders w…
2 Likes