Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): 26.0.2
Operating system and version (eg, Ubuntu 20.04): Arch Linux
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.57
PHP version (eg, 7.4): 8.2.2
The issue you are facing:
I’m running a self-hosted installation of Nextcloud. Calendar, Contacts, Tasks, and Talk all work and sync from my phone (Android). But I recently installed the Nextcloud Notes app (v. 4.0.0) and it will not sync, consistently giving a synchronization failed
error (complete output below).
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Install Nextcloud Notes.
- Add account (my regular calendar, etc. account)
- Touch + to add a new note.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'datadirectory' => '/var/lib/nextcloud/data',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/share/webapps/nextcloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/lib/nextcloud/apps',
'url' => '/wapps',
'writable' => true,
),
),
'instanceid' => '********',
'passwordsalt' => '********',
'secret' => '********',
'trusted_domains' =>
array (
0 => 'nextcloud.my.domain',
0 => 'calendar.my.domain',
),
'dbtype' => 'pgsql',
'version' => '26.0.2.1',
'overwrite.cli.url' => 'https://nextcloud.my.domain',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:5432',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'myuser',
'dbpassword' => '********',
'installed' => true,
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
);
Error message on Android:
App Version: 4.0.0
App Version Code: 40000090
App Flavor: fdroid
Files App Version Code: 30250090
---
OS Version: 4.19.110-perf+(a098bfbf1e)
OS API Level: 30
Device: OnePlus8Pro
Manufacturer: OnePlus
Model (and Product): IN2023 (OnePlus8Pro_EEA)
---
java.lang.Exception: {"errorType":"OCP\\Files\\NotPermittedException"}
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:158)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:94)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
java.lang.Exception: {"errorType":"OCP\\Files\\NotPermittedException"}
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:158)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:94)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)