Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Unable to Share Calendar on iOS #207

Open
blunweon opened this issue Jul 2, 2024 · 7 comments
Open

Unable to Share Calendar on iOS #207

blunweon opened this issue Jul 2, 2024 · 7 comments
Assignees

Comments

@blunweon
Copy link

blunweon commented Jul 2, 2024

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.

@ckulka ckulka self-assigned this Jul 8, 2024
@ckulka
Copy link
Owner

ckulka commented Jul 8, 2024

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

@blunweon
Copy link
Author

blunweon commented Jul 8, 2024

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
Copy link
Author

blunweon commented Jul 14, 2024

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

Copy link

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

@github-actions github-actions bot added the Stale label Sep 15, 2024
@blunweon
Copy link
Author

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

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

@github-actions github-actions bot removed the Stale label Sep 16, 2024
Copy link

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

@github-actions github-actions bot added the Stale label Nov 15, 2024
@ckulka
Copy link
Owner

ckulka commented Nov 17, 2024

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.

@github-actions github-actions bot removed the Stale label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants