MarcelRobitaille / nextcloud_google_synchronization

🇬 Google integration into Nextcloud
GNU Affero General Public License v3.0
21 stars 2 forks source link

Error on clicking Sync Calendar #6

Closed SDS1337 closed 1 year ago

SDS1337 commented 1 year ago

Nextcloud version 25.0.5. Plugin version 1.0.9

When clicking Sync Calendar, this error pops up, taking up the entire screen. Image posted in the end. Content of error without the newlines:

Failed to register background job:
Nextcloud
<div id="nojavascript">
<div>
This application requires JavaScript for correct operation. Please <a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">enable JavaScript</a> and reload the page. </div>
</div>

What's weird is, JavaScript is not disabled. It also shows JavaScript as enabled upon visiting enable-javascript.com.

I've tried doing it on Vivaldi Desktop, MS Edge Desktop, and Vivaldi Android. Getting the same error every time.

Import Calendar works as expected, but sync does not. I've tried disabling extensions in my browser to see if they might be interfering but no change.

image

tlpwka commented 1 year ago

I have the same issue. Nextcloud 24.0.11 Plugin version 1.0.9

DanielEdlich commented 1 year ago

Same issue in Nextcloud 26.0.0 I got the following error:

ReflectionException: Method OCA\Google\Controller\GoogleAPIController::registerSyncCalendar() does not exist
/var/www/html/lib/private/AppFramework/Utility/ControllerMethodReflector.php - line 51:

ReflectionMethod->__construct([ "OCA\\Goog ... "], "registerSyncCalendar")

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 127:

OC\AppFramework\Utility\ControllerMethodReflector->reflect([ "OCA\\Goog ... "], "registerSyncCalendar")

/var/www/html/lib/private/AppFramework/App.php - line 183:

OC\AppFramework\Http\Dispatcher->dispatch([ "OCA\\Goog ... "], "registerSyncCalendar")

/var/www/html/lib/private/Route/Router.php - line 315:

OC\AppFramework\App::main("OCA\\Google ... r", "registerSyncCalendar", [ "OC\\AppFr ... "], [ "google_sy ... "])

/var/www/html/lib/base.php - line 1055:

OC\Route\Router->match("/apps/googl ... r")

/var/www/html/index.php - line 36:

OC::handleRequest()
AzureInformatique commented 1 year ago

Same error for me with Google Google Synchronization 1.0.9 when I tried to Import a Calendar Nextcloud 26.0.1 MariaDB 10.6 PHP 8.2

Capture d’écran 2023-05-11 110448

Happyfeet01 commented 1 year ago

Same here.


/var/www/nextcloud/lib/private/AppFramework/Utility/ControllerMethodReflector.php - line 51:

ReflectionMethod->__construct()

/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 127:

OC\AppFramework\Utility\ControllerMethodReflector->reflect()

/var/www/nextcloud/lib/private/AppFramework/App.php - line 183:

OC\AppFramework\Http\Dispatcher->dispatch()

/var/www/nextcloud/lib/private/Route/Router.php - line 315:

OC\AppFramework\App::main()

/var/www/nextcloud/lib/base.php - line 1055:

OC\Route\Router->match()

/var/www/nextcloud/index.php - line 36:

OC::handleRequest()
haw-haw commented 1 year ago

same error

lroyb commented 1 year ago

If you get the javascript error. I also had this, but after a couple of hour, I finally today sorted it.

if you read the markdown file, it says that it is a fork of the 'google intergration' app. Most importantly it says that ' it should not be used as well as'. So, I disabled the google intergration app, leaving the google Synchronization app enabled. and it worked first try afterward.

SDS1337 commented 1 year ago

If you get the javascript error. I also had this, but after a couple of hour, I finally today sorted it.

if you read the markdown file, it says that it is a fork of the 'google intergration' app. Most importantly it says that ' it should not be used as well as'. So, I disabled the google intergration app, leaving the google Synchronization app enabled. and it worked first try afterward.

Oh my, after having given up on this for so long, such a simple fix 😅.

Disabling the other Google Integration app made this work. Makes sense how it would throw an error since its a fork.