Lots of things broken by recent updates
-
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
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: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
-
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. -
@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.
-
@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?
-
@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?
-
@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.
-
@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 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 ?
-
@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.
-
@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?
-
@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...
-
@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....
-
@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?
-
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. -
-
-
CALdav = calendar protocol
CARDdav = contacts protocolI 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.
-
@necrevistonnezr said in Lots of things broken by recent updates:
CALdav = calendar protocol
CARDdav = contacts protocolYep, I kept writing CalDAV when I meant CardDAV - doh!