The Basics
- Nextcloud Server version (e.g., 29.x.x):
31.0.10> 32.0.1
- Operating system and version (e.g., Ubuntu 24.04):
fedora 42
- Web server and version (e.g, Apache 2.4.25):
httpd2.4.65
- Reverse proxy and version _(e.g. nginx 1.27.2)
replace me
- PHP version (e.g, 8.3):
8.4
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
during upgrade
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
command line
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
self hosted
Summary of the issue you are facing:
I’ve been doing upgrades since owncloud. The last dozen or so upgrades i’ve not had any issue but this upgrade to 32.0.2 disabled and broke these apps: calendar, contacts, cookbook, music, note, tables, tasks. Since caalendar and contacts are my main apps i had to restore from backup as i could not get them to work even after trying to reinstall the apps
Steps to replicate it (hint: details matter!):
-
running 31.0.10
-
manually upgrade to 32.0.1
-
apps not working
-
the logs show Exception: OCP\App\AppPathNotFoundException",“Message”:"Could not find path for
Log entries
Nextcloud
“app”:“no app in context”,“method”:“”,“url”:“nextcloudocc”,“message”:“Could not find path for calendar”,“userAgent”:“–”,“version”:“31.0.10.2”,“exception”:{“Exception”:“OCP\AppCoAppanager.php”,“Line”:707,“message”:“Could not find path for calendar”,“exception”:{},“CustomMessage”:“Could not find path for calendar”}}`
there is one of these for each app. I didn’t include them all because this system is converting the urls as links and won’t let me post them all
{"reqId":"9nWYKAEKrde82rTbope9","level":3,"time":"October 26, 2025 09:26:40","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"/nextcloud/occ","message":"Could not find path for calendar","userAgent":"--","version":"31.0.10.2","exception":{"Exception":"OCP\\App\\AppPathNotFoundException","Message":"Could not find path for calendar","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/App/AppManager.php","line":572,"function":"getAppPath","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Updater.php","line":396,"function":"enableApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Updater.php","line":246,"function":"upgradeAppStoreApps","class":"OC\\Updater","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Updater.php","line":100,"function":"doUpgrade","class":"OC\\Updater","type":"->"},{"file":"/var/www/html/nextcloud/core/Command/Upgrade.php","line":193,"function":"upgrade","class":"OC\\Updater","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/console/Command/Command.php","line":326,"function":"execute","class":"OC\\Core\\Command\\Upgrade","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/console/Application.php","line":1078,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/console/Application.php","line":324,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/console/Application.php","line":175,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Console/Application.php","line":187,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/html/nextcloud/console.php","line":90,"function":"run","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/html/nextcloud/occ","line":33,"args":["/var/www/html/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/lib/private/App/AppManager.php","Line":707,"message":"Could not find path for calendar","exception":{},"CustomMessage":"Could not find path for calendar"}}
{"reqId":"9nWYKAEKrde82rTbope9","level":3,"time":"October 26, 2025 09:26:40","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"/nextcloud/occ","message":"Could not find path for contacts","userAgent":"--","version":"31.0.10.2","exception":{"Exception":"OCP\\App\\AppPathNotFoundException","Message":"Could not find path for contacts","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/App/AppManager.php","line":572,"function":"getAppPath","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Updater.php","line":396,"function":"enableApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Updater.php","line":246,"function":"upgradeAppStoreApps","class":"OC\\Updater","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Updater.php","line":100,"function":"doUpgrade","class":"OC\\Updater","type":"->"},{"file":"/var/www/html/nextcloud/core/Command/Upgrade.php","line":193,"function":"upgrade","class":"OC\\Updater","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/console/Command/Command.php","line":326,"function":"execute","class":"OC\\Core\\Command\\Upgrade","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/console/Application.php","line":1078,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/console/Application.php","line":324,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/console/Application.php","line":175,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Console/Application.php","line":187,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/html/nextcloud/console.php","line":90,"function":"run","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/html/nextcloud/occ","line":33,"args":["/var/www/html/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/lib/private/App/AppManager.php","Line":707,"message":"Could not find path for contacts","exception":{},"CustomMessage":"Could not find path for contacts"}}
conf file
<?php
$CONFIG = array (
'instanceid' => 'xxxxxx',
'passwordsalt' => 'xxxxxx',
'secret' => 'xxxxxxx',
'trusted_domains' =>
array (
0 => 'xxxxxx',
1 => 'localhost',
),
'datadirectory' => '/var/www/nextcloud/data',
'overwrite.cli.url' => 'xxxxxxx',
'overwriteprotocol' => 'https',
'htaccess.RewriteBase' => '/nextcloud',
'appstoreenabled' => true,
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/nextcloud/apps',
'url' => '/apps',
'writable' => true,
),
),
'dbtype' => 'mysql',
'version' => '31.0.10.2',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxxxx',
'dbpassword' => 'xxxxxxxx',
'installed' => true,
'overwritewebroot' => '/nextcloud',
<removed mail/smtp settings>
'memcache.local' => '\\OC\\Memcache\\APCu',
'forcessl' => true,
'trashbin_retention_obligation' => 'auto, 15',
'versions_retention_obligation' => 'auto',
'allow_user_to_change_display_name' => true,
'log_type' => 'file',
'logfile' => '/var/log/nextCloud/nextcloud.log',
'logfilmode' => 416,
'loglevel' => '2',
'debug' => false,
'logdateformat' => 'F d, Y H:i:s',
'logtimezone' => 'America/New_York',
'log_query' => false,
'log_authfailip' => true,
'log_rotate_size' => 10485760,
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'log_type_audit' => 'file',
'logfile_audit' => '/var/log/nextCloud/audit.log',
'maintenance_window_start' => 2,
'auth.bruteforce.protection.enabled' => false,
'ratelimit.protection.enabled' => false,
'remember_login_cookie_lifetime' => 1296000,
'session_lifetime' => 86400,
'preview_max_x' => NULL,
'preview_max_y' => NULL,
'preview_max_scale_factor' => 10,
'preview_libreoffice_path' => '/usr/bin/libreoffice',
'preview_office_cl_parameters' => '',
'enable_avatars' => true,
'maintenance' => false,
'default_phone_region' => 'US',
'theme' => '',
'app_install_overwrite' =>
array (
0 => 'news',
1 => 'files_rightclick',
),
);