Support intro
After updateing from 28.0.6 to 29.0.1 I cant get access to the interface. The german errormessage ist “Interner Server Fehler” (internal server error).
I think I figured out that “circles” is the cause. If I do
sudo -u web1 php occ maintenance:repair
Its
- Repair MySQL collation
- All tables already have the correct collation -> nothing to do
- Repair mime types
- Clean tags and favorites
- 0 tags of deleted users have been removed.
- 0 tags for delete files have been removed.
- 0 tag entries for deleted tags have been removed.
- 0 tags with no entries have been removed.
- Repair invalid shares
- Move .step file of updater to backup location
- Add move avatar background job
- Repair step already executed
- Add preview cleanup background jobs
- Migrate oauth2_clients table to nextcloud schema
- Update the oauth2_access_tokens table schema.
- Update the oauth2_clients table schema.
- Delete clients (and their related access tokens) with the redirect_uri starting with oc:// or ending with *
- Fix potential broken mount points
- No mounts updated
- Repair language codes
- Add log rotate job
- Clear frontend caches
- Image cache cleared
- JS cache cleared
- Clear every generated avatar
- Add preview background cleanup job
- Queue a one-time job to cleanup old backups of the updater
- Cleanup invalid photocache files for carddav
- Add background job to cleanup login flow v2 tokens
- Remove potentially over exposing share links
- No need to remove link shares.
- Clear access cache of projects
- Reset generated avatar flag
- Keep legacy encryption enabled
- Check encryption key format
- Remove old dashboard app config data
- Add job to cleanup the bruteforce entries
- Queue a one-time job to check for user uploaded certificates
- Repair DAV shares
- Add background job to set the lookup server share state for users
- Add token cleanup job
- Clean up abandoned apps
- Add possibly missing system config
- Add AI tasks cleanup job
- Queue a job to generate metadata
- migrate lazy config values
- Deduplicate shared bookmark folders
- Removed 0 duplicate shares
- Remove superfluous shared bookmark folders
- Removed 0 superfluous shares
- Remove orphaned bookmark shares
- Removed 0 orphaned shares
- Removed 0 orphaned public links
- Remove orphaned bookmark tree items
- Removed 0 orphaned bookmarks entries
- Removed 0 orphaned folders entries
- Reinserted 0 orphaned children entries
- Removed 0 orphaned bookmark folders
- Reinserted 0 orphaned bookmarks
- Update bookmark group shares
- Removed 0 users and added 0 users to 0 groups
- Removed 0 shares
- Upgrading Circles App
An unhandled exception has been thrown:
Error: Class "OCA\Circles\Model\Circle" not found in /var/www/clients/client1/web1/supercloud/nextcloud/apps/circles/lib/Service/FederatedUserService.php:573
Stack trace:
#0 /var/www/clients/client1/web1/supercloud/nextcloud/apps/circles/lib/Service/MigrationService.php(197): OCA\Circles\Service\FederatedUserService->getAppInitiator()
#1 /var/www/clients/client1/web1/supercloud/nextcloud/apps/circles/lib/Migration/Migration.php(97): OCA\Circles\Service\MigrationService->migration()
#2 /var/www/clients/client1/web1/supercloud/nextcloud/lib/private/Repair.php(124): OCA\Circles\Migration\Migration->run()
#3 /var/www/clients/client1/web1/supercloud/nextcloud/core/Command/Maintenance/Repair.php(120): OC\Repair->run()
#4 /var/www/clients/client1/web1/supercloud/nextcloud/3rdparty/symfony/console/Command/Command.php(298): OC\Core\Command\Maintenance\Repair->execute()
#5 /var/www/clients/client1/web1/supercloud/nextcloud/3rdparty/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run()
#6 /var/www/clients/client1/web1/supercloud/nextcloud/3rdparty/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#7 /var/www/clients/client1/web1/supercloud/nextcloud/3rdparty/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#8 /var/www/clients/client1/web1/supercloud/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run()
#9 /var/www/clients/client1/web1/supercloud/nextcloud/console.php(102): OC\Console\Application->run()
#10 /var/www/clients/client1/web1/supercloud/nextcloud/occ(11): require_once('...')
If I disable the “circles”, login is possible.
Nextcloud version: 29.0.1
Operating system and version: Debian bookworm
Apache or nginx version : 2.4.59-1~deb11u1
PHP version: 8.1
The issue you are facing:
Is this the first time you’ve seen this error? Y
The output of your Nextcloud log in Admin > Logging:
{"reqId":"pcsQ5vevkHLksOvIJpZN","level":3,"time":"2024-06-01T13:18:27+00:00","remoteAddr":"80.75.246.35","user":"mmueller","app":"no app in context","method":"GET","url":"/nextcloud/ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets%5B%5D=collectives-recent-pages","message":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0","version":"29.0.1.1","exception":{"Exception":"OCA\\Collectives\\Service\\MissingDependencyException","Message":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist","Code":0,"Trace":[{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/apps/collectives/lib/Service/CircleHelper.php","line":85,"function":"startSession","class":"OCA\\Collectives\\Service\\CircleHelper","type":"->"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/apps/collectives/lib/Service/CollectiveHelper.php","line":21,"function":"getCircles","class":"OCA\\Collectives\\Service\\CircleHelper","type":"->"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/apps/collectives/lib/Service/CollectiveService.php","line":83,"function":"getCollectivesForUser","class":"OCA\\Collectives\\Service\\CollectiveHelper","type":"->"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/apps/collectives/lib/Service/RecentPagesService.php","line":35,"function":"getCollectives","class":"OCA\\Collectives\\Service\\CollectiveService","type":"->"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/apps/collectives/lib/Dashboard/RecentPagesWidget.php","line":28,"function":"forUser","class":"OCA\\Collectives\\Service\\RecentPagesService","type":"->"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/apps/dashboard/lib/Controller/DashboardApiController.php","line":133,"function":"getItemsV2","class":"OCA\\Collectives\\Dashboard\\RecentPagesWidget","type":"->"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"getWidgetItemsV2","class":"OCA\\Dashboard\\Controller\\DashboardApiController","type":"->"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/lib/private/Route/Router.php","line":338,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/ocs/v1.php","line":66,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/clients/client1/web1/supercloud/nextcloud/ocs/v2.php","line":23,"args":["/var/www/clients/client1/web1/supercloud/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/clients/client1/web1/supercloud/nextcloud/apps/collectives/lib/Service/CircleHelper.php","Line":62,"message":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Circles\\CirclesManager! Class \"OCA\\Circles\\CirclesManager\" does not exist"}}
The output of your config.php file in /path/to/nextcloud:
$CONFIG = array (
'instanceid' => 'oc6onx4i41h2',
'passwordsalt' => 'salt',
'secret' => 'secret',
'trusted_domains' =>
array (
0 => 'cloud.mydomain.at',
),
'datadirectory' => '/var/www/clients/client1/web1/cloud/nextcloud/data',
'dbtype' => 'mysql',
'version' => '29.0.1.1',
'overwrite.cli.url' => 'https://cloud.mydomain.at/nextcloud',
'dbname' => 'sclouddb',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'cloudusr',
'dbpassword' => 'secret',
'installed' => true,
'mail_from_address' => 'office',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'mydomain.at',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'mail.mydomain.at',
'mail_smtpname' => 'office@mydomain.at',
'mail_smtppassword' => 'mydomainpw',
'mail_smtpport' => '587',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'mail_smtpsecure' => 'tls',
'default_phone_region' => 'AT',
'updater.release.channel' => 'stable',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
'timeout' => 0.0,
),
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
Any ideas how I can fix this issue? Thank you!
Best regards, Martin