Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Lots of things broken by recent updates

    Roundcube
    4
    15
    265
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jdaviescoates
      jdaviescoates last edited by jdaviescoates

      I don't know if this is Roundcube's fault, or something to do with the Cloudron packaging, but now whenever I try to email anyone I get a server error as soon as I start typing in the to: field

      server_error.png

      I guess something has gone wrong with the CalDAV connection, but I've not changed anything, so not sure what to do about (but it's really annoying 😞 )

      Can't see anything in the logs about it.

      Also, whenever I login I get redirected to /?_task=login and this page gets displayed:

      Screenshot from 2022-08-09 13-48-52.png

      If I just remove the /?_task=login and hit enter it loads fine (and then has ?_task=mail&_mbox=INBOX at the end of the URL instead) - perhaps redirecting to /?_task=login after login is now deprecated or something? Is it roundcube doing that, or the Cloudron package?

      I so wish there was a good open source webmail client that just worked. All of them are abysmal 😞

      I use Cloudron with Gandi & Hetzner

      jdaviescoates girish 2 Replies Last reply Reply Quote 0
      • jdaviescoates
        jdaviescoates @jdaviescoates last edited by jdaviescoates

        OK, so updating the CardDAV plugin resolved both these issues.

        I installed the latest release from here:

        https://github.com/mstilkerich/rcmcarddav/releases/tag/v4.4.2

        And now things are working as they should again.

        I note it states there:

        Revert to a single release tarball. The new approach (compared to 4.4.1) to avoid the issue with conflicting
        dependencies between those coming with roundcube and those coming with the RCMCardDAV release tarball is to append the
        RCMCardDAV to the end of the autoloader list, so the roundcube dependencies are always tried first. This means if a
        library used by RCMCardDAV already comes with roundcube, RCMCardDAV will also use that version of the library. There
        is still possible problems left (i.e. package that only comes with roundcube might have a dependency for that an
        incompatible version is already included with roundcube). In the end, I don't think there is a clean solution to this
        issue. If you want to avoid this mess, don't use the release tarball but install using composer.

        I use Cloudron with Gandi & Hetzner

        necrevistonnezr 1 Reply Last reply Reply Quote 1
        • jdaviescoates
          jdaviescoates @jdaviescoates last edited by jdaviescoates

          @jdaviescoates said in Lots of things broken by recent updates:

          Also, whenever I login I get redirected to /?_task=login and this page gets displayed:

          I've just checked, and this doesn't happen with a fresh Cloudron Roundcube install, only with a Cloudron Roundcube that has been updated.

          @staff something obviously need fixing here.

          I guess I could just start using a whole new instance, but then I've got to go an install the CalDAV plugin again. But given it's not working properly anymore anyway...

          Sigh.

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @jdaviescoates last edited by

            @jdaviescoates said in Lots of things broken by recent updates:

            I guess something has gone wrong with the CalDAV connection, but I've not changed anything, so not sure what to do about (but it's really annoying )

            I use roundcube but I am not seeing these errors. Does disabling caldav connection make things work any better?

            jdaviescoates 2 Replies Last reply Reply Quote 0
            • jdaviescoates
              jdaviescoates @girish last edited by

              @girish said in Lots of things broken by recent updates:

              I use roundcube but I am not seeing these errors.

              Lucky you.

              @girish said in Lots of things broken by recent updates:

              oes disabling caldav connection make things work any better?

              Possibly, my other existing install which was updated doesn't appear to be suffering from this new login error thing, but the older one does it every single time.

              The Server Error warning is obviously something to do with the CalDAV stuff.

              But, surely you have CalDAV plugin in Roundcube too, no? How else do you access your contacts?

              I use Cloudron with Gandi & Hetzner

              nebulon girish 3 Replies Last reply Reply Quote 0
              • nebulon
                nebulon Staff @jdaviescoates last edited by

                @jdaviescoates do you have any more detailed logs and maybe a list of modifcations in the configs and plugins installed on this instance? It might appear that some of these are simply not compatible with the new upstream version anymore or could be regressions. I don't see any package changes besides adjusting the upstream version.

                1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @jdaviescoates last edited by

                  @jdaviescoates said in Lots of things broken by recent updates:

                  The Server Error warning is obviously something to do with the CalDAV stuff.

                  I probably missed something, why is this obvious? Atleast in the two screenshots you posted, there is nothing caldav related. Or is this because of the "to" field autocompletion ?

                  jdaviescoates 1 Reply Last reply Reply Quote 1
                  • girish
                    girish Staff @jdaviescoates last edited by

                    @jdaviescoates said in Lots of things broken by recent updates:

                    But, surely you have CalDAV plugin in Roundcube too, no? How else do you access your contacts?

                    I guess you mean the CardDav plugin at https://github.com/mstilkerich/rcmcarddav ? Or do you mean the CalDav plugin at https://github.com/scopen-coop/roundcube_caldav ?

                    jdaviescoates 1 Reply Last reply Reply Quote 0
                    • jdaviescoates
                      jdaviescoates @girish last edited by

                      @girish said in Lots of things broken by recent updates:

                      I probably missed something, why is this obvious? Atleast in the two screenshots you posted, there is nothing caldav related. Or is this because of the "to" field autocompletion ?

                      Yes, because it happens every single time I start typing in to the to: field.

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply Reply Quote 0
                      • jdaviescoates
                        jdaviescoates @girish last edited by

                        @girish said in Lots of things broken by recent updates:

                        I guess you mean the CardDav plugin at https://github.com/mstilkerich/rcmcarddav ? Or do you mean the CalDav plugin at https://github.com/scopen-coop/roundcube_caldav ?

                        I don't know. I presume the former just because it's at the top of https://packagist.org/?type=roundcube-plugin

                        Are you using a CalDAV plugin of some kind?

                        I use Cloudron with Gandi & Hetzner

                        girish 1 Reply Last reply Reply Quote 0
                        • jdaviescoates
                          jdaviescoates @girish last edited by

                          @girish said in Lots of things broken by recent updates:

                          Does disabling caldav connection make things work any better?

                          Turning off everything I could within the Roundcube UI didn't do anything. But temporarily renaming the carddav folder in my /app/data/plugins folder to something else did resolve the strange redirect to /?_task=login issue that was causing the big Ooops message.

                          So I guess the version of the CardDAV plugin I installed is no longer compatible with the latest version Roundcube.

                          /me now wonders how one is supposed to keep Roundcube plugins up to date...

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply Reply Quote 0
                          • girish
                            girish Staff @jdaviescoates last edited by

                            @jdaviescoates said in Lots of things broken by recent updates:

                            Are you using a CalDAV plugin of some kind?

                            I am not, no.

                            /me now wonders how one is supposed to keep Roundcube plugins up to date...

                            Yeah, plugins in these web apps are always a (dependency) mess 😞 I don't understand why basic functionality is shipped off to plugins....

                            jdaviescoates 1 Reply Last reply Reply Quote 1
                            • jdaviescoates
                              jdaviescoates @girish last edited by

                              @girish said in Lots of things broken by recent updates:

                              I am not, no.

                              How do you manage without? Where are all your contacts stored? 🙂

                              @girish said in Lots of things broken by recent updates:

                              Yeah, plugins in these web apps are always a (dependency) mess I don't understand why basic functionality is shipped off to plugins....

                              It doesn't help that here on Cloudron we can't install them they way we're supposed to install them. I guess there is no way we can move composer.json out of readonly and still make updates work properly?

                              I use Cloudron with Gandi & Hetzner

                              jdaviescoates 1 Reply Last reply Reply Quote 0
                              • jdaviescoates
                                jdaviescoates @jdaviescoates last edited by jdaviescoates

                                OK, so updating the CardDAV plugin resolved both these issues.

                                I installed the latest release from here:

                                https://github.com/mstilkerich/rcmcarddav/releases/tag/v4.4.2

                                And now things are working as they should again.

                                I note it states there:

                                Revert to a single release tarball. The new approach (compared to 4.4.1) to avoid the issue with conflicting
                                dependencies between those coming with roundcube and those coming with the RCMCardDAV release tarball is to append the
                                RCMCardDAV to the end of the autoloader list, so the roundcube dependencies are always tried first. This means if a
                                library used by RCMCardDAV already comes with roundcube, RCMCardDAV will also use that version of the library. There
                                is still possible problems left (i.e. package that only comes with roundcube might have a dependency for that an
                                incompatible version is already included with roundcube). In the end, I don't think there is a clean solution to this
                                issue. If you want to avoid this mess, don't use the release tarball but install using composer.

                                I use Cloudron with Gandi & Hetzner

                                necrevistonnezr 1 Reply Last reply Reply Quote 1
                                • Topic has been marked as a question  jdaviescoates jdaviescoates 
                                • Topic has been marked as solved  jdaviescoates jdaviescoates 
                                • necrevistonnezr
                                  necrevistonnezr @jdaviescoates last edited by necrevistonnezr

                                  @jdaviescoates

                                  CALdav = calendar protocol
                                  CARDdav = contacts protocol

                                  I keep my very few plugins updated as follows: I git pulled them all

                                  Then in the /data/ folder, I keep a bash script „gitup.sh“ with.

                                  #!/bin/bash
                                  cd plugins/
                                  ls | xargs -I{} git -C {} pull
                                  cd ..
                                  chown -R www-data:www-data plugins/
                                  

                                  I run this manually from time to time from the cloudron terminal panel via

                                  sh ../gitup.sh
                                  

                                  I never tried to run this via cron - might work as well.

                                  jdaviescoates 1 Reply Last reply Reply Quote 3
                                  • jdaviescoates
                                    jdaviescoates @necrevistonnezr last edited by

                                    @necrevistonnezr said in Lots of things broken by recent updates:

                                    CALdav = calendar protocol
                                    CARDdav = contacts protocol

                                    Yep, I kept writing CalDAV when I meant CardDAV - doh! 🤦

                                    I use Cloudron with Gandi & Hetzner

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Powered by NodeBB