ksainc / integration_ews

Nextcloud EWS Connector (Exchange Web Services)
GNU Affero General Public License v3.0
25 stars 2 forks source link

Exchange EWS connector app breaks occ command #32

Closed nindzaopet closed 9 months ago

nindzaopet commented 9 months ago

Describe the bug With integration_ews app updated to 1.0.29, I'm unable to execute occ command. For example, I needed to execute occ db:add-missing-indices and after executing command, I got error shown on the screenshot. After disabling EWS connector app and then again execute occ command, everything goes without any error but if I again enable EWS app and try occ command then there is the same error, I didn't got that kind of error with previous versions and sync worked in both ways. Screenshots

image

Additional context Also, the EWS app doesn't follow cron.php (every 5 min) update time (currently there is 30 min after I enabled app and synced with Save/Sync but there is no sync after that). I'm not sure if this has any connection with the problem above.

Nextcloud is at 28.0.1 version. PHP version 8.1.2

ksainc commented 9 months ago

Morning @nindzaopet

Looks like in my haste to patch a bug, I included the definition in the AppInfo.xml for a new CLI command I am working on without including the command, I will have a fix for this by tomorrow.

As for your other issue, can you start another ticket, I don't want to pollute the tickets with multiple unrelated issues.

Sebastian

satmd commented 9 months ago

For people stuck in versions before 1.0.30, please do this workaround and then upgrade the app:

Edit your apps/integration_ews/appinfo.xml to read the <commands>...</commands> block like this:

<commands>
  <command>OCA\EWS\Commands\Connect</command>
  <command>OCA\EWS\Commands\Disconnect</command>
  <command>OCA\EWS\Commands\Harmonize</command>
</commands>

Note the absence of OCA\EWS\Commands\Correlate!

ksainc commented 9 months ago

Hi @satmd

Thank you for the work around.

ksainc commented 9 months ago

The missing command is now included, in release 1.0.30.

nindzaopet commented 9 months ago

Thank you for the fast fix. I also really appreciate your work with this application.

ksainc commented 9 months ago

Morning!

I'm glad the fix worked! and I thank you very much for the kind words!

Sebastian