I am having some trouble with a Nextcloud server. I set up a digitalocean droplet to test contact syncing for work. I went with the setup that I use at home, which is Yunohost and Nextcloud. This was/is working fine to sync contacts with iOS using the built-in support for CardDav accounts in iOS.

I made a snapshot of the server and rebuilt it on a work account (also Digital ocean). I reconfigured it for a new domain name, and got a letsencrypt cert. I can login and manage the admin and user accounts.

I set up an iPad to use the new server, and it seemed to work fine. However, I subsequently tried a couple other iPhones, and it won’t connect to the account.

It isn’t a fail2ban thing, because on the same apple devices that I can’t connect to the accounts on, I can go login to Nextcloud in their browser.

What is happening?

Edit: I seem to have fixed it by reinstalling the server from scratch. I wanted to eliminate any problems that may have been caused by restoring from a snapshot previously linked to another domain. Everything is working at least for now.

  • themachine@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 months ago

    Error message? Nextcloud logs?

    Can’t tell you whats happening without information about what’s happening other than “it doesn’t work”.

    • electric_nan@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      5 months ago

      I am not seeing anything (relevant) in the Nextcloud logs (as viewed from the web app). In iOS I get a message about SSL verification failed, and do I want to try connecting without it. Either way it cannot validate credentials. I know the username and password are correct (tested multiple times/work to login in the browser), and the SSL cert is valid.

      Also /var/log/Nextcloud/ is empty. Where else should I look for logs?

        • electric_nan@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          I don’t think so. As I said, this server is a copy of one on another domain that is still working. Also, this new server was able to validate at least once.