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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Lots of things broken by recent updates

Scheduled Pinned Locked Moved Solved Roundcube
15 Posts 4 Posters 338 Views
    • 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.
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    wrote on last edited by jdaviescoates
    #1

    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

    jdaviescoatesJ girishG 2 Replies Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to jdaviescoates on last edited by jdaviescoates
    #0

    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

    necrevistonnezrN 1 Reply Last reply
    1
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to jdaviescoates on last edited by jdaviescoates
    #2

    @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
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to jdaviescoates on last edited by
    #3

    @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?

    jdaviescoatesJ 2 Replies Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to girish on last edited by
    #4

    @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

    nebulonN girishG 3 Replies Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to jdaviescoates on last edited by
    #5

    @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
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to jdaviescoates on last edited by
    #6

    @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 ?

    jdaviescoatesJ 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to jdaviescoates on last edited by
    #7

    @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 ?

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to girish on last edited by
    #8

    @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
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to girish on last edited by
    #9

    @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

    girishG 1 Reply Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to girish on last edited by
    #10

    @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
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to jdaviescoates on last edited by
    #11

    @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....

    jdaviescoatesJ 1 Reply Last reply
    1
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to girish on last edited by
    #12

    @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

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to jdaviescoates on last edited by jdaviescoates
    #13

    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

    necrevistonnezrN 1 Reply Last reply
    1
  • jdaviescoatesJ jdaviescoates marked this topic as a question on
  • jdaviescoatesJ jdaviescoates has marked this topic as solved on
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    replied to jdaviescoates on last edited by necrevistonnezr
    #14

    @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.

    jdaviescoatesJ 1 Reply Last reply
    3
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to necrevistonnezr on last edited by
    #15

    @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
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.