Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unhandled Exception when trying to enable circles #1595

Closed
Af0x opened this issue Jun 1, 2024 · 8 comments
Closed

Unhandled Exception when trying to enable circles #1595

Af0x opened this issue Jun 1, 2024 · 8 comments
Labels

Comments

@Af0x
Copy link

Af0x commented Jun 1, 2024

Hello,

I get the following error when trying to enable circles. Had to disable it because there was an Internal Server Error preventing the webinterface to load:

occ app:enable circles
An unhandled exception has been thrown:
Error: Class "OCA\Circles\Model\Circle" not found in /path/to/nextcloud/apps/circles/lib/Service/FederatedUserService.php:573
Stack trace:
#0 /path/to/nextcloud/apps/circles/lib/Service/MigrationService.php(195): OCA\Circles\Service\FederatedUserService->getAppInitiator()
#1 /path/to/nextcloud/apps/circles/lib/Migration/Migration.php(97): OCA\Circles\Service\MigrationService->migration()
#2 /path/to/nextcloud/lib/private/Repair.php(124): OCA\Circles\Migration\Migration->run()
#3 /path/to/nextcloud/lib/private/legacy/OC_App.php(838): OC\Repair->run()
#4 /path/to/nextcloud/lib/private/Installer.php(141): OC_App::executeRepairSteps()
#5 /path/to/nextcloud/core/Command/App/Enable.php(110): OC\Installer->installApp()
#6 /path/to/nextcloud/core/Command/App/Enable.php(80): OC\Core\Command\App\Enable->enableApp()
#7 /path/to/nextcloud/3rdparty/symfony/console/Command/Command.php(298): OC\Core\Command\App\Enable->execute()
#8 /path/to/nextcloud/3rdparty/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run()
#9 /path/to/nextcloud/3rdparty/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#10 /path/to/nextcloud/3rdparty/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#11 /path/to/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run()
#12 /path/to/nextcloud/console.php(102): OC\Console\Application->run()
#13 /path/to/nextcloud/occ(11): require_once('...')

The issue first occurred after upgrading from nextcloud-28.0.5.1 to nextcloud-28.0.6.1 and persists after upgrading to Nextcloud 29.0.1.

@rjlan
Copy link

rjlan commented Jun 1, 2024

I just got this one after upgrading from 29.0.0.19 -> 29.0.1.1
Got an internal server error message on the webui. Disabling circles fixed the issue. Same message if I try to enable it

@ndurchx
Copy link

ndurchx commented Jun 1, 2024

Just occured to me after updating two other plugins

@Vdauphin
Copy link

Vdauphin commented Jun 1, 2024

Same when updating from nextcloud-28.0.5.1 to nextcloud-28.0.6.1

    Erreur interne du serveur

    Le serveur est incapable d’exécuter votre requête.
    Si cela se reproduit, veuillez envoyer les détails techniques ci-dessous à l’administrateur du serveur.
    Le fichier journal du serveur peut fournir plus de renseignements.
    Renseignements techniques

        Adresse distante : XXXX
        ID de la demande : XXXX

nextcloud_short.log

Resolved by: docker exec -u www-data $(docker ps --filter name='srv-captain--nextcloud.1' -q) php occ app:disable circles
And repair: docker exec -u www-data $(docker ps --filter name='srv-captain--nextcloud.1' -q) php occ maintenance:repair
Followed by a container restart

Some people talk about it here: https://help.nextcloud.com/t/after-update-to-nc29-0-1-internal-server-error-circles-the-cause/194167

@muelli75
Copy link

muelli75 commented Jun 1, 2024

I have the same problem after updating from 28.0.6 to 29.0.1, but natively without docker-containter.

It helped to deactivate Circles via the terminal, then you can at least log in again.

Teams cannot be activated, because apparently a -dev version is available. Activation is prevented by the message ‘This app cannot be activated because it will make the server unstable’.

@Af0x
Copy link
Author

Af0x commented Jun 1, 2024

What fixed it for me completely:

  1. disable circles with occ app:disable circles
  2. repair installation with occ maintenance:repair
  3. change update channel to Beta -> Version 29.0.2 RC2 will be available
  4. update to version 29.0.2 RC2
  5. enable circles again with occ app:enable circles

The webinterface will be accessible again with circles enabled. However, Beta channel can introduce new issues so make a backup first.

@osm-frasch
Copy link

Is there any progress regarding the bugfix?

@joshtrichards
Copy link
Member

So far I've been unable to reproduce any of these behaviors.

Please share the output of:

  • occ config:list system
  • occ app:list

@joshtrichards
Copy link
Member

Closing due to lack of info received after >3 months.

@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants