baikal-docker icon indicating copy to clipboard operation
baikal-docker copied to clipboard

Unable to Share Calendar on iOS

Open blunweon opened this issue 1 year ago • 5 comments

Hey there,

I love your work for supporting a docker image of baikal.

Currently, I have it running via a Dockge LXC on my Proxmox server and I encountered this issue where I am unable to add people to my calendar through the iOS calendar app. I am able to add the CalDAV and CardDAV to my own iOS devices, but I am unable to add people to the calendars for viewing/editing.

This is my docker compose as per the template and some searching for the different arguments:

version: "2"
services:
  baikal:
    image: ckulka/baikal:nginx
    environment:
      MSMTPRC: |
        defaults
        port         "587"
        tls          "on"
        tls_starttls "on"
        account      "smtp2go"
        host         "mail.smtp2go.com"
        from         "<redacted>"
        auth         "on"
        user         "<redacted>"
        password     "<redacted>"
        account default : smtp2go
    restart: always
    ports:
      - 81:80
    volumes:
      - ./config:/var/www/baikal/config
      - ./Specific:/var/www/baikal/Specific
networks: {}

I hoped that this worked to send out emails or anything, but there seemed to not be any emails being sent out despite the configuration being somewhat correct(?).

This is the issue that spits out on the WebGUI which states <cs:invite-invalid> and <d:invite-invalid> for some reason (with particulars redacted): floorp_tqjdZHZBTR

I would love to be pointed in the right direction for getting this solved so I can add people to my calendars on iOS, though it might just be user-error.

blunweon avatar Jul 02 '24 02:07 blunweon

Hi @blunweon ,

Do you know if the email configuration works?

If you are unsure, you can

  1. Copy cypress/fixtures/mail-test.php I used for the tests into your container under /var/www/baikal/html
  2. Modify the email recipient to your own email address
  3. Invoke the PHP file and verify the email arrives
  4. Remove the test file again, so that others cannot spam you with emails from your own server

ckulka avatar Jul 08 '24 06:07 ckulka

Hey there, I'm not sure if I'm doing it correct but I tried to run the PHP file inside the Docker container but it just spits out the code again. image

I'm sorry if this is unclear or unhelpful.

blunweon avatar Jul 08 '24 17:07 blunweon

Hi,@ckulka an update, I have correctly managed to invoke the test PHP file and managed to receive an email from the test email to the recipient email.

I have also changed databases from SQLite to mySQL in a bid to perhaps hopefully fix things, however it is to no avail. I think the invite does not even get sent out as the name disappears after adding the contact to my calendar on iOS. I am unable to see it anymore in the example.com/dav.php/calendars/name/calendar under cs:invite or d:invite too. I am however able to add myself as a contact and it stays both in the iOS app as well as the online web admin view.

I have since, used the calendar subscription method in order to share my calendar with others albeit in the read-only form but I think not having to circumvent this issue would be best for everyone.

Example link for calendar subscription if anyone's curious while reading this:

https://<username>:<password>@<domain.com>/dav.php/calendars/<username>/<calendarName>/?export

blunweon avatar Jul 14 '24 05:07 blunweon

This issue looks inactive, I will close it in 7 days.

github-actions[bot] avatar Sep 15 '24 02:09 github-actions[bot]

Hi, I wonder if there's any updates on this issue?

Thank you once again for the amazing and easy way of deploying Baikal!

blunweon avatar Sep 15 '24 02:09 blunweon

This issue looks inactive, I will close it in 7 days.

github-actions[bot] avatar Nov 15 '24 02:11 github-actions[bot]

Hi @blunweon , sorry for the delay! If the email is sent out with the test file, then I'm afraid that it's most likely something with Baikal itself, I'd open an issue over at https://github.com/sabre-io/Baikal/issues.

Since the emails arrive in your inbox if they are sent from your container, I'd imagine Baikal doesn't even get to the point where the invitations are being sent, but errors out beforehand.

ckulka avatar Nov 17 '24 15:11 ckulka